Limit Twist#
#include "navground/core/behavior_modulations/limit_twist.h"
A simple modulation that clips the twist command.
Registered properties:
forward (see get_max_forward_speed)
backward (see get_max_backward_speed)
leftward (see get_max_leftward_speed)
rightward (see get_max_rightward_speed)
angular (see get_max_angular_speed)
Public Functions
Construct a new instance.
- Parameters:
forward – [in] The maximal forward speed
backward – [in] The maximal backward speed
leftward – [in] The maximal leftward speed
rightward – [in] The maximal rightward speed
angular – [in] The maximal angular speed
Gets the maximal forward speed.
- Returns:
A positive number
Sets the maximal forward speed.
- Parameters:
value – [in] If lower than zero or infinite, clipping is effectively disabled.
Gets the maximal backward speed.
- Returns:
A positive number
Sets the maximal backward speed.
- Parameters:
value – [in] If lower than zero or infinite, clipping is effectively disabled.
Gets the maximal leftward speed.
- Returns:
A positive number
Sets the maximal leftward speed.
- Parameters:
value – [in] If lower than zero or infinite, clipping is effectively disabled.
Gets the maximal rightward speed.
- Returns:
A positive number
Sets the maximal rightward speed.
- Parameters:
value – [in] If lower than zero or infinite, clipping is effectively disabled.
Gets the maximal angular speed.
- Returns:
A positive number
Sets the maximal angular speed.
- Parameters:
value – [in] If lower than zero or infinite, clipping is effectively disabled.