4 #include "std_srvs/Empty.h" 5 #include "hebiros/FeedbackMsg.h" 6 #include "hebiros/CommandMsg.h" 7 #include "hebiros/SettingsMsg.h" 8 #include "hebiros/SetCommandLifetimeSrv.h" 9 #include "hebiros/SetFeedbackFrequencySrv.h" 20 std::map<std::string, std::shared_ptr<HebirosGazeboJoint>>
joints;
24 bool check_acknowledgement =
false;
25 bool acknowledgement =
false;
26 bool command_received =
false;
27 bool group_added =
false;
28 int command_lifetime = 100;
29 int feedback_frequency = 100;
44 bool SrvAcknowledge(std_srvs::Empty::Request &req, std_srvs::Empty::Response &res);
45 bool SrvSetCommandLifetime(SetCommandLifetimeSrv::Request &req, SetCommandLifetimeSrv::Response &res);
46 bool SrvSetFeedbackFrequency(SetFeedbackFrequencySrv::Request &req, SetFeedbackFrequencySrv::Response &res);
ros::ServiceServer feedback_frequency_srv
std::map< std::string, std::shared_ptr< HebirosGazeboJoint > > joints
CommandMsg command_target
ros::Time prev_feedback_time
ros::Publisher feedback_pub
ros::ServiceServer command_lifetime_srv
ros::ServiceServer acknowledge_srv
ros::Subscriber command_sub