2 #ifndef _TRANSPORT_ROSBRIDGE_H_ 3 #define _TRANSPORT_ROSBRIDGE_H_ 5 #include "madara/transport/Transport.h" 6 #include "madara/threads/Threader.h" 30 madara::transport::TransportSettings & new_settings,
31 madara::knowledge::KnowledgeBase & context,
32 std::vector<std::string> topics,
33 std::map<std::string, std::string> topic_map,
34 std::map<std::string, std::string> pub_topic_types);
48 long send_data (
const madara::knowledge::VariableReferenceMap & modifieds);
67 const char * container_name);
74 #endif // _TRANSPORT_ROSBRIDGE_H_
unsigned int message_count_
RosBridgeReadThread * read_thread_
unsigned int in_message_count()
unsigned int out_message_count()
std::pair< std::string, std::string > get_update_container_pair_(const char *container_name)
Contains all GAMS-related tools, classes and code.
virtual ~RosBridge()
Destructor.
std::map< std::string, std::string > pub_topic_types_
std::map< std::string, std::string > topic_map_
madara::threads::Threader read_threads_
threads for monitoring knowledge updates
RosBridge(const std::string &id, madara::transport::TransportSettings &new_settings, madara::knowledge::KnowledgeBase &context, std::vector< std::string > topics, std::map< std::string, std::string > topic_map, std::map< std::string, std::string > pub_topic_types)
Constructor.
long send_data(const madara::knowledge::VariableReferenceMap &modifieds)
Sends a list of updates to the domain.
A custom read thread generated by gpc.pl.
std::vector< std::string > topics_
gams::utility::ros::GamsParser * parser_
Custom network transport generated by gpc.pl.