comes from adding a debug statement to HebirosGazeboPlugin::OnUpdate method:
//Update the joints at every simulation iteration
void HebirosGazeboPlugin::OnUpdate(const common::UpdateInfo & _info) {
ros::Time current_time = ros::Time::now();
for (auto group_pair : hebiros_groups) {
auto hebiros_group = group_pair.second;
// Get the time elapsed since the last iteration
ROS_INFO("current_time: %f, prev_time: %f", current_time.toSec(), hebiros_group->prev_time.toSec());
ros::Duration iteration_time = current_time - hebiros_group->prev_time;
hebiros_group->prev_time = current_time;
if (hebiros_group->group_added) {
UpdateGroup(hebiros_group, iteration_time);
}
}
}
An example of https://github.com/HebiRobotics/HEBI-ROS/issues/102
I am experiencing frequent (non-deterministic) crashes when simulating a rather large model containing 8 HEBI 6-DOF arms in Gazebo.
Here's a relevant snippet of the terminal output:
The line
comes from adding a debug statement to HebirosGazeboPlugin::OnUpdate method:
See this related ROS Answer: https://answers.ros.org/question/209452/exception-thrown-while-processing-service-call-time-is-out-of-dual-32-bit-range/?answer=210134#post-id-210134