#include <ros/ros.h>
#include <signal.h>
#include <boost/thread/thread.hpp>
#include "dsr_util.h"
#include "dsr_robot.h"
Go to the source code of this file.
Functions | |
int | gripper_move (bool flag) |
int | main (int argc, char **argv) |
void | SET_ROBOT (string id, string model) |
void | SigHandler (int sig) |
static void | thread_subscriber () |
Variables | |
string | ROBOT_ID = "dsr01" |
string | ROBOT_MODEL = "m1013" |
int gripper_move | ( | bool | flag | ) |
Definition at line 25 of file pick_and_place_simple.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
ros::Subscriber subRobotState = nh.subscribe("/dsr01m1013/state", 100, msgRobotState_cb);
if(&robot) delete (&robot);
Definition at line 102 of file pick_and_place_simple.cpp.
void SET_ROBOT | ( | string | id, |
string | model | ||
) |
Definition at line 22 of file pick_and_place_simple.cpp.
void SigHandler | ( | int | sig | ) |
Definition at line 80 of file pick_and_place_simple.cpp.
|
static |
ros::Subscriber subRobotState = node->subscribe("/dsr01m1013/state", 100, msgRobotState_cb); ros::spin();
Definition at line 71 of file pick_and_place_simple.cpp.
string ROBOT_ID = "dsr01" |
Definition at line 20 of file pick_and_place_simple.cpp.
string ROBOT_MODEL = "m1013" |
Definition at line 21 of file pick_and_place_simple.cpp.