|
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.
3 #ifndef DDS_ROS_BRIDGE_ROS_GNC_CONTROL_STATE_H_
4 #define DDS_ROS_BRIDGE_ROS_GNC_CONTROL_STATE_H_
8 #include "dds_ros_bridge/ros_sub_rapid_pub.h"
9 #include "dds_ros_bridge/util.h"
11 #include "ff_msgs/ControlState.h"
13 #include "knDds/DdsTypedSupplier.h"
15 #include "rapidDds/RapidConstants.h"
17 #include "rapidIo/RapidIoParameters.h"
19 #include "rapidUtil/RapidHelper.h"
21 #include "dds_msgs/AstrobeeConstants.h"
22 #include "dds_msgs/GncControlStateSupport.h"
29 const std::string& pub_topic,
30 const ros::NodeHandle& nh,
31 const unsigned int queue_size = 10);
33 void CopyVec3D(rapid::Vec3d& vec_out,
const geometry_msgs::Vector3& vec_in);
34 void MsgCallback(
const ff_msgs::ControlStateConstPtr& msg);
39 ff_msgs::ControlStateConstPtr gnc_msg_;
42 kn::DdsTypedSupplier<rapid::ext::astrobee::GncControlState>;
43 using StateSupplierPtr = std::unique_ptr<StateSupplier>;
45 StateSupplierPtr state_supplier_;
47 ros::Timer gnc_timer_;
52 #endif // DDS_ROS_BRIDGE_ROS_GNC_CONTROL_STATE_H_
void CopyVec3D(rapid::Vec3d &vec_out, const geometry_msgs::Vector3 &vec_in)
Definition: ros_gnc_control_state.cc:56
void PubGncControlState(const ros::TimerEvent &event)
Definition: ros_gnc_control_state.cc:68
void SetGncPublishRate(float rate)
Definition: ros_gnc_control_state.cc:100
Definition: ros_sub_rapid_pub.h:30
Definition: generic_rapid_msg_ros_pub.h:36
void MsgCallback(const ff_msgs::ControlStateConstPtr &msg)
Definition: ros_gnc_control_state.cc:63
Definition: ros_gnc_control_state.h:26
RosGncControlStateToRapid(const std::string &subscribe_topic, const std::string &pub_topic, const ros::NodeHandle &nh, const unsigned int queue_size=10)
Definition: ros_gnc_control_state.cc:24