Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
d7f020c
initial go work
guyfleeman Sep 3, 2026
f9644f3
svelte fe migration
guyfleeman Sep 8, 2026
8f1a879
add SPA routes, tests, and vscode tools
guyfleeman Sep 8, 2026
d409a72
initial proto wiring
guyfleeman Sep 8, 2026
fd4440f
major UI updates
guyfleeman Sep 22, 2026
b080617
add load/save/save-as, clean up vfield
guyfleeman Sep 22, 2026
9e40705
make corner picker persistent
guyfleeman Sep 25, 2026
3cb7d85
make pb generated code transient
guyfleeman Sep 25, 2026
7a38b0a
cleanup after code review
guyfleeman Sep 25, 2026
166706c
update docs
guyfleeman Sep 25, 2026
7749c3c
minor docs correction
guyfleeman Sep 25, 2026
d963b4e
dimension view layout updates
guyfleeman Sep 26, 2026
6d9df06
clean default pane
guyfleeman Sep 26, 2026
f3908e0
Merge branch 'v2.0-alpha' into dev/will/frontend_initial
guyfleeman Sep 27, 2026
eab8145
color picker prototype
guyfleeman Sep 29, 2026
7674fb4
flowbite component cleanup, layout cleanup
guyfleeman Oct 3, 2026
2d286df
unify config, overhaul save/load, confirm dialogue
guyfleeman Oct 3, 2026
a242adf
network config added, network display, if filtering
guyfleeman Oct 4, 2026
a4963a6
initial live video working, test data
guyfleeman Oct 4, 2026
0b07a69
camera config windows, driver selection
guyfleeman Oct 4, 2026
9e888dc
review pass for all flowbite elements, style matching with GC
guyfleeman Oct 4, 2026
7508f3b
initial pass at field level camera assignment
guyfleeman Oct 5, 2026
175083d
add missing advanced configs, abstract all long text into dedicated f…
guyfleeman Oct 6, 2026
c1d0934
code review of camera assignment, view matrix, and advanced settings
guyfleeman Oct 6, 2026
bb36d5e
Merge branch 'master' of github.com:RoboCup-SSL/ssl-vision-processor …
guyfleeman Oct 20, 2026
09cf1ee
API Middleware Tests and Cleanup (#40)
guyfleeman Oct 25, 2026
c93cf21
remove auto gen files, remove redundancy in config files in tests
guyfleeman Oct 25, 2026
d68e174
cleanup build system
guyfleeman Oct 25, 2026
6e0b9dc
initial commit of live field
guyfleeman Oct 25, 2026
4313ba8
legacy camera control
guyfleeman Oct 25, 2026
035e7aa
Merge branch 'dev/will/opencv_auto_exposure_fix' into dev/will/legacy…
guyfleeman Oct 25, 2026
ba614d9
geometry config for legacy
guyfleeman Oct 25, 2026
4d69ef7
Merge branch 'dev/will/field_viz' into dev/will/legacy_local_control
guyfleeman Oct 26, 2026
e73ae51
Merge branch 'master' of github.com:RoboCup-SSL/ssl-vision-processor …
guyfleeman Nov 7, 2026
f69badb
GUI initial firewire support, env updates, local management
guyfleeman Nov 7, 2026
4a6374e
add network conflict warnings, bug fixes in setup wizard, local camer…
guyfleeman Nov 7, 2026
255566d
Merge branch 'v2.0-alpha' of github.com:RoboCup-SSL/ssl-vision-proces…
guyfleeman Nov 7, 2026
709ce64
cleanup launch flags, embed key config/docs files, prep for distribution
guyfleeman Nov 7, 2026
623568d
Merge remote-tracking branch 'origin/master' into dev/will/inbound_ne…
guyfleeman Nov 7, 2026
c02b228
Merge PR #50 (send-config) for local integration
guyfleeman Nov 7, 2026
c5187fd
initial inbound network support
guyfleeman Nov 7, 2026
c586d2e
go binary release
guyfleeman Nov 8, 2026
fd10e0b
Merge branch 'master' of github.com:RoboCup-SSL/ssl-vision-processor …
guyfleeman Nov 8, 2026
ef4c33f
Merge branch 'v2.0-alpha' into dev/will/local_control
guyfleeman Nov 8, 2026
9ee4eb9
add more ubuntu native targets
guyfleeman Nov 9, 2026
347f9d7
rename binary, initial debian bundle
guyfleeman Nov 9, 2026
f6d96c5
add startup checklist
guyfleeman Nov 10, 2026
c2cda9c
about page, debug dump
guyfleeman Nov 10, 2026
a35b943
view fixes on narrow screens
guyfleeman Nov 10, 2026
71812fc
Merge branch 'master' of github.com:RoboCup-SSL/ssl-vision-processor …
guyfleeman Nov 10, 2026
6306eb0
checklist cleanup in expert mode
guyfleeman Nov 10, 2026
7972654
debug console wip
guyfleeman Nov 10, 2026
b1f64d0
debug log panel
guyfleeman Nov 10, 2026
9e434d1
testing fixes
guyfleeman Nov 11, 2026
0faabce
improve notification of error in comp mode
guyfleeman Nov 11, 2026
9466629
restore .gitkeep on dist dir
guyfleeman Nov 11, 2026
2f14289
rename binary prefix from rcssl- to ssl- to match league tools
guyfleeman Nov 11, 2026
69b29c4
improve go test coverage
guyfleeman Nov 12, 2026
dc00dea
coverage tooling, bump deps
guyfleeman Nov 12, 2026
0395479
frontend unit tests
guyfleeman Nov 12, 2026
64af243
remvoe debug panel
guyfleeman Nov 18, 2026
b4e4aee
cleanup debug image render
guyfleeman Nov 18, 2026
4286496
update core port opening
guyfleeman Nov 19, 2026
9250c33
CI cleakup, staticcheck
guyfleeman Nov 19, 2026
8da1431
fix minor and moderate inconsistencies after user and unit testing
guyfleeman Nov 19, 2026
34b48f2
start new configs with no camera selected
guyfleeman Nov 25, 2026
b32e24b
deliniate network conflicts, improve error levels
guyfleeman Nov 25, 2026
03307fa
fix release check for configs with uninit camera configs
guyfleeman Nov 25, 2026
6da4032
normalize API names before finalizing version
guyfleeman Nov 25, 2026
45132e3
remove redundant navigation system
guyfleeman Nov 25, 2026
5723972
normalize app name across subsystems
guyfleeman Nov 25, 2026
1493391
singel typed topic list
guyfleeman Nov 25, 2026
e6802c2
formally typed API client
guyfleeman Nov 25, 2026
5ab223b
architecture documentation updates
guyfleeman Nov 25, 2026
eeed60b
update all dependencies
guyfleeman Nov 25, 2026
f3fb82b
fixes from e2e tests
guyfleeman Nov 25, 2026
e984aa6
fix load/save behavior and l/s cache coherence
guyfleeman Nov 29, 2026
f0162d5
release CI flow for tags
guyfleeman Nov 29, 2026
77fd81d
refactor to allow component tests, fix bugs found in those component …
guyfleeman Nov 29, 2026
ddaac74
minor style and typographic touchups
guyfleeman Nov 29, 2026
d7c3f73
add web component tests, fix foudn bugs
guyfleeman Nov 29, 2026
29d9d7c
update proto to MIT relic
guyfleeman Nov 29, 2026
e77ecc7
proto sm track dev/vision-processor until upstream merge
guyfleeman Nov 29, 2026
5b9219d
prep release test
guyfleeman Nov 29, 2026
65e14a7
initial commit of CV backend deb generation
guyfleeman Nov 29, 2026
2bc61d9
bug fixes in CI
guyfleeman Nov 29, 2026
a6acf94
update release dev docs
guyfleeman Nov 29, 2026
2ebf4d1
disable ubuntu 22.04 build in release
guyfleeman Nov 29, 2026
bfd763c
rename vision_processor to ssl-vision-processor
guyfleeman Nov 30, 2026
1896cbe
udpate architecture document
guyfleeman Nov 30, 2026
bc8d889
update agents files
guyfleeman Nov 30, 2026
a972990
complete review
guyfleeman Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
195 changes: 164 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CI

on:
push:
branches: [master]
# v2.0-alpha is the integration branch until it merges to master.
branches: [master, v2.0-alpha]
pull_request:

# A second push to the same PR makes the first run's result irrelevant.
Expand All @@ -21,14 +22,14 @@ jobs:
with:
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

- name: Build all targets
run: |
nix develop --command bash -c '
cmake -B build .
make -C build -j"$(nproc)" vision_processor geometry_benchmark blob_benchmark
make -C build -j"$(nproc)" ssl-vision-processor geometry_benchmark blob_benchmark
'

build-apt:
Expand All @@ -53,53 +54,185 @@ jobs:
- name: Build all targets
run: |
cmake -B build .
make -C build -j"$(nproc)" vision_processor geometry_benchmark blob_benchmark
make -C build -j"$(nproc)" ssl-vision-processor geometry_benchmark blob_benchmark

python:
name: Python (wrapper_backend)
gui-go:
name: Go (gui)
runs-on: ubuntu-latest
steps:
# gui/internal/{vision,gamecontroller} are generated, not committed (see
# gui/buf.gen.yaml) -- the proto/ submodule and a `buf generate` (via
# `make .proto`, local plugins, no network needed) are needed before
# anything here builds.
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

# Importing wrapper_backend runs protoc against the submodule and
# generates wrapper_backend/proto/, which mypy needs on its path even
# though it excludes the generated files themselves.
- name: Lint and type check
# The socket tests send real multicast over loopback, which Ubuntu
# ships with multicast off. They fail rather than skip under CI, so a
# missing step here can't hide as a skip.
- name: Enable loopback multicast
run: sudo scripts/lo-multicast.sh on

- name: Format, vet, lint, build, test
run: |
nix develop --command bash -c '
uv sync --locked
uv run python -c "import wrapper_backend"
uv run ruff check wrapper_backend/
uv run ruff format --check wrapper_backend/
uv run mypy
cd gui
make fmt-check
make vet
make lint
make build
make go-test
make generate-check
'

frontend:
name: Frontend (wrapper-frontend)
runs-on: ubuntu-latest
defaults:
run:
working-directory: wrapper-frontend
# Reported, not enforced: a new advisory shouldn't fail an unrelated
# PR. Read it before tagging a release.
- name: Known vulnerabilities
continue-on-error: true
run: nix develop --command bash -c 'cd gui && make vulncheck'

gui-apt:
name: Go and frontend (gui, Ubuntu 24.04, no nix)
# The non-nix counterpart of gui-go and frontend: the same make targets,
# with every tool from its own pin instead of the flake. Formatting and
# generated-file checks stay in the nix jobs; this job only shows the GUI
# builds and passes its tests with these tool versions.
runs-on: ubuntu-24.04
env:
# As in the flake: a go.mod newer than the installed Go fails here
# instead of quietly downloading a toolchain.
GOTOOLCHAIN: local
steps:
# The package version counts commits, which needs the history.
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version-file: gui/go.mod
cache-dependency-path: gui/go.sum

- uses: actions/setup-node@v4
with:
node-version: 22
node-version-file: gui/frontend/.nvmrc
cache: npm
cache-dependency-path: wrapper-frontend/package-lock.json
cache-dependency-path: gui/frontend/package-lock.json

- run: npm ci
# Ubuntu doesn't package buf. Keep the version in step with the flake's
# (nix develop -c buf --version) and gui/DEVELOPMENT.md.
- name: Install buf
run: go install github.com/bufbuild/buf/cmd/buf@v1.75.0

- run: npm run lint
- name: Enable loopback multicast
run: sudo scripts/lo-multicast.sh on

- run: npm run format:check
- name: Build and test
working-directory: gui
run: |
make build
make go-test
make frontend-test

- run: npm run check
# nfpm is a Go tool, so the packages build the same way without nix.
- name: Packages
working-directory: gui
run: make deb

- run: npm run build
gui-release:
name: Release build (gui)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

# A first run publishes nothing, so this can't disturb anything.
- name: Build it and run it as a new user would
run: nix develop --command bash -c 'cd gui && make release-check'

gui-deb:
name: Debian packages (gui)
# The runner is a real Ubuntu 24.04 machine with systemd, so this installs
# the package and checks the service itself, not just the files.
runs-on: ubuntu-24.04
steps:
# The package version counts commits, which needs the history.
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

- name: Build
run: nix develop --command bash -c 'cd gui && make deb'

- name: Lintian
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq lintian
lintian --fail-on error,warning gui/bin/deb/*.deb

- name: Install and check the service
run: sudo gui/scripts/deb-check.sh gui/bin/deb/*_amd64.deb "$(git -C gui describe --tags --always --dirty)"

frontend:
name: Frontend (gui/frontend)
runs-on: ubuntu-latest
steps:
# frontend/src/proto is generated, not committed (see gui/buf.gen.yaml)
# -- this job now needs the proto/ submodule and buf/go (hence nix,
# same as gui-go) to produce it before npm can build against it.
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

- name: Lint, check, build
run: |
nix develop --command bash -c '
cd gui
make frontend-test
make frontend
'

gui-e2e:
name: End-to-end (gui)
runs-on: ubuntu-latest
steps:
# Same prerequisites as gui-go: generated protobuf and the frontend
# build, both via nix. The browser is the runner's own Google Chrome
# (Playwright's "chrome" channel), so nothing is downloaded for it.
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@v23
- uses: DeterminateSystems/magic-nix-cache-action@v15

- name: Smoke tests
run: |
nix develop --command bash -c '
cd gui
make e2e
'

- name: Upload traces
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-traces
path: gui/frontend/test-results/
retention-days: 7
62 changes: 62 additions & 0 deletions .github/workflows/cv-deb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: CV package

# ssl-vision-processor's .deb, for each Ubuntu LTS. Its own workflow, so it runs
# only when what goes into the package changes: each run builds three Docker
# images from scratch, ssl-vision-processor three times, and checks each package
# under systemd. The release workflow builds and checks them again for a tag.
on:
push:
branches: [master, v2.0-alpha]
paths: &paths
- .github/workflows/cv-deb.yml
# What build-in-container.sh compiles.
- CMakeLists.txt
- cmake/**
- kernel/**
- src/**
- tools/**
- proto
# What nfpm.yaml installs from outside packaging/.
- packaging/**
- robot-heights.yml
- README.md
- camera_ids.png
- line_corners.png
- config/legacy/**
pull_request:
paths: *paths

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
cv-deb:
name: Debian package (Ubuntu ${{ matrix.release }})
# Each release's package is built in a stock container of that release, so
# it links against that release's libraries, then installed and checked in
# another, running systemd (packaging/README.md).
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
release: ["24.04", "26.04"]
steps:
# The package version counts commits, which needs the history.
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

# For nfpm, pinned in packaging/go.mod. Not nix: this build is the
# distribution's, not nix's.
- uses: actions/setup-go@v5
with:
go-version-file: packaging/go.mod
cache-dependency-path: packaging/go.sum

- name: Build
run: packaging/build-deb.sh "${{ matrix.release }}"

- name: Install and check the services
run: packaging/deb-check-container.sh "${{ matrix.release }}"
Loading
Loading