Public Member Functions | Private Attributes | List of all members
qb_device_joint_limits_interface::PositionJointSaturationHandle Class Reference

A handle used to enforce position and velocity limits of a position-controlled joint that does not have soft limits. More...

#include <qb_device_joint_limits_interface.h>

Public Member Functions

void enforceLimits (const ros::Duration &period)
 Enforce position and velocity limits for a joint that is not subject to soft limits. More...
 
std::string getName () const
 
 PositionJointSaturationHandle (const hardware_interface::JointHandle &joint_handle, joint_limits_interface::JointLimits *limits)
 Construct the saturation handle with dynamic joint limits. More...
 
void reset ()
 Reset the interface state. More...
 

Private Attributes

double command_old_
 
hardware_interface::JointHandle joint_handle_
 
joint_limits_interface::JointLimitslimits_
 

Detailed Description

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

Note
: The only difference from joint_limits_interface::PositionJointSaturationHandle is that this exploit a dynamical management of the joint limits, i.e. the limits can be modified at runtime by others.

Definition at line 37 of file qb_device_joint_limits_interface.h.

Constructor & Destructor Documentation

qb_device_joint_limits_interface::PositionJointSaturationHandle::PositionJointSaturationHandle ( const hardware_interface::JointHandle joint_handle,
joint_limits_interface::JointLimits limits 
)
inline

Construct the saturation handle with dynamic joint limits.

Parameters
joint_handleThe joint handle of interest.
limitsThe pointer to the joint limits structure of the joint.

Definition at line 44 of file qb_device_joint_limits_interface.h.

Member Function Documentation

void qb_device_joint_limits_interface::PositionJointSaturationHandle::enforceLimits ( const ros::Duration period)
inline

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

Note
: Be aware of dynamic joint limits.
Parameters
periodThe control period.

Definition at line 59 of file qb_device_joint_limits_interface.h.

std::string qb_device_joint_limits_interface::PositionJointSaturationHandle::getName ( ) const
inline
Returns
The joint name.

Definition at line 84 of file qb_device_joint_limits_interface.h.

void qb_device_joint_limits_interface::PositionJointSaturationHandle::reset ( )
inline

Reset the interface state.

Definition at line 89 of file qb_device_joint_limits_interface.h.

Member Data Documentation

double qb_device_joint_limits_interface::PositionJointSaturationHandle::command_old_
private

Definition at line 94 of file qb_device_joint_limits_interface.h.

hardware_interface::JointHandle qb_device_joint_limits_interface::PositionJointSaturationHandle::joint_handle_
private

Definition at line 92 of file qb_device_joint_limits_interface.h.

joint_limits_interface::JointLimits* qb_device_joint_limits_interface::PositionJointSaturationHandle::limits_
private

Definition at line 93 of file qb_device_joint_limits_interface.h.


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


qb_device_hardware_interface
Author(s): qbroboticsĀ®
autogenerated on Thu Jun 6 2019 19:46:29