|
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.
20 #ifndef DDS_ROS_BRIDGE_ROS_GNC_FAM_CMD_STATE_H_
21 #define DDS_ROS_BRIDGE_ROS_GNC_FAM_CMD_STATE_H_
25 #include "dds_ros_bridge/ros_sub_rapid_pub.h"
26 #include "dds_ros_bridge/util.h"
28 #include "ff_msgs/FamCommand.h"
30 #include "knDds/DdsTypedSupplier.h"
32 #include "rapidDds/RapidConstants.h"
34 #include "rapidIo/RapidIoParameters.h"
36 #include "rapidUtil/RapidHelper.h"
38 #include "dds_msgs/AstrobeeConstants.h"
39 #include "dds_msgs/GncFamCmdStateSupport.h"
46 const std::string& pub_topic,
47 const ros::NodeHandle& nh,
48 const unsigned int queue_size = 10);
50 void CopyVec3D(rapid::Vec3d& vec_out,
const geometry_msgs::Vector3& vec_in);
51 void MsgCallback(
const ff_msgs::FamCommandConstPtr& msg);
56 ff_msgs::FamCommandConstPtr fam_msg_;
59 kn::DdsTypedSupplier<rapid::ext::astrobee::GncFamCmdState>;
60 using StateSupplierPtr = std::unique_ptr<StateSupplier>;
62 StateSupplierPtr state_supplier_;
64 ros::Timer gnc_timer_;
69 #endif // DDS_ROS_BRIDGE_ROS_GNC_FAM_CMD_STATE_H_
void PubGncFamCmdState(const ros::TimerEvent &event)
Definition: ros_gnc_fam_cmd_state.cc:68
Definition: ros_sub_rapid_pub.h:30
Definition: ros_gnc_fam_cmd_state.h:43
void SetGncPublishRate(float rate)
Definition: ros_gnc_fam_cmd_state.cc:104
RosGncFamCmdStateToRapid(const std::string &subscribe_topic, const std::string &pub_topic, const ros::NodeHandle &nh, const unsigned int queue_size=10)
Definition: ros_gnc_fam_cmd_state.cc:24
Definition: generic_rapid_msg_ros_pub.h:36
void CopyVec3D(rapid::Vec3d &vec_out, const geometry_msgs::Vector3 &vec_in)
Definition: ros_gnc_fam_cmd_state.cc:56
void MsgCallback(const ff_msgs::FamCommandConstPtr &msg)
Definition: ros_gnc_fam_cmd_state.cc:63