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
This looks like it's actually a bug in addition of a negative ros::Duration object to a ros::Time object. I'll see if I can come up with a test case to reproduce it.
It turns out that this was a bug in the initialization of next_time_, resulting in it being negative if diagnostic_period was set less than the default.
I'm not sure about the python version, but the diagnostics_updater in c++ crashes with
if the diagnostic_period parameter is < 1
The reason lies in
diagnostics_updater::update_diagnostic_period()
whereros::Duration
overflows ifperiod_
<old_period
:https://github.com/ros/diagnostics/blob/groovy-devel/diagnostic_updater/include/diagnostic_updater/diagnostic_updater.h#L520
The text was updated successfully, but these errors were encountered: