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

#include <my_robot_hw_3.h>

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

Public Member Functions

bool init (ros::NodeHandle &root_nh, ros::NodeHandle &robot_hw_nh) override
 
void read (const ros::Time &time, const ros::Duration &period) override
 
void write (const ros::Time &time, const ros::Duration &period) override
 
- 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
 
virtual void doSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual SwitchState switchResult () const
 
virtual SwitchState switchResult (const ControllerInfo &) const
 
virtual ~RobotHW ()=default
 
- 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

- Public Types inherited from hardware_interface::RobotHW
enum  SwitchState { SwitchState::DONE, SwitchState::ONGOING, SwitchState::ERROR }
 
- 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
std::vector< ResourceManagerBase * > interface_destruction_list_
 
InterfaceManagerVector interface_managers_
 
InterfaceMap interfaces_
 
InterfaceMap interfaces_combo_
 
SizeMap num_ifaces_registered_
 
ResourceMap resources_
 

Detailed Description

Definition at line 38 of file my_robot_hw_3.h.

Member Function Documentation

◆ init()

bool combined_robot_hw_tests::MyRobotHW3::init ( ros::NodeHandle root_nh,
ros::NodeHandle robot_hw_nh 
)
overridevirtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 34 of file my_robot_hw_3.cpp.

◆ read()

void combined_robot_hw_tests::MyRobotHW3::read ( const ros::Time time,
const ros::Duration period 
)
overridevirtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 78 of file my_robot_hw_3.cpp.

◆ write()

void combined_robot_hw_tests::MyRobotHW3::write ( const ros::Time time,
const ros::Duration period 
)
overridevirtual

Reimplemented from hardware_interface::RobotHW.

Definition at line 83 of file my_robot_hw_3.cpp.

Member Data Documentation

◆ ej_interface_

hardware_interface::EffortJointInterface combined_robot_hw_tests::MyRobotHW3::ej_interface_
private

Definition at line 49 of file my_robot_hw_3.h.

◆ joint_effort_

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

Definition at line 56 of file my_robot_hw_3.h.

◆ joint_effort_command_

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

Definition at line 52 of file my_robot_hw_3.h.

◆ joint_name_

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

Definition at line 57 of file my_robot_hw_3.h.

◆ joint_position_

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

Definition at line 54 of file my_robot_hw_3.h.

◆ joint_velocity_

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

Definition at line 55 of file my_robot_hw_3.h.

◆ joint_velocity_command_

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

Definition at line 53 of file my_robot_hw_3.h.

◆ js_interface_

hardware_interface::JointStateInterface combined_robot_hw_tests::MyRobotHW3::js_interface_
private

Definition at line 48 of file my_robot_hw_3.h.

◆ vj_interface_

hardware_interface::VelocityJointInterface combined_robot_hw_tests::MyRobotHW3::vj_interface_
private

Definition at line 50 of file my_robot_hw_3.h.


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


combined_robot_hw_tests
Author(s): Toni Oliver
autogenerated on Tue Oct 15 2024 02:08:26