ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

How to use yocs_cmd_vel_mux

asked 2021-08-10 20:46:44 -0500

tony6 gravatar image


I am trying to use the yocs_cmd_vel_mux to multiplex my cmd_vel inputs. I have the teleop_node publishing cmd_vel topic and another node that will be publishing cmd_vel too. When I use rosnode info to look at the nodelet manager running yocs_cmd_vel_mux, it says it subscribes to /yocs_cmd_vel_mux/teleop_node/cmd_vel . How do I make it subscribe to teleop_node/cmd_vel (without the yocs_cmd_vel_mux)?

My current rqt_graph output can be found here

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-08-11 00:16:41 -0500

If you look at the documentation in the configuration file there is a input subscription option in yaml file. You can change your subscription topic name with what ever you want.

  - name:        "Default input"
    topic:       "input/default"
    timeout:     0.1
    priority:    0
    short_desc:  "The default cmd_vel, controllers unaware that we are multiplexing cmd_vel should come here"
  - name:        "Navigation stack"
    topic:       "input/navigation"
    timeout:     0.5
    priority:    1
    short_desc:  "Navigation stack controller"


  - name:        "Web application"
    topic:       "input/webapp"
    timeout:     0.3
    priority:    8
  - name:        "Keyboard operation"
    topic:       "input/keyop"
    timeout:     0.1
    priority:    7
publisher:       "output/cmd_vel"

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-08-10 20:46:44 -0500

Seen: 75 times

Last updated: Aug 11 '21