Skip to content
Snippets Groups Projects
Commit 247e0bcf authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Add twist_mux yaml files

parent c59e8356
No related branches found
No related tags found
No related merge requests found
##########################################################
### LOCKS
##########################################################
# Locks to stop the twist inputs.
# For each lock:
# - topic : input topic that provides the lock; it must be of type std_msgs::Bool?!!!
# - timeout : == 0.0 -> not used
# > 0.0 -> the lock is supposed to published at a certain frequency in order
# to detect that the publisher is alive; the timeout in seconds allows
# to detect that, and if the publisher dies we will enable the lock
# - priority: priority in the range [0, 255], so all the topics with priority lower than it
# will be stopped/disabled
locks:
- name : pause
topic : pause_navigation
timeout : 0.0
# Same priority as joystick control, so it'll not block it.
priority: 100
##########################################################
### TOPICS
##########################################################
# Input topics handled/muxed.
# For each topic:
# - name : name identifier to select the topic
# - topic : input topic of geometry_msgs::Twist type
# - timeout : timeout in seconds to start discarding old messages, and use 0.0 speed instead
# - priority: priority in the range [0, 255]; the higher the more priority over other topics
topics:
- name : default
topic : /ana/default/cmd_vel
timeout : 0.1
priority: 0
- name : navigation
topic : /ana/navigation/cmd_vel
timeout : 0.5
priority: 5
- name : teleop
topic : /ana/teleop/cmd_vel
timeout : 0.1
priority: 10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment