Public Member Functions | List of all members
HardwareInterfaceAdapter< HardwareInterface, State > Class Template Reference

Helper class to simplify integrating the JointTrajectoryController with different hardware interfaces. More...

#include <hardware_interface_adapter.h>

Public Member Functions

bool init (std::vector< typename HardwareInterface::ResourceHandleType > &, ros::NodeHandle &)
 
void starting (const ros::Time &)
 
void stopping (const ros::Time &)
 
void updateCommand (const ros::Time &, const ros::Duration &, const State &, const State &)
 

Detailed Description

template<class HardwareInterface, class State>
class HardwareInterfaceAdapter< HardwareInterface, State >

Helper class to simplify integrating the JointTrajectoryController with different hardware interfaces.

Author
Adolfo Rodriguez Tsouroukdissian The JointTrajectoryController outputs position, velocity and acceleration command triplets, while the more common hardware interfaces accept position, velocity or effort commands.

Use one of the available template specializations of this class (or create your own) to adapt the JointTrajectoryController to a specidfic hardware interface.

Definition at line 57 of file hardware_interface_adapter.h.

Member Function Documentation

template<class HardwareInterface, class State>
bool HardwareInterfaceAdapter< HardwareInterface, State >::init ( std::vector< typename HardwareInterface::ResourceHandleType > &  ,
ros::NodeHandle  
)
inline

Definition at line 60 of file hardware_interface_adapter.h.

template<class HardwareInterface, class State>
void HardwareInterfaceAdapter< HardwareInterface, State >::starting ( const ros::Time )
inline

Definition at line 65 of file hardware_interface_adapter.h.

template<class HardwareInterface, class State>
void HardwareInterfaceAdapter< HardwareInterface, State >::stopping ( const ros::Time )
inline

Definition at line 66 of file hardware_interface_adapter.h.

template<class HardwareInterface, class State>
void HardwareInterfaceAdapter< HardwareInterface, State >::updateCommand ( const ros::Time ,
const ros::Duration ,
const State &  ,
const State &   
)
inline

Definition at line 68 of file hardware_interface_adapter.h.


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


joint_trajectory_controller
Author(s): Adolfo Rodriguez Tsouroukdissian
autogenerated on Thu Apr 11 2019 03:08:37