第八步:模型推理——常见 Bug 及解决
摄像头获取失败

检查一下腕部摄像头的接线是否松动,特别是靠近摄像头那端的接线,非常容易接触不良
摄像头断连

重新启动一下命令行
舵机通信问题1
ConnectionError: Failed to sync read 'Present_Position' on ids=[1, 2, 3, 4, 5, 6] after 1 tries. [TxRxResult] There is no status packet!

解决方案,把lerobot/src/lerobot/motors/motors_bus.py代码中所有num_retry都改成99,特别是报错行对应的

舵机通信问题2
ConnectionError: Failed to write 'Torque_Enable' on id_=1 with '0' after 6 tries. [TxRxResult] There is no status packet!


解决方法:重新校准机械臂

