jacknlliu / ur_modern_driver

The new driver for the UR3/UR5/UR10 robot arms from universal robots. A refactor version see https://github.com/Zagitta/ur_modern_driver
Apache License 2.0
1 stars 0 forks source link

protective stop with ros_control #2

Open jacknlliu opened 5 years ago

jacknlliu commented 5 years ago

firmware version: 3.3.4.310

[ERROR] [1547003438.325407105]: Robot is protective stopped!
[ERROR] [1547003438.325648688]: Aborting trajectory
[ERROR] [1547003438.325766930]: You are attempting to call methods on an uninitialized goal handle
[ERROR] [1547003441.533589773]: Robot is protective stopped!
[ERROR] [1547003704.125501149]: Robot is protective stopped!
[ERROR] [1547015232.648165078]: Robot is protective stopped!
[ERROR] [1547015244.328869971]: Unexpected error: No trajectory defined at current time. Please contact the package maintainer.
[ERROR] [1547015245.329841693]: Unexpected error: No trajectory defined at current time. Please contact the package maintainer.
[ERROR] [1547015249.886892405]: Robot is protective stopped!
[ERROR] [1547015251.390293340]: Robot is protective stopped!
[ERROR] [1547015254.838960305]: Unexpected error: No trajectory defined at current time. Please contact the package maintainer.
[ERROR] [1547015257.905876416]: Robot is protective stopped!

screenshot from 2019-01-09 16-05-50

Reference

jacknlliu commented 5 years ago
Unexpected error: No trajectory defined at current time

rqt can't get valid data.

Reference

jacknlliu commented 5 years ago

Possible issues:

jacknlliu commented 5 years ago

rqt_joint_trajectory_controller:

Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_joint_trajectory_controller/joint_trajectory_controller.py", line 428, in _update_cmd_cb
    self._cmd_pub.publish(traj)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 886, in publish
    raise ROSSerializationException(str(e))
rospy.exceptions.ROSSerializationException: <class 'struct.error'>: 'integer out of range for 'i' format code' when writing '10136431958073778304385650838915089352497362729450656266185768343912164969068343814491130656221911512084591072349657775418879218483551627682630900033986257069101061831707756387901440815160610564564863428031676416000000000'
jacknlliu commented 5 years ago

I find that UR robot with firmware 3.3.4.310 can't get stable communication with 125Hz, UR can't parse the script commands from TCP packages correctly(especially in velocity mode), and this also makes the wrong robot state msgs from UR to host, then it will make the ros control loop broken.

Possible issues in UR:

Solution: