NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
#include <generic_ros_sub_rapid_pub.h>
Public Member Functions | |
GenericROSSubRapidPub (ros::NodeHandle const *nh) | |
~GenericROSSubRapidPub () | |
void | AddTopics (std::map< std::string, std::vector< std::shared_ptr< TopicEntry >>> const &link_entries) |
float | FloatMod (float x, float y) |
void | InitializeDDS (std::vector< std::string > const &connections) |
virtual void | subscribeTopic (std::string const &in_topic, const RelayTopicInfo &info) |
virtual void | advertiseTopic (const RelayTopicInfo &info) |
virtual void | relayMessage (const RelayTopicInfo &topic_info, ContentInfo const &content_info) |
void | ConvertRequest (rapid::ext::astrobee::GenericCommsRequest const *data, std::string const &connecting_robot) |
void | CheckPubMsg (const ros::TimerEvent &event) |
Public Member Functions inherited from BridgeSubscriber | |
BridgeSubscriber () | |
virtual | ~BridgeSubscriber () |
bool | addTopic (std::string const &in_topic, std::string const &out_topic) |
void | setVerbosity (unsigned int verbosity) |
Additional Inherited Members | |
Protected Member Functions inherited from BridgeSubscriber | |
SubscriberPtr | rosSubscribe (std::string const &topic) |
void | handleRelayedMessage (const ros::MessageEvent< topic_tools::ShapeShifter const > &msg_event, std::string const &topic, SubscriberPtr sub) |
Protected Attributes inherited from BridgeSubscriber | |
unsigned int | m_verbose_ |
std::mutex | m_mutex_ |
uint8_t * | m_msgbuffer_ |
std::map< std::string, RelayTopicInfo > | m_relay_topics_ |
unsigned int | m_n_relayed_ |
|
explicit |
ff::GenericROSSubRapidPub::~GenericROSSubRapidPub | ( | ) |
void ff::GenericROSSubRapidPub::AddTopics | ( | std::map< std::string, std::vector< std::shared_ptr< TopicEntry >>> const & | link_entries | ) |
|
virtual |
Implements BridgeSubscriber.
void ff::GenericROSSubRapidPub::CheckPubMsg | ( | const ros::TimerEvent & | event | ) |
void ff::GenericROSSubRapidPub::ConvertRequest | ( | rapid::ext::astrobee::GenericCommsRequest const * | data, |
std::string const & | connecting_robot | ||
) |
float ff::GenericROSSubRapidPub::FloatMod | ( | float | x, |
float | y | ||
) |
void ff::GenericROSSubRapidPub::InitializeDDS | ( | std::vector< std::string > const & | connections | ) |
|
virtual |
Implements BridgeSubscriber.
|
virtual |
Implements BridgeSubscriber.