BaseCommandInterface Class Reference

lbr_fri_ros2: lbr_fri_ros2::BaseCommandInterface Class Reference
lbr_fri_ros2
lbr_fri_ros2::BaseCommandInterface Class Referenceabstract
Inheritance diagram for lbr_fri_ros2::BaseCommandInterface:
[legend]
Collaboration diagram for lbr_fri_ros2::BaseCommandInterface:
[legend]

Public Member Functions

 BaseCommandInterface (const double &joint_position_tau, const CommandGuardParameters &command_guard_parameters, const std::string &command_guard_variant="default")
 
virtual void buffered_command_to_fri (fri_command_t_ref command, const_idl_state_t_ref state)=0
 
void buffer_command_target (const_idl_command_t_ref command)
 
void init_command (const_idl_state_t_ref state)
 
idl_command_t get_command () const
 
void log_info () const
 

Protected Member Functions

virtual std::string LOGGER_NAME () const =0
 
void neutralize_command_ (const_idl_state_t_ref state, idl_command_t_ref command)
 

Protected Attributes

std::mutex command_mutex_
 
bool command_initialized_
 
std::unique_ptr< CommandGuardcommand_guard_
 
ExponentialFilterArray< N_JNTS > joint_position_filter_
 
idl_command_t command_
 
idl_command_t command_target_
 

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