rm_control
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rm_common::MultiDofCommandSender Class Reference

#include <command_sender.h>

Inheritance diagram for rm_common::MultiDofCommandSender:
Collaboration diagram for rm_common::MultiDofCommandSender:

Public Member Functions

 MultiDofCommandSender (ros::NodeHandle &nh)
 
 ~MultiDofCommandSender ()=default
 
void setMode (int mode)
 
int getMode ()
 
void setGroupValue (double linear_x, double linear_y, double linear_z, double angular_x, double angular_y, double angular_z)
 
void setZero () override
 
- Public Member Functions inherited from rm_common::TimeStampCommandSenderBase< rm_msgs::MultiDofCmd >
 TimeStampCommandSenderBase (ros::NodeHandle &nh)
 
void sendCommand (const ros::Time &time) override
 
- Public Member Functions inherited from rm_common::CommandSenderBase< rm_msgs::MultiDofCmd >
 CommandSenderBase (ros::NodeHandle &nh)
 
void setMode (int mode)
 
virtual void updateGameRobotStatus (const rm_msgs::GameRobotStatus data)
 
virtual void updateGameStatus (const rm_msgs::GameStatus data)
 
virtual void updateCapacityData (const rm_msgs::PowerManagementSampleAndStatusData data)
 
virtual void updatePowerHeatData (const rm_msgs::PowerHeatData data)
 
rm_msgs::MultiDofCmd * getMsg ()
 

Additional Inherited Members

- Protected Attributes inherited from rm_common::CommandSenderBase< rm_msgs::MultiDofCmd >
std::string topic_
 
uint32_t queue_size_
 
ros::Publisher pub_
 
rm_msgs::MultiDofCmd msg_
 

Constructor & Destructor Documentation

◆ MultiDofCommandSender()

rm_common::MultiDofCommandSender::MultiDofCommandSender ( ros::NodeHandle & nh)
inlineexplicit

◆ ~MultiDofCommandSender()

rm_common::MultiDofCommandSender::~MultiDofCommandSender ( )
default

Member Function Documentation

◆ getMode()

int rm_common::MultiDofCommandSender::getMode ( )
inline

◆ setGroupValue()

void rm_common::MultiDofCommandSender::setGroupValue ( double linear_x,
double linear_y,
double linear_z,
double angular_x,
double angular_y,
double angular_z )
inline

◆ setMode()

void rm_common::MultiDofCommandSender::setMode ( int mode)
inline

◆ setZero()

void rm_common::MultiDofCommandSender::setZero ( )
inlineoverridevirtual

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