|
TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
|
Data structure to hold the command for a team. More...
#include "team_command.hpp"
Public Member Functions | |
| TeamCommand (TeamsFormation teams_formation=TeamsFormation::THREE_ROBOTS_PER_TEAM) | |
| Construct a new Team Command object. More... | |
Public Attributes | |
| uint8_t | robots_per_team |
| Public attributes. More... | |
| std::vector< RobotCommand > | robot_command |
Friends | |
| std::ostream & | operator<< (std::ostream &output, const TeamCommand &command) |
| Output stream operator overloading. More... | |
Data structure to hold the command for a team.
Definition at line 52 of file team_command.hpp.
| travesim::TeamCommand::TeamCommand | ( | TeamsFormation | teams_formation = TeamsFormation::THREE_ROBOTS_PER_TEAM | ) |
Construct a new Team Command object.
| teams_formation | Number of robots per team, default is 3 |
Definition at line 37 of file team_command.cpp.
References robot_command, and robots_per_team.
|
friend |
| std::vector<RobotCommand> travesim::TeamCommand::robot_command |
Definition at line 73 of file team_command.hpp.
| uint8_t travesim::TeamCommand::robots_per_team |
Public attributes.
Definition at line 71 of file team_command.hpp.