Skip to content
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

Occasional yocs_cmd_vel_mux initialization failure #136

Open
SomeshDaga opened this issue Feb 19, 2019 · 0 comments
Open

Occasional yocs_cmd_vel_mux initialization failure #136

SomeshDaga opened this issue Feb 19, 2019 · 0 comments

Comments

@SomeshDaga
Copy link

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.

@SomeshDaga SomeshDaga changed the title Occasional yocs_cmd_vel_mux initialization failure Occasional yocs_cmd_vel_mux initialization failure Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant