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
When using a swri:Subscriber which is calculating msg latency diagnostics, a node will segfault when this set of operations is performed:
Start a new roscore
Set the rosparam /use_sim_time to true
Run the node with a swri::Subscriber
Start a bagfile (outputting clock) in paused mode ($ rosbag play --clock --pause)
In this case, the node will immediately crash because of a std::runtime_error where "Duration is out of dual 32-bit range"
This appears to come from line 84 of swri_roscpp/include/swri_roscpp/subscriber_impl.h in the case where now is at time zero (sec: 0, nsec: 0), but stamp is at some non-zero time. Most likely, this is caused by receiving an initial message with a stamp before receiving the /clock msg that updates ros::Time::now().
The text was updated successfully, but these errors were encountered:
When using a swri:Subscriber which is calculating msg latency diagnostics, a node will segfault when this set of operations is performed:
In this case, the node will immediately crash because of a std::runtime_error where "Duration is out of dual 32-bit range"
This appears to come from line 84 of swri_roscpp/include/swri_roscpp/subscriber_impl.h in the case where now is at time zero (sec: 0, nsec: 0), but stamp is at some non-zero time. Most likely, this is caused by receiving an initial message with a stamp before receiving the /clock msg that updates ros::Time::now().
The text was updated successfully, but these errors were encountered: