Skip to content

Add check for latency for all serial connections #67

@csherstan

Description

@csherstan

To ensure good performance, all serial connections should be set to low latency. We should add a check for this for Dynamixels and Creates.

To check latency of a particular serial port:
cat /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
To change the latency we can do

sudo apt install setserial
setserial /dev/ttyUSB0 low_latency

At present the default value is 16, but it should be set to 1 by the setserial command. If the computer is restarted or the device removed and reinserted it will reset to the default. Not sure how to correct this.

This works on Debian variants, but I don't know about OSX or Windows.

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