mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 22:42:26 +00:00
23 lines
364 B
C++
23 lines
364 B
C++
|
|
||
|
/*
|
||
|
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
|