-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionError: Read failed due to communication error on port COM10 for group_key Present_Position_shoulder_pan_shoulder_lift_elbow_flex_wrist_flex_wrist_roll_gripper: [TxRxResult] There is no status packet! #560
Comments
It kinda looks like the cable to the motor is loose and communication with the motor is disconnected |
But why cause this problem ,when I calibrated them ,no package lost! |
still this problem ,who can help me ? |
For a while I was using a robotic arm that would disconnect when I turned it to a specific angle, I found out it was a loose data cable from the motor, could you try swapping out the data cable from the motor? |
Have you found a solution? I am having the same issue for my leader arm while my follower arm connect just fine. |
I was having the exact same issue on my SO-100. The issue was a cable that had loosened wiring. It seems you are also using a serial Bus style system. Just try reading the servo position with all servos detached and adding them one at a time in a position where the cables are most strained |
I am having a similar issue with the Koch 1.1 follower arm in teleoperator mode. I find that I intermittently get the I am wondering if it would be OK to just have the code ignore the error and continue running. |
it happened to me too: |
Indeed it was due to cable connections..., it works now after fixed a loose socket.. |
System Info
Information
Reproduction
D:\Project\leRobot\lerobot>python lerobot/scripts/control_robot.py teleoperate --robot-path lerobot/configs/robot/so100.yaml
Connecting main follower arm.
Connecting main leader arm.
Activating torque on main follower arm.
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:33.55 (29.8hz) dtRlead: 4.32 (231.4hz) dtWfoll: 1.73 (578.3hz) dtRfoll: 3.01 (332.6hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:11.93 (83.8hz) dtRlead: 3.58 (279.2hz) dtWfoll: 0.75 (1336.5hz) dtRfoll: 2.42 (413.1hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:14.04 (71.2hz) dtRlead: 3.42 (292.6hz) dtWfoll: 1.26 (795.1hz) dtRfoll: 3.16 (316.0hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:24.32 (41.1hz) dtRlead: 3.40 (293.7hz) dtWfoll: 0.91 (1100.7hz) dtRfoll: 2.87 (348.5hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:22.62 (44.2hz) dtRlead: 3.36 (297.5hz) dtWfoll: 0.87 (1143.6hz) dtRfoll: 3.16 (316.1hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:14.84 (67.4hz) dtRlead: 4.02 (248.9hz) dtWfoll: 2.86 (349.3hz) dtRfoll: 3.56 (280.7hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:12.50 (80.0hz) dtRlead: 3.11 (321.3hz) dtWfoll: 1.20 (835.8hz) dtRfoll: 3.75 (267.0hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:14.60 (68.5hz) dtRlead: 3.33 (300.3hz) dtWfoll: 2.10 (475.1hz) dtRfoll: 6.18 (161.7hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:13.96 (71.6hz) dtRlead: 2.89 (345.5hz) dtWfoll: 0.94 (1068.6hz) dtRfoll: 3.12 (320.1hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:14.53 (68.8hz) dtRlead: 2.67 (374.5hz) dtWfoll: 0.85 (1180.8hz) dtRfoll: 2.71 (369.5hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:15.13 (66.1hz) dtRlead: 3.69 (271.3hz) dtWfoll: 1.05 (952.3hz) dtRfoll: 2.89 (346.6hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:14.47 (69.1hz) dtRlead: 2.97 (336.9hz) dtWfoll: 0.80 (1243.9hz) dtRfoll: 2.48 (403.0hz)
INFO 2024-12-08 19:45:36 rol_utils.py:70 dt:13.85 (72.2hz) dtRlead: 3.80 (263.4hz) dtWfoll: 1.11 (903.5hz) dtRfoll: 3.07 (326.1hz)
Traceback (most recent call last):
File "D:\Project\leRobot\lerobot\lerobot\scripts\control_robot.py", line 552, in
teleoperate(robot, **kwargs)
File "D:\Project\leRobot\lerobot\lerobot\common\robot_devices\utils.py", line 28, in wrapper
raise e
File "D:\Project\leRobot\lerobot\lerobot\common\robot_devices\utils.py", line 24, in wrapper
return func(robot, *args, **kwargs)
File "D:\Project\leRobot\lerobot\lerobot\scripts\control_robot.py", line 177, in teleoperate
control_loop(
File "D:\Project\leRobot\lerobot\lerobot\common\datasets\image_writer.py", line 36, in wrapper
raise e
File "D:\Project\leRobot\lerobot\lerobot\common\datasets\image_writer.py", line 29, in wrapper
return func(*args, **kwargs)
File "D:\Project\leRobot\lerobot\lerobot\common\robot_devices\control_utils.py", line 262, in control_loop
observation, action = robot.teleop_step(record_data=True)
File "D:\Project\leRobot\lerobot\lerobot\common\robot_devices\robots\manipulator.py", line 549, in teleop_step
follower_pos[name] = self.follower_arms[name].read("Present_Position")
File "D:\Project\leRobot\lerobot\lerobot\common\robot_devices\motors\feetech.py", line 740, in read
raise ConnectionError(
ConnectionError: Read failed due to communication error on port COM10 for group_key Present_Position_shoulder_pan_shoulder_lift_elbow_flex_wrist_flex_wrist_roll_gripper: [TxRxResult] There is no status packet!
Expected behavior
solve this problem
The text was updated successfully, but these errors were encountered: