Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | msgRobotState_cb (const dsr_msgs::RobotState::ConstPtr &msg) |
void | SET_ROBOT (string id, string model) |
void | SigHandler (int sig) |
static void | thread_subscriber () |
Variables | |
string | ROBOT_ID = "dsr01" |
string | ROBOT_MODEL = "m1013" |
std::string | temp_data |
int main | ( | int | argc, |
char ** | argv | ||
) |
ros::Subscriber subRobotState = nh.subscribe("/dsr01m1013/state", 100, msgRobotState_cb);
Definition at line 114 of file dsr_service_io_simple.cpp.
void msgRobotState_cb | ( | const dsr_msgs::RobotState::ConstPtr & | msg | ) |
Definition at line 27 of file dsr_service_io_simple.cpp.
void SET_ROBOT | ( | string | id, |
string | model | ||
) |
Definition at line 22 of file dsr_service_io_simple.cpp.
void SigHandler | ( | int | sig | ) |
Definition at line 92 of file dsr_service_io_simple.cpp.
|
static |
ros::Subscriber subRobotState = node->subscribe("/dsr01m1013/state", 100, msgRobotState_cb); ros::spin();
Definition at line 83 of file dsr_service_io_simple.cpp.
string ROBOT_ID = "dsr01" |
Definition at line 20 of file dsr_service_io_simple.cpp.
string ROBOT_MODEL = "m1013" |
Definition at line 21 of file dsr_service_io_simple.cpp.
std::string temp_data |
Definition at line 18 of file dsr_service_io_simple.cpp.