|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
19 #ifndef COMMS_BRIDGE_GENERIC_RAPID_MSG_ROS_PUB_H_
20 #define COMMS_BRIDGE_GENERIC_RAPID_MSG_ROS_PUB_H_
30 #include "dds_msgs/GenericCommsAdvertisementInfoSupport.h"
31 #include "dds_msgs/GenericCommsContentSupport.h"
34 #define DEFAULT_ADVERTISE_TO_PUB_DELAY 3.0
43 void InitializeDDS(std::vector<std::string>
const& connections,
bool enable_advertisement_info_request);
46 rapid::ext::astrobee::GenericCommsAdvertisementInfo
const* data);
47 void ConvertContent(rapid::ext::astrobee::GenericCommsContent
const* data,
48 std::string
const& connecting_robot);
51 std::string
const& connecting_robot);
54 bool dds_initialized_, enable_advertisement_info_request_;
56 std::map<std::string, RapidPubRequestPtr> robot_connections_;
61 #endif // COMMS_BRIDGE_GENERIC_RAPID_MSG_ROS_PUB_H_
Definition: bridge_publisher.h:47
void ConvertContent(rapid::ext::astrobee::GenericCommsContent const *data, std::string const &connecting_robot)
Definition: generic_rapid_msg_ros_pub.cpp:76
Definition: generic_rapid_msg_ros_pub.h:38
void ConvertAdvertisementInfo(rapid::ext::astrobee::GenericCommsAdvertisementInfo const *data)
Definition: generic_rapid_msg_ros_pub.cpp:50
Definition: generic_rapid_msg_ros_pub.h:36
virtual ~GenericRapidMsgRosPub()
Definition: generic_rapid_msg_ros_pub.cpp:33
void RequestAdvertisementInfo(std::string const &output_topic, std::string const &connecting_robot)
Definition: generic_rapid_msg_ros_pub.cpp:118
GenericRapidMsgRosPub(double ad2pub_delay=DEFAULT_ADVERTISE_TO_PUB_DELAY)
Definition: generic_rapid_msg_ros_pub.cpp:27
void InitializeDDS(std::vector< std::string > const &connections, bool enable_advertisement_info_request)
Definition: generic_rapid_msg_ros_pub.cpp:35
#define DEFAULT_ADVERTISE_TO_PUB_DELAY
Definition: generic_rapid_msg_ros_pub.h:34