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

#include <command_sender.h>

Inheritance diagram for rm_common::CameraSwitchCommandSender:
Collaboration diagram for rm_common::CameraSwitchCommandSender:

Public Member Functions

 CameraSwitchCommandSender (ros::NodeHandle &nh)
 
void switchCameraLeft ()
 
void switchCameraRight ()
 
void sendCommand (const ros::Time &time) override
 
void setZero () override
 
- Public Member Functions inherited from rm_common::CommandSenderBase< std_msgs::String >
 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)
 
std_msgs::String * getMsg ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CameraSwitchCommandSender()

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

Member Function Documentation

◆ sendCommand()

void rm_common::CameraSwitchCommandSender::sendCommand ( const ros::Time & time)
inlineoverridevirtual

◆ setZero()

void rm_common::CameraSwitchCommandSender::setZero ( )
inlineoverridevirtual

◆ switchCameraLeft()

void rm_common::CameraSwitchCommandSender::switchCameraLeft ( )
inline

◆ switchCameraRight()

void rm_common::CameraSwitchCommandSender::switchCameraRight ( )
inline

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