Repository navigation
Calibrate Utama field physics from real robot logs - #8
Merged
Merged
Conversation
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.
grSim's generic robot response and ball rolling differ from the supplied physical Utama field logs. Add an opt-in field configuration with separate models for the two physical robots, fitted from the confirmed 27–28 October runs.
grSim --settings FILEloads an explicit configuration for this run without overwriting personal settings. Explicit XML is validated in the shared loader. Apple bundles include the profiles and test both ordinary and field-profile startup after relocation, including the exact macOS 15 download on macOS 26.grSim_replay --checkpoint-every 1emits every simulation tick. Snapshot frequency is independent of fixture command cadence. Legacy v1 recordings without response fields retain their original physics.Physical validation uses the actual ODE solver, original recorded commands and physics-only measured windows. Of 172 release logs, simulator, uncertain 21 October, secondary 29 October, setup-only and unusable sessions are separated before fitting; no raw data, private reports or prototypes are committed. Whole source files are held out for ball fitting; robot gains use held-out command steps within recordings, not independent field days. Observation-path alignment is estimated on fit data and applied equally to both comparisons.
Ball scores cover 28 eligible windows from 11 held-out source files. Robot scores cover 27 held-out steps across both robots; angular groups contain three steps each. This is an initial calibration over observed speeds, not validation of all contacts or operating conditions. Missing spin/height/voltage measurements and invalid initial possession prevent reliable kicker/dribbler fitting; those failure snapshots remain separate. Intentional kicks are excluded from dribbler-loss labels.
Validation: the final revision passes all 28 local regressions (103.47 s), both Ubuntu CI builds, and all 27 native regressions on each of Apple Silicon macOS 15 and 26. The relocated macOS 15 package and that exact download on macOS 26 pass ordinary and field-profile startup with OpenGL. CI smoke checks use Apple's software renderer and do not establish hardware GPU frame rates. Standards and spec reviews have zero unresolved findings. Three interleaved 15-second 6 v 6 sustained-pushing trials per profile retain a 0.711 mm maximum shell penetration; the calibrated profile stays at least 2.35 times real time, with no observed performance regression. These headless wall times include startup and snapshots and do not measure GUI FPS. Direct double-precision ODE, fixed timestep and five substeps are retained.
CI: https://github.com/First-Order-RoboCup-SSL/grSim/actions/runs/41570327018
Data source: Utama-Core v2.5.0 field archive, release commit cffe3a2838024504305927d650bd80e105d8e1f2; archive checksums verified.