Robotics StackExchange | Archived questions

runtime_error during trajectory (joint_trajectory_controller)

ROS Noetic with Gazebo-11.

I use rospy to control a robot (UR). The error occurs sporadically, with no discernible pattern:

terminate called after throwing an instance of 'std::runtime_error'
what(): Duration is out of dual 32-bit range

And the backtrace:

0 _GIraise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

1 0x00007ffff716e859 in _GIabort () at abort.c:79

2 0x00007ffff73f6911 in () at /lib/x86_64-linux-gnu/libstdc++.so.6

3 0x00007ffff740238c in () at /lib/x86_64-linux-gnu/libstdc++.so.6

4 0x00007ffff74023f7 in () at /lib/x86_64-linux-gnu/libstdc++.so.6

5 0x00007ffff74026a9 in () at /lib/x86_64-linux-gnu/libstdc++.so.6

6 0x00007fffde1f051f in ros::DurationBaseros::Duration::fromSec(double) () at /opt/ros/noetic/lib/librostime.so

7 0x00007fff2437427d in jointtrajectorycontroller::JointTrajectoryController, hardwareinterface::EffortJointInterface>::publishState(ros::Time const&) () at /opt/ros/noetic/lib//libjointtrajectory_controller.so

8 0x00007fff2439b974 in jointtrajectorycontroller::JointTrajectoryController, hardwareinterface::EffortJointInterface>::update(ros::Time const&, ros::Duration const&) () at /opt/ros/noetic/lib//libjointtrajectory_controller.so

9 0x00007fff44336d86 in controllermanager::ControllerManager::update(ros::Time const&, ros::Duration const&, bool) () at /opt/ros/noetic/lib/libcontrollermanager.so

10 0x00007fff443acd98 in gazeboroscontrol::GazeboRosControlPlugin::Update() () at /opt/ros/noetic/share/gazeboplugins/../../lib/libgazeboros_control.so

11 0x00007ffff6bbc4c4 in gazebo::physics::World::Update() () at /lib/x8664-linux-gnu/libgazebophysics.so.11

12 0x00007ffff6bcbc9c in gazebo::physics::World::Step() () at /lib/x8664-linux-gnu/libgazebophysics.so.11

13 0x00007ffff6bcedb5 in gazebo::physics::World::RunLoop() () at /lib/x8664-linux-gnu/libgazebophysics.so.11

14 0x00007ffff742ede4 in () at /lib/x86_64-linux-gnu/libstdc++.so.6

15 0x00007ffff6d3c609 in startthread (arg=) at pthreadcreate.c:477

16 0x00007ffff726b293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Even if the trajectory is always the same, it happend sometimes after one trajectory, sometimes not even after thousands. Any idea?

Asked by sre on 2021-08-25 11:35:32 UTC

Comments

Hi sre, we ran into the exact issue. It does also happen randomly (or it seems). I up voted the issue in hope that some one from OSRF would look at it.

Asked by Samahu on 2021-12-07 14:44:04 UTC

Answers