Public Member Functions | Static Public Attributes | Private Attributes | List of all members
SimpleBot Class Reference
Inheritance diagram for SimpleBot:
Inheritance graph
[legend]

Public Member Functions

void read ()
 
 SimpleBot ()
 
void write ()
 
- 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 init (ros::NodeHandle &, ros::NodeHandle &)
 
virtual bool prepareSwitch (const std::list< ControllerInfo > &, const std::list< ControllerInfo > &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual void read (const ros::Time &, const ros::Duration &)
 
virtual SwitchState switchResult (const ControllerInfo &) const
 
virtual SwitchState switchResult () const
 
virtual void write (const ros::Time &, const ros::Duration &)
 
virtual void write (const ros::Time &, const ros::Duration &)
 
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)
 

Static Public Attributes

static constexpr double period = 0.01
 

Private Attributes

double cmd_
 
double eff_
 
hardware_interface::EffortJointInterface effort_interface_
 
double max_eff_
 
double pos_
 
hardware_interface::JointStateInterface state_interface_
 
double vel_
 

Additional Inherited Members

- Public Types inherited from hardware_interface::RobotHW
enum  SwitchState
 
- Public Attributes inherited from hardware_interface::RobotHW
 DONE
 
 ERROR
 
 ONGOING
 
- 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 52 of file simple_bot_hw.cpp.

Constructor & Destructor Documentation

◆ SimpleBot()

SimpleBot::SimpleBot ( )
inline

Definition at line 57 of file simple_bot_hw.cpp.

Member Function Documentation

◆ read()

void SimpleBot::read ( )
inline

Definition at line 74 of file simple_bot_hw.cpp.

◆ write()

void SimpleBot::write ( )
inline

Definition at line 80 of file simple_bot_hw.cpp.

Member Data Documentation

◆ cmd_

double SimpleBot::cmd_
private

Definition at line 92 of file simple_bot_hw.cpp.

◆ eff_

double SimpleBot::eff_
private

Definition at line 92 of file simple_bot_hw.cpp.

◆ effort_interface_

hardware_interface::EffortJointInterface SimpleBot::effort_interface_
private

Definition at line 91 of file simple_bot_hw.cpp.

◆ max_eff_

double SimpleBot::max_eff_
private

Definition at line 93 of file simple_bot_hw.cpp.

◆ period

constexpr double SimpleBot::period = 0.01
static

Definition at line 55 of file simple_bot_hw.cpp.

◆ pos_

double SimpleBot::pos_
private

Definition at line 92 of file simple_bot_hw.cpp.

◆ state_interface_

hardware_interface::JointStateInterface SimpleBot::state_interface_
private

Definition at line 90 of file simple_bot_hw.cpp.

◆ vel_

double SimpleBot::vel_
private

Definition at line 92 of file simple_bot_hw.cpp.


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


effort_controllers
Author(s): Vijay Pradeep
autogenerated on Fri Feb 3 2023 03:19:08