Open jacknlliu opened 5 years ago
Unexpected error: No trajectory defined at current time
rqt
can't get valid data.
Possible issues:
/joint_states
and hardware interface
in ros control can't get valid data(data jumping) after a few minutes, sometimes we get no messages
from rostopic hz /joint_states
, and only 1 Hz for joint states! Maybe unpack error for v3.3?speedj()
),see here.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'
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:
speedj
command will that speed of joint is OK(no data jumping)! So command from host to UR controller is OK.recv
is 1060 < 2048, and the deserialization is OK, so state protocol from UR to host is also OK. But maybe the wrong TCP communication from UR to host.Solution:
firmware version: 3.3.4.310
Reference