Skip to content
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

Add check for latency for all serial connections #67

Open
csherstan opened this issue Jun 12, 2020 · 0 comments
Open

Add check for latency for all serial connections #67

csherstan opened this issue Jun 12, 2020 · 0 comments

Comments

@csherstan
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant