#include <ROSInterface.h>
Public Member Functions | |
virtual void | createPublisher (ros::NodeHandle &nh)=0 |
virtual void | publish ()=0 |
ROSPublisherInterface (std::string topic, int publish_rate) | |
void | run () |
~ROSPublisherInterface () | |
Protected Attributes | |
ros::Publisher | pub_ |
int | publish_rate |
Definition at line 235 of file ROSInterface.h.
ROSPublisherInterface::ROSPublisherInterface | ( | std::string | topic, |
int | publish_rate | ||
) |
Definition at line 363 of file ROSInterface.cpp.
Definition at line 387 of file ROSInterface.cpp.
virtual void ROSPublisherInterface::createPublisher | ( | ros::NodeHandle & | nh | ) | [pure virtual] |
virtual void ROSPublisherInterface::publish | ( | ) | [pure virtual] |
void ROSPublisherInterface::run | ( | ) |
Definition at line 373 of file ROSInterface.cpp.
ros::Publisher ROSPublisherInterface::pub_ [protected] |
Definition at line 239 of file ROSInterface.h.
int ROSPublisherInterface::publish_rate [protected] |
Definition at line 238 of file ROSInterface.h.