trick/trick_sims/ROS/models/ros_comm/ros_subscribe.hh

23 lines
364 B
C++
Raw Normal View History

/*
PURPOSE: (To be)
LIBRARY_DEPENDENCIES: (ros_subscribe.cpp)
*/
#ifndef ROS_SUBSCRIBE_HH
#define ROS_SUBSCRIBE_HH
#include "ros/ros.h"
class RosSubscribe {
public:
ros::NodeHandle n ; // ** ros nodehandle
ros::Subscriber sub ; // ** ros subscriber
RosSubscribe() ;
int init() ;
int process() ;
} ;
#endif