Skip to content

The read packet latency and packet loss of Dynamixel Servo #1

Description

@HoEmpire

Describtion

  • Use the old original way of Servo read read4ByteTxRx it takes 70ms to read 12 Servos and with Packet loss problem
  • Use the syncread it takes 18ms to read 12 Servos and also with Packet loss problem

Solution

  • It‘s a problem of some kinds of authority of Ubuntu16.04
  • The following command before running the programm can solve the problem
echo 1 | sudo tee /sys/bus/usb-serial/devices/ttyUSB0/latency_timer

Perfomance after solving the problem

  • Now we can read the 12 Servo in 3ms without packet loss

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions