ros2_control - humble
Loading...
Searching...
No Matches
Public Member Functions | List of all members
joint_limits_interface::EffortJointSaturationHandle Class Reference

#include <joint_limits_interface.hpp>

Inheritance diagram for joint_limits_interface::EffortJointSaturationHandle:
Inheritance graph
[legend]
Collaboration diagram for joint_limits_interface::EffortJointSaturationHandle:
Collaboration graph
[legend]

Public Member Functions

 EffortJointSaturationHandle (const hardware_interface::JointHandle &jposh, const hardware_interface::JointHandle &jvelh, const hardware_interface::JointHandle &jcmdh, const joint_limits_interface::JointLimits &limits)
 
 EffortJointSaturationHandle (const hardware_interface::JointHandle &jposh, const hardware_interface::JointHandle &jcmdh, const joint_limits_interface::JointLimits &limits)
 
void enforce_limits (const rclcpp::Duration &period) override
 
- Public Member Functions inherited from joint_limits_interface::JointLimitHandle
 JointLimitHandle (const hardware_interface::JointHandle &jposh, const hardware_interface::JointHandle &jcmdh, const JointLimits &limits)
 
 JointLimitHandle (const hardware_interface::JointHandle &jposh, const hardware_interface::JointHandle &jvelh, const hardware_interface::JointHandle &jcmdh, const JointLimits &limits)
 
std::string get_name () const
 
virtual void reset ()
 Clear stored state, causing it to reset next iteration.
 

Additional Inherited Members

- Protected Member Functions inherited from joint_limits_interface::JointLimitHandle
double get_velocity (const rclcpp::Duration &period) const
 Return velocity for limit calculations.
 
- Protected Attributes inherited from joint_limits_interface::JointLimitHandle
hardware_interface::JointHandle jposh_
 
hardware_interface::JointHandle jvelh_
 
hardware_interface::JointHandle jcmdh_
 
joint_limits_interface::JointLimits limits_
 
double prev_pos_
 
double prev_vel_
 

Detailed Description

A handle used to enforce position, velocity, and effort limits of an effort-controlled joint that does not have soft limits.

Member Function Documentation

◆ enforce_limits()

void joint_limits_interface::EffortJointSaturationHandle::enforce_limits ( const rclcpp::Duration &  period)
inlineoverridevirtual

Enforce position, velocity, and effort limits for a joint that is not subject to soft limits.

Parameters
[in]periodControl period.

Implements joint_limits_interface::JointLimitHandle.


The documentation for this class was generated from the following file: