mirror of
https://github.com/nasa/trick.git
synced 2024-12-29 09:28:54 +00:00
25 lines
388 B
C++
25 lines
388 B
C++
|
|
||
|
/*
|
||
|
PURPOSE: (To be)
|
||
|
LIBRARY_DEPENDENCIES: (ros_publish.cpp)
|
||
|
*/
|
||
|
|
||
|
#ifndef ROS_PUBLISH_HH
|
||
|
#define ROS_PUBLISH_HH
|
||
|
|
||
|
#include "ros/ros.h"
|
||
|
|
||
|
class RosPublish {
|
||
|
public:
|
||
|
ros::NodeHandle n ; // ** ros nodehandle
|
||
|
ros::Publisher msg_pub ; // ** ros publisher
|
||
|
|
||
|
int count ;
|
||
|
|
||
|
RosPublish() ;
|
||
|
int init() ;
|
||
|
int publish() ;
|
||
|
} ;
|
||
|
|
||
|
#endif
|