Public Member Functions | Private Attributes | List of all members
combined_robot_hw_tests::MyRobotHW2 Class Reference

#include <my_robot_hw_2.h>

Inheritance diagram for combined_robot_hw_tests::MyRobotHW2:
Inheritance graph
[legend]

Public Member Functions

virtual void doSwitch (const std::list< hardware_interface::ControllerInfo > &start_list, const std::list< hardware_interface::ControllerInfo > &stop_list)
 
virtual bool init (ros::NodeHandle &root_nh, ros::NodeHandle &robot_hw_nh)
 
 MyRobotHW2 ()
 
virtual bool prepareSwitch (const std::list< hardware_interface::ControllerInfo > &start_list, const std::list< hardware_interface::ControllerInfo > &stop_list)
 
void read (const ros::Time &time, const ros::Duration &period)
 
void write (const ros::Time &time, const ros::Duration &period)
 
virtual ~MyRobotHW2 ()
 
- Public Member Functions inherited from hardware_interface::RobotHW
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
virtual bool checkForConflict (const std::list< ControllerInfo > &info) const
 
 RobotHW ()
 
virtual ~RobotHW ()
 
- Public Member Functions inherited from hardware_interface::InterfaceManager
T * get ()
 
std::vector< std::string > getInterfaceResources (std::string iface_type) const
 
std::vector< std::string > getNames () const
 
void registerInterface (T *iface)
 
void registerInterfaceManager (InterfaceManager *iface_man)
 

Private Attributes

hardware_interface::EffortJointInterface ej_interface_
 
std::vector< double > joint_effort_
 
std::vector< double > joint_effort_command_
 
std::vector< std::string > joint_name_
 
std::vector< double > joint_position_
 
std::vector< double > joint_velocity_
 
std::vector< double > joint_velocity_command_
 
hardware_interface::JointStateInterface js_interface_
 
hardware_interface::VelocityJointInterface vj_interface_
 

Additional Inherited Members

- Protected Types inherited from hardware_interface::InterfaceManager
typedef std::vector< InterfaceManager * > InterfaceManagerVector
 
typedef std::map< std::string, void * > InterfaceMap
 
typedef std::map< std::string, std::vector< std::string > > ResourceMap
 
typedef std::map< std::string, size_t > SizeMap
 
- Protected Attributes inherited from hardware_interface::InterfaceManager
boost::ptr_vector< ResourceManagerBaseinterface_destruction_list_
 
InterfaceManagerVector interface_managers_
 
InterfaceMap interfaces_
 
InterfaceMap interfaces_combo_
 
SizeMap num_ifaces_registered_
 
ResourceMap resources_
 

Detailed Description

Definition at line 40 of file my_robot_hw_2.h.

Constructor & Destructor Documentation

combined_robot_hw_tests::MyRobotHW2::MyRobotHW2 ( )

Definition at line 35 of file my_robot_hw_2.cpp.

virtual combined_robot_hw_tests::MyRobotHW2::~MyRobotHW2 ( )
inlinevirtual

Definition at line 44 of file my_robot_hw_2.h.

Member Function Documentation

void combined_robot_hw_tests::MyRobotHW2::doSwitch ( const std::list< hardware_interface::ControllerInfo > &  start_list,
const std::list< hardware_interface::ControllerInfo > &  stop_list 
)
virtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 121 of file my_robot_hw_2.cpp.

bool combined_robot_hw_tests::MyRobotHW2::init ( ros::NodeHandle root_nh,
ros::NodeHandle robot_hw_nh 
)
virtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 39 of file my_robot_hw_2.cpp.

bool combined_robot_hw_tests::MyRobotHW2::prepareSwitch ( const std::list< hardware_interface::ControllerInfo > &  start_list,
const std::list< hardware_interface::ControllerInfo > &  stop_list 
)
virtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 86 of file my_robot_hw_2.cpp.

void combined_robot_hw_tests::MyRobotHW2::read ( const ros::Time time,
const ros::Duration period 
)
virtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 77 of file my_robot_hw_2.cpp.

void combined_robot_hw_tests::MyRobotHW2::write ( const ros::Time time,
const ros::Duration period 
)
virtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 82 of file my_robot_hw_2.cpp.

Member Data Documentation

hardware_interface::EffortJointInterface combined_robot_hw_tests::MyRobotHW2::ej_interface_
private

Definition at line 57 of file my_robot_hw_2.h.

std::vector<double> combined_robot_hw_tests::MyRobotHW2::joint_effort_
private

Definition at line 64 of file my_robot_hw_2.h.

std::vector<double> combined_robot_hw_tests::MyRobotHW2::joint_effort_command_
private

Definition at line 60 of file my_robot_hw_2.h.

std::vector<std::string> combined_robot_hw_tests::MyRobotHW2::joint_name_
private

Definition at line 65 of file my_robot_hw_2.h.

std::vector<double> combined_robot_hw_tests::MyRobotHW2::joint_position_
private

Definition at line 62 of file my_robot_hw_2.h.

std::vector<double> combined_robot_hw_tests::MyRobotHW2::joint_velocity_
private

Definition at line 63 of file my_robot_hw_2.h.

std::vector<double> combined_robot_hw_tests::MyRobotHW2::joint_velocity_command_
private

Definition at line 61 of file my_robot_hw_2.h.

hardware_interface::JointStateInterface combined_robot_hw_tests::MyRobotHW2::js_interface_
private

Definition at line 56 of file my_robot_hw_2.h.

hardware_interface::VelocityJointInterface combined_robot_hw_tests::MyRobotHW2::vj_interface_
private

Definition at line 58 of file my_robot_hw_2.h.


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


combined_robot_hw_tests
Author(s): Toni Oliver
autogenerated on Fri Jun 7 2019 22:00:11