Universal_Robots_ROS_Driver: Reading data Streams - Could not get fresh data package from robot
Summary
While reading from the topics ur_hardware_interface/rtde_data/target_q and ur_hardware_interface/rtde_data/temperature sometimes connection is brakes and we get log messages as follow:
[INFO] [1589967979.606725]: Loading controller: joint_state_controller [INFO] [1589967979.607874]: Controller Spawner: Waiting for service controller_manager/unload_controller [INFO] [1589967979.611608]: Loading controller: pos_traj_controller [INFO] [1589967979.618885]: Loading controller: scaled_pos_traj_controller [INFO] [1589967979.672892]: Loading controller: joint_group_vel_controller [INFO] [1589967979.720808]: Loading controller: speed_scaling_state_controller [INFO] [1589967979.728871]: Controller Spawner: Loaded controllers: pos_traj_controller, joint_group_vel_controller [INFO] [1589967979.732789]: Loading controller: force_torque_sensor_controller [ INFO] [1589967979.737161355]: Robot's safety mode is now NORMAL [ INFO] [1589967979.738849418]: Robot mode is now RUNNING [INFO] [1589967979.742886]: Controller Spawner: Loaded controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller [INFO] [1589967979.748990]: Started controllers: joint_state_controller, scaled_pos_traj_controller, speed_scaling_state_controller, force_torque_sensor_controller [ INFO] [1589992656.595420159]: Robot mode is now POWER_ON [ INFO] [1589992656.909132755]: Robot mode is now POWER_OFF [ INFO] [1589992657.524765450]: Robot's safety mode is now FAULT [ERROR] [1589992659.718762803]: Could not get fresh data package from robot [ERROR] [1589992659.818972283]: Could not get fresh data package from robot [ERROR] [1589992659.919288408]: Could not get fresh data package from robot [ERROR] [1589992660.019491602]: Could not get fresh data package from robot [ERROR] [1589992660.119762006]: Could not get fresh data package from robot [ WARN] [1589992660.204704932]: Failed to read from stream, reconnecting in 1 seconds... [ERROR] [1589992660.219980952]: Could not get fresh data package from robot
It looks like that the error “Could not get fresh data package from robot” always occures in combination with the error “Robot’s safety mode is now FAULT”.
Introduction to the issue
Versions
- ROS Driver version: forked at 19.4.2020
- ROS Meldic, Ubuntu 18.4, no-realtime adjustments
- UR5e CB3
Impact
The arbitraray behavoir of this error blocks completly our measurements campaign. We need to collect temperatures and joint angles during a complete day.
Issue details
The error occures also when nothing else is running in the ROS system. There is no much payload. the UR is connected with a switch directly connected on the PC running ROS.
Project status at point of discovered
When did you first observe the issue?
- Before I started? No
- In first couple of tries? No
- In normal use? Yes
We need to know in which conditions principally the error message is loged to understand more about the conditions.
Steps to Reproduce
Simple listen to the topics: ur_hardware_interface/rtde_data/target_q or ur_hardware_interface/rtde_data/temperature
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 17 (4 by maintainers)
@orat
If you are still looking to install kernel with PREEMPT-RT compatibility w/ Nvidia drivers, try the following method. We were successful in doing so, although we had to use a much older kernel (5.4.78). Although FYI we still face the ‘Could not get fresh data package from robot’ error.