TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Data structure to hold the command for a robot. More...
#include "team_command.hpp"
Public Member Functions | |
RobotCommand (double left_speed=0, double right_speed=0) | |
Construct a new Robot Command object. More... | |
Public Attributes | |
double | left_speed |
Public attributes. More... | |
double | right_speed |
Friends | |
std::ostream & | operator<< (std::ostream &output, const RobotCommand &command) |
Output stream operator overloading. More... | |
Data structure to hold the command for a robot.
Definition at line 24 of file team_command.hpp.
travesim::RobotCommand::RobotCommand | ( | double | left_speed = 0 , |
double | right_speed = 0 |
||
) |
Construct a new Robot Command object.
left_speed | Command left speed |
right_speed | Command right speed |
Definition at line 19 of file team_command.cpp.
References left_speed, and right_speed.
|
friend |
Output stream operator overloading.
Definition at line 24 of file team_command.cpp.
double travesim::RobotCommand::left_speed |
Public attributes.
Definition at line 44 of file team_command.hpp.
double travesim::RobotCommand::right_speed |
Definition at line 45 of file team_command.hpp.