pal-robotics / ddynamic_reconfigure

89 stars 77 forks source link

Crash in DDynamicReconfigure::setConfigCallback #17

Closed guillaumeautran closed 3 years ago

guillaumeautran commented 3 years ago

If the setConfigCallback ros service is called before the node if fully initialized, there is a risk of a crash while trying to publish on the updatepub publisher. The reason is because the publisher is created after the rosservice is advertized. reversing this order is enough to address the crash.