Example file for the SubscribeHandler convenience class.
More...
#include <mrs_lib/subscribe_handler.h>
#include <mrs_lib/impl/subscribe_handler.hpp>
#include <std_msgs/String.h>
|
void | timeout_callback (const std::string &topic_name, const ros::Time &last_msg) |
|
void | message_callback (const std_msgs::String::ConstPtr msg) |
|
int | main (int argc, char **argv) |
|
Example file for the SubscribeHandler convenience class.
- Author
- Matouš Vrba - vrbam.nosp@m.ato@.nosp@m.fel.c.nosp@m.vut..nosp@m.cz
This example may be run after building mrs_lib by executing rosrun mrs_lib subscribe_handler_example
.
See subscribe_handler/example.cpp.