Functions | Variables
single_robot_simple.cpp File Reference
#include <ros/ros.h>
#include <signal.h>
#include <boost/thread/thread.hpp>
#include "dsr_util.h"
#include "dsr_robot.h"
Include dependency graph for single_robot_simple.cpp:

Go to the source code of this file.

Functions

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"
 

Function Documentation

int main ( int  argc,
char **  argv 
)

ros::Subscriber subRobotState = nh.subscribe("/dsr01m1013/state", 100, msgRobotState_cb);

if(&robot) delete (&robot);

Definition at line 58 of file single_robot_simple.cpp.

void SET_ROBOT ( string  id,
string  model 
)

Definition at line 22 of file single_robot_simple.cpp.

void SigHandler ( int  sig)

Definition at line 36 of file single_robot_simple.cpp.

static void thread_subscriber ( )
static

ros::Subscriber subRobotState = node->subscribe("/dsr01m1013/state", 100, msgRobotState_cb); ros::spin();

Definition at line 27 of file single_robot_simple.cpp.

Variable Documentation

string ROBOT_ID = "dsr01"

Definition at line 20 of file single_robot_simple.cpp.

string ROBOT_MODEL = "m1013"

Definition at line 21 of file single_robot_simple.cpp.



cpp
Author(s): Kab Kyoum Kim , Jin Hyuk Gong , Jeongwoo Lee
autogenerated on Sat May 18 2019 02:32:53