#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 249 of file ROSInterface.h.
ROSPublisherInterface::ROSPublisherInterface | ( | std::string | topic, |
int | publish_rate | ||
) |
Definition at line 412 of file ROSInterface.cpp.
Definition at line 436 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 422 of file ROSInterface.cpp.
ros::Publisher ROSPublisherInterface::pub_ [protected] |
Definition at line 253 of file ROSInterface.h.
int ROSPublisherInterface::publish_rate [protected] |
Definition at line 252 of file ROSInterface.h.