SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
|
#include <CommandManagement.hh>
Public Member Functions | |
SpecialCommand (int commandtype, string modelname1, string modelname2, int node1, int node2) | |
Constructor. More... | |
SpecialCommand (int commandtype) | |
Constructor. More... | |
SpecialCommand () | |
Constructor. | |
~SpecialCommand () | |
Destructor. | |
Public Attributes | |
int | CommandType |
CommandType: 0 no special command; 1 connect; 2 disconnect. | |
string | Module1 |
Name of the first module. | |
string | Module2 |
Name of the second module. | |
int | Node1 |
Node id of the first module. | |
int | Node2 |
Node id of the second module. | |
A data structure that stores special command message Used by WorldPlugin, which basically specify connect or disconnect
gazebo::SpecialCommand::SpecialCommand | ( | int | commandtype, |
string | modelname1, | ||
string | modelname2, | ||
int | node1, | ||
int | node2 | ||
) |
Constructor.
commandtype | An integer which indicate what type of command this is , see CommandType |
modelname1 | Name of the first module |
modelname2 | Name of the second module |
node1 | An integer indicates the id of the node of the first module |
node2 | An integer indicates the id of the node of the second module |
gazebo::SpecialCommand::SpecialCommand | ( | int | commandtype | ) |
Constructor.
commandtype | An integer which indicate what type of command this is , see CommandType |