Skip to content

Need to debug Serial Proxy Packet error (described in issue). #2

@MarcoDotIO

Description

@MarcoDotIO

Current error:

Traceback (most recent call last):
  File "testingLand.py", line 41, in <module>
    ze_manager=RobotManager(port_list,settings_set)
  File "/home/marcodotio/mint-ws/mintpatch-controller-library/mintpatch/robotManager.py", line 42, in __init__
    a=PortManager(item,_setup_info[item])
  File "/home/marcodotio/mint-ws/mintpatch-controller-library/mintpatch/portManager.py", line 36, in __init__
    self.wrapper.get_feedback(self.servos[i])
  File "/home/marcodotio/mint-ws/mintpatch-controller-library/mintpatch/dynomix_driver/sdk_serial_wrapper.py", line 294, in get_feedback
    response = self.read(servo_id, DXL_GOAL_POSITION_L, 17)
  File "/home/marcodotio/mint-ws/mintpatch-controller-library/mintpatch/dynomix_driver/sdk_serial_wrapper.py", line 53, in read
    result = self.packet_handler.readTxRx(self.port_handler, servo_id, address, size)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/dynamixel_sdk/protocol2_packet_handler.py", line 566, in readTxRx
    rxpacket, result, error = self.txRxPacket(port, txpacket)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/dynamixel_sdk/protocol2_packet_handler.py", line 346, in txRxPacket
    rxpacket, result = self.rxPacket(port)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/dynamixel_sdk/protocol2_packet_handler.py", line 257, in rxPacket
    rxpacket.extend(port.readPort(wait_length - rx_length))
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/dynamixel_sdk/port_handler.py", line 80, in readPort
    return [ord(ch) for ch in self.ser.read(length)]
  File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 495, in read
    raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

This issue happens regardless of what motor is plugged in, and it's a consistent error I have when running multiple times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions