|
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 DDS_ROS_BRIDGE_ROS_POSE_RAPID_POSITION_H_
20 #define DDS_ROS_BRIDGE_ROS_POSE_RAPID_POSITION_H_
24 #include "dds_ros_bridge/ros_sub_rapid_pub.h"
26 #include "dds_ros_bridge/util.h"
28 #include "geometry_msgs/PoseStamped.h"
30 #include "knDds/DdsTypedSupplier.h"
32 #include "rapidDds/RapidConstants.h"
34 #include "rapidIo/RapidIoParameters.h"
36 #include "rapidUtil/RapidHelper.h"
43 const std::string& pub_topic,
45 const ros::NodeHandle& nh,
46 const unsigned int queue_size = 10);
48 void DataCallback(geometry_msgs::PoseStampedConstPtr
const& data);
53 rapid::PositionTopicPairParameters params_;
54 std::shared_ptr<rapid::PositionProviderRosPoseHelper> provider_;
56 geometry_msgs::PoseStampedConstPtr pose_msg_;
60 ros::Timer position_timer_;
65 #endif // DDS_ROS_BRIDGE_ROS_POSE_RAPID_POSITION_H_
Definition: ros_sub_rapid_pub.h:30
Definition: ros_pose_rapid_position.h:40
Definition: generic_rapid_msg_ros_pub.h:36
RosPoseRapidPosition(const std::string &subscribe_topic, const std::string &pub_topic, bool use_rate, const ros::NodeHandle &nh, const unsigned int queue_size=10)
Definition: ros_pose_rapid_position.cc:23
void SetPositionPublishRate(float rate)
Definition: ros_pose_rapid_position.cc:72
void DataCallback(geometry_msgs::PoseStampedConstPtr const &data)
Definition: ros_pose_rapid_position.cc:56
void PubPosition(const ros::TimerEvent &event)
Definition: ros_pose_rapid_position.cc:65