-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to mux with more than one topic #46
Comments
Are both the right type?
…On Fri, 7 Jul 2023, 23:51 Gerard Sequeira, ***@***.***> wrote:
I'm on Humble and have the mux package installed via apt.
I have two control topics /cmd_vel_joy and /cmd_vel_key
twist_mux:
ros__parameters:
topics:
joystick:
topic : cmd_vel_joy
timeout : 0.5
priority: 100
keyboard:
topic : cmd_vel_key
timeout : 0.5
priority: 90
The mux only works if I have one of the above, but not both.
I've confirmed that both work independently.
Any clues as to what I may have missed?
—
Reply to this email directly, view it on GitHub
<#46>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA24PYKHUH636DID37NOLQ3XPCHH3ANCNFSM6AAAAAA2CLX35M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@bmagyar Any reason why the humble package would not work? |
I am experiencing the same problem using twist_mux:
ros__parameters:
topics:
external:
topic : cmd_vel
timeout : 0.5
priority: 1
locks:
e_stop:
topic : e_stop
timeout : 0.0
priority: 255 When I add a second topic to the config file, twist_mux:
ros__parameters:
topics:
joy:
topic : joy_vel
timeout : 0.5
priority: 10
external:
topic : cmd_vel
timeout : 0.5
priority: 1
locks:
e_stop:
topic : e_stop
timeout : 0.0
priority: 255 From
Last year, the same config file using |
@gseqBE, any chance you used it in combination with the new Gazebo? Using it with
This fixed it for me. It would be nice to have some warning for this, but I guess this is true for all nodes that use the clock and sim time. |
@Rick-v-E |
I'm on Humble and have the mux package installed via apt.
I have two control topics /cmd_vel_joy_ps4 and /cmd_vel_joy_ui
The mux only works if I have one of the above, but not both.
I've confirmed that both work independently.
Any clues as to what I may have missed?
The text was updated successfully, but these errors were encountered: