SMORES Robot Platform Simulation
Modlab at Penn, ASL at Cornell
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
gazebo::SpecialCommand Class Reference

#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.
 

Detailed Description

A data structure that stores special command message Used by WorldPlugin, which basically specify connect or disconnect

Constructor & Destructor Documentation

gazebo::SpecialCommand::SpecialCommand ( int  commandtype,
string  modelname1,
string  modelname2,
int  node1,
int  node2 
)

Constructor.

Parameters
commandtypeAn integer which indicate what type of command this is , see CommandType
modelname1Name of the first module
modelname2Name of the second module
node1An integer indicates the id of the node of the first module
node2An integer indicates the id of the node of the second module
gazebo::SpecialCommand::SpecialCommand ( int  commandtype)

Constructor.

Parameters
commandtypeAn integer which indicate what type of command this is , see CommandType

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