Go to the documentation of this file.
26 #include <std_msgs/Bool.h>
27 #include <geometry_msgs/Twist.h>
35 class TwistMuxDiagnostics;
36 struct TwistMuxDiagnosticsStatus;
37 class VelocityTopicHandle;
38 class LockTopicHandle;
60 void publishTwist(
const geometry_msgs::TwistConstPtr& msg);
100 #endif // TWIST_MUX_H
boost::shared_ptr< diagnostics_type > diagnostics_
std::list< VelocityTopicHandle > velocity_topic_container
static constexpr double DIAGNOSTICS_PERIOD
void getTopicHandles(ros::NodeHandle &nh, ros::NodeHandle &nh_priv, const std::string ¶m_name, std::list< T > &topic_hs)
std::list< LockTopicHandle > lock_topic_container
TwistMux(int window_size=10)
TwistMuxDiagnostics diagnostics_type
void publishTwist(const geometry_msgs::TwistConstPtr &msg)
bool hasPriority(const VelocityTopicHandle &twist)
ros::Timer diagnostics_timer_
boost::shared_ptr< velocity_topic_container > velocity_hs_
velocity_hs_ Velocity topics' handles. Note that if we use a vector, as a consequence of the re-alloc...
void updateDiagnostics(const ros::TimerEvent &event)
TwistMuxDiagnosticsStatus status_type
geometry_msgs::Twist last_cmd_
boost::shared_ptr< lock_topic_container > lock_hs_
boost::shared_ptr< status_type > status_
twist_mux
Author(s): Enrique Fernandez
, Siegfried-A. Gevatter Pujals
autogenerated on Wed Oct 26 2022 02:18:09