#include <ros/ros.h>
#include <variant_topic_tools/Message.h>
#include <variant_topic_tools/MessageDefinition.h>
Go to the source code of this file.
Functions | |
void | callback (const ros::MessageEvent< variant_topic_tools::Message > &messageEvent) |
bool | getTopicBase (const std::string &topic, std::string &topicBase) |
int | main (int argc, char **argv) |
void | subscribe () |
Variables | |
variant_topic_tools::MessageDefinition | messageDefinition |
ros::NodeHandlePtr | nodeHandle |
ros::Subscriber | subscriber |
size_t | subscriberQueueSize = 100 |
std::string | subscriberTopic |
void callback | ( | const ros::MessageEvent< variant_topic_tools::Message > & | messageEvent | ) |
bool getTopicBase | ( | const std::string & | topic, |
std::string & | topicBase | ||
) |
variant_topic_tools::MessageDefinition messageDefinition |
ros::NodeHandlePtr nodeHandle |
ros::Subscriber subscriber |