#include <ros/ros.h>#include <geometry_msgs/Twist.h>#include <stdlib.h>#include <signal.h>#include "dsr_util.h"#include "dsr_robot.h"
Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | SET_ROBOT (string id, string model) |
| void | SET_ROBOT2 (string id, string model) |
| void | SigHandler (int sig) |
| static void | thread_mobile () |
| static void | thread_mobile2 () |
Variables | |
| string | ROBOT_ID = "dsr01" |
| string | ROBOT_ID2 = "dsr02" |
| string | ROBOT_MODEL = "m1013" |
| string | ROBOT_MODEL2 = "m1013" |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
ros::Subscriber subRobotState = nh.subscribe("/dsr01m1013/state", 100, msgRobotState_cb);
if(&robot) delete (&robot);
Definition at line 94 of file multi_robot_mobile.cpp.
| void SET_ROBOT | ( | string | id, |
| string | model | ||
| ) |
Definition at line 25 of file multi_robot_mobile.cpp.
| void SET_ROBOT2 | ( | string | id, |
| string | model | ||
| ) |
Definition at line 26 of file multi_robot_mobile.cpp.
| void SigHandler | ( | int | sig | ) |
Definition at line 70 of file multi_robot_mobile.cpp.
|
static |
Definition at line 31 of file multi_robot_mobile.cpp.
|
static |
Definition at line 50 of file multi_robot_mobile.cpp.
| string ROBOT_ID = "dsr01" |
Definition at line 21 of file multi_robot_mobile.cpp.
| string ROBOT_ID2 = "dsr02" |
Definition at line 22 of file multi_robot_mobile.cpp.
| string ROBOT_MODEL = "m1013" |
Definition at line 23 of file multi_robot_mobile.cpp.
| string ROBOT_MODEL2 = "m1013" |
Definition at line 24 of file multi_robot_mobile.cpp.