Skip to content

Commit deb4aee

Browse files
authored
Merge pull request #24 from sourcebots/fast-ftdi
Reduce latency for FTDI chips to 1ms (default is 16ms)
2 parents 1b3d1a1 + fc4b934 commit deb4aee

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/build-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
tags:
8+
- '**'
89
pull_request:
910
workflow_dispatch:
1011

parts/files/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sbot[vision]==2024.0.1
1+
sbot[vision]==2024.0.2
22
numpy==1.25.0
33
runusb[mqtt]==2024.0.1

parts/robot.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0010", GROUP="$gro
5252
SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", ATTRS{interface}=="MCV4B", GROUP="$group", MODE="0666"
5353
# SR servo board v4
5454
SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0011", GROUP="$group", MODE="0666"
55+
# Reduce latency for FTDI chips to 1ms (default is 16ms)
56+
ACTION=="add", SUBSYSTEMS=="usb-serial", DRIVERS=="ftdi_sio", ATTR{latency_timer}="1"
5557
EOF
5658

5759
# Setup KCH leds triggered by systemd

0 commit comments

Comments
 (0)