|
| bool | on_init () override |
| | Initialize the limiter's internal states and libraries.
|
| bool | on_enforce (const JointControlInterfacesData &actual, JointControlInterfacesData &desired, const rclcpp::Duration &dt) override |
| | Enforce joint limits for multiple dependent physical quantities.
|
|
bool | has_soft_position_limits (const joint_limits::SoftJointLimits &soft_joint_limits) |
|
bool | has_soft_limits (const joint_limits::SoftJointLimits &soft_joint_limits) |
|
bool | on_enforce (const trajectory_msgs::msg::JointTrajectoryPoint ¤t_joint_states, trajectory_msgs::msg::JointTrajectoryPoint &desired_joint_states, const rclcpp::Duration &dt) |
|
| JointSaturationLimiter () |
| | Constructor.
|
|
virtual | ~JointSaturationLimiter () |
| | Destructor.
|
| bool | on_configure (const JointControlInterfacesData ¤t_joint_states) override |
| | Configure the limiter's internal states and libraries.
|
| void | reset_internals () override |
| | Reset internal states of the limiter.
|
| virtual bool | init (const std::vector< std::string > &joint_names, const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr ¶m_itf, const rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr &logging_itf, const std::string &robot_description_topic="/robot_description") |
| | Initialize every JointLimiter.
|
|
virtual bool | configure (const JointControlInterfacesData ¤t_joint_states) |
| virtual bool | enforce (const JointControlInterfacesData ¤t_joint_states, JointControlInterfacesData &desired_joint_states, const rclcpp::Duration &dt) |
| | Enforce joint limits to desired joint state for multiple physical quantities.
|
◆ on_enforce()
Enforce joint limits for multiple dependent physical quantities.
Filter-specific implementation of the joint limits enforce algorithm for multiple dependent physical quantities.
- Parameters
-
| [in] | current_joint_states | current joint states a robot is in. |
| [in,out] | desired_joint_states | joint state that should be adjusted to obey the limits. |
| [in] | dt | time delta to calculate missing integrals and derivation in joint limits. |
- Returns
- true if limits are enforced, otherwise false.
- Note
- : We use the previous command position to compute the velocity limits here because using the actual position would be too conservative, usually there is a couple of cycles of delay between the command sent to the robot and the robot actually showing that in the state. That effectively limits the velocity with which the joint can be moved which is much lower than the actual velocity limit.
Reimplemented from joint_limits::JointSaturationLimiter< JointControlInterfacesData >.
◆ on_init()
| bool joint_limits::JointSoftLimiter::on_init |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- ros2_control/joint_limits/include/joint_limits/joint_soft_limiter.hpp
- ros2_control/joint_limits/src/joint_soft_limiter.cpp