#include <sonar.hpp>
Public Member Functions | |
bool | isInitialized () const |
bool | isSubscribed () const |
void | publish (const std::vector< sensor_msgs::Range > &sonar_msgs) |
void | reset (ros::NodeHandle &nh) |
SonarPublisher (const std::vector< std::string > &topics) | |
std::string | topic () const |
Private Attributes | |
bool | is_initialized_ |
std::vector< ros::Publisher > | pubs_ |
std::vector< std::string > | topics_ |
Definition at line 32 of file publishers/sonar.hpp.
naoqi::publisher::SonarPublisher::SonarPublisher | ( | const std::vector< std::string > & | topics | ) |
Definition at line 28 of file publishers/sonar.cpp.
bool naoqi::publisher::SonarPublisher::isInitialized | ( | ) | const [inline] |
Definition at line 42 of file publishers/sonar.hpp.
bool naoqi::publisher::SonarPublisher::isSubscribed | ( | ) | const [inline] |
Definition at line 51 of file publishers/sonar.hpp.
void naoqi::publisher::SonarPublisher::publish | ( | const std::vector< sensor_msgs::Range > & | sonar_msgs | ) |
Definition at line 34 of file publishers/sonar.cpp.
void naoqi::publisher::SonarPublisher::reset | ( | ros::NodeHandle & | nh | ) |
Definition at line 48 of file publishers/sonar.cpp.
std::string naoqi::publisher::SonarPublisher::topic | ( | ) | const [inline] |
Definition at line 37 of file publishers/sonar.hpp.
bool naoqi::publisher::SonarPublisher::is_initialized_ [private] |
Definition at line 63 of file publishers/sonar.hpp.
std::vector<ros::Publisher> naoqi::publisher::SonarPublisher::pubs_ [private] |
Definition at line 62 of file publishers/sonar.hpp.
std::vector<std::string> naoqi::publisher::SonarPublisher::topics_ [private] |
Definition at line 61 of file publishers/sonar.hpp.