diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index bb6518d..b9d3f9f 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -5,6 +5,7 @@ on: branches: - master tags: + - '**' pull_request: workflow_dispatch: diff --git a/parts/files/requirements.txt b/parts/files/requirements.txt index 976715e..1041cec 100644 --- a/parts/files/requirements.txt +++ b/parts/files/requirements.txt @@ -1,3 +1,3 @@ -sbot[vision]==2024.0.1 +sbot[vision]==2024.0.2 numpy==1.25.0 runusb[mqtt]==2024.0.1 diff --git a/parts/robot.sh b/parts/robot.sh index 0aa8eb8..36701f9 100755 --- a/parts/robot.sh +++ b/parts/robot.sh @@ -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