#include <oem7_ros_publisher.hpp>
Public Member Functions | |
| bool | isEnabled () |
| template<typename M > | |
| void | publish (boost::shared_ptr< M > &msg) |
| template<typename M > | |
| void | setup (const std::string &name, ros::NodeHandle &nh) |
Private Attributes | |
| std::string | frame_id_ |
| Configurable frame ID. More... | |
| ros::Publisher | ros_pub_ |
| ROS publisher. More... | |
Encapsulates ROS message publisher, configured and enabled based on ROS parameters.
Definition at line 38 of file oem7_ros_publisher.hpp.
|
inline |
Definition at line 83 of file oem7_ros_publisher.hpp.
|
inline |
Publish a message on this publisher. The message is ignored when the publisher is disabled.
Definition at line 92 of file oem7_ros_publisher.hpp.
|
inline |
Definition at line 47 of file oem7_ros_publisher.hpp.
|
private |
Configurable frame ID.
Definition at line 42 of file oem7_ros_publisher.hpp.
|
private |
ROS publisher.
Definition at line 40 of file oem7_ros_publisher.hpp.