19 #ifndef DDS_ROS_BRIDGE_ROS_AGENT_STATE_H_
20 #define DDS_ROS_BRIDGE_ROS_AGENT_STATE_H_
22 #include <ros/assert.h>
28 #include "dds_ros_bridge/ros_sub_rapid_pub.h"
29 #include "dds_ros_bridge/util.h"
31 #include "ff_msgs/AgentStateStamped.h"
32 #include "ff_msgs/OpState.h"
34 #include "knDds/DdsTypedSupplier.h"
36 #include "rapidUtil/RapidHelper.h"
38 #include "dds_msgs/AstrobeeAgentStateSupport.h"
39 #include "dds_msgs/AstrobeeConstants.h"
40 #include "dds_msgs/MobilitySettingsStateSupport.h"
47 const std::string& pub_topic,
48 const ros::NodeHandle &nh,
49 const unsigned int queue_size = 10);
51 void Callback(ff_msgs::AgentStateStamped::ConstPtr
const& status);
54 using StateSupplier = kn::DdsTypedSupplier<rapid::ext::astrobee::AgentState>;
55 using StateSupplierPtr = std::unique_ptr<StateSupplier>;
57 StateSupplierPtr state_supplier_;
59 using MobilitySettingsSupplier =
60 kn::DdsTypedSupplier<rapid::ext::astrobee::MobilitySettingsState>;
61 using MobilitySettingsSupplierPtr = std::unique_ptr<MobilitySettingsSupplier>;
63 MobilitySettingsSupplierPtr mobility_settings_supplier_;
68 #endif // DDS_ROS_BRIDGE_ROS_AGENT_STATE_H_