#include <cmd_vel_mux_nodelet.hpp>
Classes | |
class | CmdVelFunctor |
class | TimerFunctor |
Public Member Functions | |
CmdVelMuxNodelet () | |
virtual void | onInit () |
~CmdVelMuxNodelet () | |
Public Member Functions inherited from nodelet::Nodelet | |
void | init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL) |
Nodelet () | |
virtual | ~Nodelet () |
Private Member Functions | |
void | cmdVelCallback (const geometry_msgs::Twist::ConstPtr &msg, unsigned int idx) |
void | reloadConfiguration (yocs_cmd_vel_mux::reloadConfig &config, uint32_t unused_level) |
void | timerCallback (const ros::TimerEvent &event, unsigned int idx) |
Private Attributes | |
ros::Publisher | active_subscriber |
CmdVelSubscribers | cmd_vel_subs |
ros::Timer | common_timer |
double | common_timer_period |
dynamic_reconfigure::Server< yocs_cmd_vel_mux::reloadConfig >::CallbackType | dynamic_reconfigure_cb |
dynamic_reconfigure::Server< yocs_cmd_vel_mux::reloadConfig > * | dynamic_reconfigure_server |
std::string | output_topic_name |
ros::Publisher | output_topic_pub |
Static Private Attributes | |
static const unsigned int | GLOBAL_TIMER = 888888 |
static const unsigned int | VACANT = 666666 |
Additional Inherited Members | |
Protected Member Functions inherited from nodelet::Nodelet | |
ros::CallbackQueueInterface & | getMTCallbackQueue () const |
ros::NodeHandle & | getMTNodeHandle () const |
ros::NodeHandle & | getMTPrivateNodeHandle () const |
const V_string & | getMyArgv () const |
const std::string & | getName () const |
ros::NodeHandle & | getNodeHandle () const |
ros::NodeHandle & | getPrivateNodeHandle () const |
const M_string & | getRemappingArgs () const |
ros::CallbackQueueInterface & | getSTCallbackQueue () const |
std::string | getSuffixedName (const std::string &suffix) const |
Definition at line 37 of file cmd_vel_mux_nodelet.hpp.
|
inline |
Definition at line 42 of file cmd_vel_mux_nodelet.hpp.
|
inline |
Definition at line 48 of file cmd_vel_mux_nodelet.hpp.
|
private |
Definition at line 30 of file cmd_vel_mux_nodelet.cpp.
|
virtual |
Implements nodelet::Nodelet.
Definition at line 88 of file cmd_vel_mux_nodelet.cpp.
|
private |
Definition at line 110 of file cmd_vel_mux_nodelet.cpp.
|
private |
Definition at line 62 of file cmd_vel_mux_nodelet.cpp.
|
private |
Currently allowed cmd_vel subscriber
Definition at line 61 of file cmd_vel_mux_nodelet.hpp.
|
private |
Pool of cmd_vel topics subscribers
Definition at line 58 of file cmd_vel_mux_nodelet.hpp.
|
private |
No messages from any subscriber timeout
Definition at line 62 of file cmd_vel_mux_nodelet.hpp.
|
private |
No messages from any subscriber timeout period
Definition at line 63 of file cmd_vel_mux_nodelet.hpp.
|
private |
Definition at line 72 of file cmd_vel_mux_nodelet.hpp.
|
private |
Definition at line 71 of file cmd_vel_mux_nodelet.hpp.
|
staticprivate |
ID for the global timer functor; anything big is ok
Definition at line 56 of file cmd_vel_mux_nodelet.hpp.
|
private |
Multiplexed command velocity topic name
Definition at line 60 of file cmd_vel_mux_nodelet.hpp.
|
private |
Multiplexed command velocity topic
Definition at line 59 of file cmd_vel_mux_nodelet.hpp.
|
staticprivate |
ID for "nobody" active input; anything big is ok
Definition at line 55 of file cmd_vel_mux_nodelet.hpp.