Skip to content

Commit

Permalink
Merge pull request #24 from sourcebots/fast-ftdi
Browse files Browse the repository at this point in the history
Reduce latency for FTDI chips to 1ms (default is 16ms)
  • Loading branch information
inventor02 authored Aug 18, 2024
2 parents 1b3d1a1 + fc4b934 commit deb4aee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
tags:
- '**'
pull_request:
workflow_dispatch:

Expand Down
2 changes: 1 addition & 1 deletion parts/files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sbot[vision]==2024.0.1
sbot[vision]==2024.0.2
numpy==1.25.0
runusb[mqtt]==2024.0.1
2 changes: 2 additions & 0 deletions parts/robot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0010", GROUP="$gro
SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", ATTRS{interface}=="MCV4B", GROUP="$group", MODE="0666"
# SR servo board v4
SUBSYSTEM=="usb", ATTRS{idVendor}=="1bda", ATTRS{idProduct}=="0011", GROUP="$group", MODE="0666"
# Reduce latency for FTDI chips to 1ms (default is 16ms)
ACTION=="add", SUBSYSTEMS=="usb-serial", DRIVERS=="ftdi_sio", ATTR{latency_timer}="1"
EOF

# Setup KCH leds triggered by systemd
Expand Down

0 comments on commit deb4aee

Please sign in to comment.