CommandGuard Class Reference

lbr_fri_ros2: lbr_fri_ros2::CommandGuard Class Reference
lbr_fri_ros2
Inheritance diagram for lbr_fri_ros2::CommandGuard:
[legend]
Collaboration diagram for lbr_fri_ros2::CommandGuard:
[legend]

Public Member Functions

 CommandGuard (const CommandGuardParameters &command_guard_parameters)
 
virtual bool is_valid_command (const_idl_command_t_ref lbr_command, const_idl_state_t_ref lbr_state)
 
void log_info () const
 

Protected Member Functions

virtual bool command_in_position_limits_ (const_idl_command_t_ref lbr_command, const_idl_state_t_ref) const
 
virtual bool command_in_velocity_limits_ (const_idl_state_t_ref lbr_state)
 
virtual bool command_in_torque_limits_ (const_idl_command_t_ref lbr_command, const_idl_state_t_ref lbr_state) const
 

Protected Attributes

CommandGuardParameters parameters_
 
bool prev_measured_joint_position_init_
 
jnt_array_t prev_measured_joint_position_
 

Static Protected Attributes

static constexpr char LOGGER_NAME [] = "lbr_fri_ros2::CommandGuard"
 

The documentation for this class was generated from the following files:
  • lbr_fri_ros2_stack/lbr_fri_ros2/include/lbr_fri_ros2/guards/command_guard.hpp
  • lbr_fri_ros2_stack/lbr_fri_ros2/src/guards/command_guard.cpp