Repository navigation
Network Integration PR - #66
Open
guyfleeman wants to merge 11 commits into
Open
guyfleeman wants to merge 11 commits into
guyfleeman wants to merge 11 commits into
Conversation
fix nvidia install script on Ubuntu
…ision-processor into dev/network-integration
lixfel
approved these changes
Dec 1, 2026
| // rendered config.yml contents (Document.Rendered) and that ssl-vision-processor | ||
| // reads only at startup: everything but live and host-only settings. Unknown | ||
| // keys count, since nothing says ssl-vision-processor reloads them. | ||
| // config.yml contents and that ssl-vision-processor reads only at startup: |
Collaborator
There was a problem hiding this comment.
I would not intend to keep config.yml (for the single configuration option, the vision port, it would have to provide) (More just an information about my future intentions)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will combine network updates with any changes to the Go middleware and svelte frontend all in one PR/integration branch.
Capability gaps:
-runCamerasvs network configBaseline: every config change applies live; the VP is never restarted for a config change. The one exception is the bootstrap vision address/port (G15). Crash and reboot restarts still happen.
Robot heights move to the host: the host already consumes the referee feed and owns config, so it resolves team → height and pushes the two heights to each VP. The VP no longer listens to GC. Without a host, the VP falls back to its default height, the same as today when GC is silent.
From code reading of PR #61 head
87d53bb, protofdd7988, and the current Go host; nothing has been built or run yet.Protocol gaps (
ssl_vp_config.proto)field_line_threshold,min_line_segment_length,max_line_segment_offset,max_line_segment_anglethresholds.blobsmissingMAX_BLOBS(see C8)thresholds.resampling_factormissingtracking.*missingmin_tracking_radius,max_bot_acceleration; PR hardcodes both (see C8)debug.*missingdebug_images,debug_stream_interval_ms; file reload works for local VPs onlyrobot_heightsmap withyellow_bot_heightandblue_bot_height; the VP derivesmaxBotHeightas the larger of the twoSSL_VPConfigNetworkgc_ip/gc_portare no longer used by the VP (P6), andvision_ipis bootstrap-only (G15)SSL_Sourcehas no host/GUI value. The VP's looped-back own announce and any second host overwritereceivedConfig; last writer wins (C10 is a stopgap)MergeFromappends toline_corners. Field mask here, or per-field replace in C++/dev/video*C++ gaps (VP)
camera_idonly partly livedefaultBotHeightwhen unset. DeleteGCSocketandbot_heights_file;blob_benchmarkandgeometry_benchmarkneed a fixed height instead ofgcSocket->maxBotHeightgeometry.*not applied//TODO;cameraAmount,cameraHeight,lineCorners,refinement, and line params are read once from YAML in theResourcesctorline_corners, field, orcamera_idchange. Today this happens by restarting the VPwait_for_geometrynot applied//TODOraw2quad,resampling,quad2rgba,quad2nv12are compiled withcamera->format(). A live driver switch to a different pixel format runs the wrong kernelsinstanceis plaingethostname(). The proto anticipateshostname:suffix, but there's no way to set the suffixblobs/trackingregression#defines; no longer configurable even from the file. Restore once P2/P4 land;matchArraymust be reallocated whenblobschangescolor.*.livein it stomps color adaptation. Should be consumed oncesource == VISION_PROCESSORon receiveconfig.camera, so the announce claims a driver that isn't runninginit_configandResourcesbothLoadFile. Fine for nowGo gaps (host)
SSL_VPConfig(discovery); it needs to send per-instance config on the vision groupthresholds/color/tracking, butschema.gostill marks themApplyLive, so edits tocam<id>.ymlare ignored and nothing restarts. Fixed by G1RestartKeyspath from the supervisor, except G15's bootstrap keys; it otherwise keeps only process lifecycle. A key that can't go live yet is a P or C blocker, not a restartcam<id>.ymlas a seed so a crash doesn't loop: crash → file config → re-push → crashconfig_path.discovery.Registryis keyed by name, so it collapses same-host VPs. Depends on C7stream_ipcamera_idstream.raw_feed→stream.typeexposure.go. Pairs with C12robot-heights.yml), resolves yellow/blue from the referee, and pushes heights to every VP on a team change and on (re)discovery.network.gc_ip/gc_portbecome host-only settings, never written to the VP seed. Pairs with P6/C2DUMMYto the losing instance instead of holding the processcolor.*.livereference. Pairs with C9Recalibratecallback relies on the VP being stopped so it can't resend its old calibration. Coordinate with C4Applycollapses to live, host, or bootstrap. Keys outside the proto stay file-only until P1–P5 landcamera.pathaliasschema.go, thePathfallback incamera.go, and the frontend references. Existingvision.ymlfiles usingpathneed a migration: rename todeviceon load, or refuse with an alertnetwork.vision_ip/vision_port(league default 224.5.23.2:10006) as bootstrap inschema.go. Never push them; keep writing them to thecam<id>.ymlseed. Changing them is the one accepted case that needs a VP restart, for now