Public Member Functions | |
void | receiveJoyMessage (const sensor_msgs::Joy::ConstPtr &msg) |
void | sendControl () |
SimOperator (unsigned int numOfRobots) | |
Private Attributes | |
std::vector< geometry_msgs::Twist > | mCommand |
std::vector< ros::Publisher > | mCommandPublisher |
ros::Subscriber | mJoySubscriber |
double | mMaxAngularVelocity |
double | mMaxLinearVelocity |
unsigned int | mNumberOfRobots |
Definition at line 12 of file sim_joy.cpp.
SimOperator::SimOperator | ( | unsigned int | numOfRobots | ) |
Definition at line 30 of file sim_joy.cpp.
void SimOperator::receiveJoyMessage | ( | const sensor_msgs::Joy::ConstPtr & | msg | ) |
Definition at line 56 of file sim_joy.cpp.
void SimOperator::sendControl | ( | ) |
Definition at line 72 of file sim_joy.cpp.
std::vector<geometry_msgs::Twist> SimOperator::mCommand [private] |
Definition at line 27 of file sim_joy.cpp.
std::vector<ros::Publisher> SimOperator::mCommandPublisher [private] |
Definition at line 26 of file sim_joy.cpp.
ros::Subscriber SimOperator::mJoySubscriber [private] |
Definition at line 25 of file sim_joy.cpp.
double SimOperator::mMaxAngularVelocity [private] |
Definition at line 23 of file sim_joy.cpp.
double SimOperator::mMaxLinearVelocity [private] |
Definition at line 22 of file sim_joy.cpp.
unsigned int SimOperator::mNumberOfRobots [private] |
Definition at line 21 of file sim_joy.cpp.