You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the devel branch from source on ROS Melodic, and occasionally experience a failure of the yocs_cmd_vel_mux nodelet as soon as it starts up. The logs reference a ASSERTION_FAILED error from the ROS Publisher library. Based on some research, this seems to be related to attempting to publish before the call to advertise() is made.
Looking at the source code for yocs_cmd_vel_mux, the output command velocity topic's advertise() call is only being made in the reloadConfiguration() function and not in the onInit() function. There might possibly be a race condition, between any subscriber callbacks (where the output command velocities are also published) being triggered and the reloadConfiguration() being called.
The text was updated successfully, but these errors were encountered:
SomeshDaga
changed the title
Occasional yocs_cmd_vel_mux initialization failure
Occasional yocs_cmd_vel_mux initialization failure
Feb 19, 2019
I am using the
devel
branch from source on ROS Melodic, and occasionally experience a failure of theyocs_cmd_vel_mux
nodelet as soon as it starts up. The logs reference aASSERTION_FAILED
error from the ROS Publisher library. Based on some research, this seems to be related to attempting to publish before the call toadvertise()
is made.Looking at the source code for
yocs_cmd_vel_mux
, the output command velocity topic'sadvertise()
call is only being made in thereloadConfiguration()
function and not in theonInit()
function. There might possibly be a race condition, between any subscriber callbacks (where the output command velocities are also published) being triggered and thereloadConfiguration()
being called.The text was updated successfully, but these errors were encountered: