Skip to content

docs(vehicle-ph-plant): the four-wheel pH form, merged commits, review gaps - #142

Merged
transfix merged 2 commits into
mainfrom
docs/vehicle-ph-refresh
Nov 2, 2026
Merged

transfix merged 2 commits into
mainfrom
docs/vehicle-ph-refresh

Conversation

@transfix

@transfix transfix commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Refreshes docs/vehicle-ph-plant.tex and its PDF for what has merged in libcvc since #140, and for the gaps raised in review.

What changed

  • New §6, the four-wheel vehicle (nav: dyn_4w is port-Hamiltonian at every slip, with per-step energy books transfix/libcvc#850, 45dab152). dyn_4w in pH form at every slip:

    • the nine-coordinate state, J (canonical in the vertical, Lie–Poisson in the horizontal), R (secants and dampers, PSD at any slip and steering angle), G at the contact patches, and f_ε = 0;
    • the one-way lever term (the tires' lateral moments on roll and pitch), booked on its own line;
    • the opt-in grade force, which puts the terrain's energy in H;
    • the per-step books.
  • New Table 4: the Dyn4PH.* gates and the plant's two goldens. Measured on libcvc master at 6cc8cfdc, where nav_dyn_4w_test's 23 tests pass. The values match the pre-merge numbers:

    Gate Value
    residual's fall per halving of h 3.84–3.98×
    summed residual / flow at h = 0.01 s 5.0e-4 flat, 1.0e-3 hills
    grade force vs −∂H/∂pose within 3.6e-7 mg
    ground and grade lines over hills +3373 J and −3372 J
    coast up a 5% ramp, speed lost 0.986 m/s against g·s·t = 0.981
  • Merged commits: #852, #850 and #851 are cited by their squash commits (140bc2d0, 45dab152, b8ac9975) and first releases (3.7.2, 3.7.2, 3.7.3). The branch commits the earlier rows were measured on have the same nav/physics and ph sources and tests as those squash commits; I checked with git diff. #857 is cited as merged (713a14af, in pycvc from 3.7.2).

  • One #851 row re-measured: PhSe2Train.BothFormsFitTheDynamicBicycle. #851's branch predates #852's wheel-frame slip, and its squash commit includes it.

    Form Before #852 (branch) On master 6cc8cfdc
    reference: steering share 0.056 0.059
    reference: steps where steering supplies energy 74 of 250 33 of 250
    modulated: held-out loss 7.63 → 0.0092 7.63 → 0.0167

    The text and the table give both, labelled. The Adam learning-rate remark now says it was seen on the data from before #852.

  • New §11.1, gaps raised in review, and the work under way. It covers three gaps and says that none of the work is merged and no results are claimed. Each gap was checked against libcvc's code:

    • Actuation: no wheel spin in either analytic plant. The cut_flights rows have no wheel speeds, and the learned plant's V(x,y) depends on world position.
    • Collisions: the dynamic plants have no contact, and cut_flights drops every contact window.
    • Integration: geom_rollout_params::semi_implicit defaults to false, which is explicit Euler.

    One line says videos of successes and failures will be linked in a later revision.

  • Proposition 1 on T*SE(2) (commit f4062ac, the gap Yi Wang raised about q̇). The proposition now states the whole system on SE(2) × se(2)*, left-trivialized:

    • the structure is [[0, T(q)], [−T(q)ᵀ, J(p)]] minus diag(0, R). Its first row is q̇ = T(q)v; its second is the old momentum equation, which keeps its number;
    • T(q) is the rear axle's, as dyn_bike.h's pose is. That pose is a fixed right translation of the centre of gravity's, so the structure is the canonical one pushed forward and Jacobi holds;
    • a new Corollary 1 gives the reduction to se(2)* on level ground, with the passivity statement;
    • §3.5 says the grade is data θ(t) with force −mgθ eₓ, not a potential's gradient: the plant drops the side slope. With one, gravity would move into H. The plant uses the slope's sine where that potential gives its tangent; they agree to O(slope³);
    • the step's pose update is written out. The pose has no test of its own yet, only DynBike.Golden and the kinematic limit.
  • Smaller edits: the abstract, the contributions, the "What is not claimed" paragraph, the Grade aside, the "What is not twinned yet" paragraph (the four-wheel form has no torch twin), the §limits four-wheel paragraph (now its three open choices), the appendix build commands and printed lines, and the equation-to-code map.

Checks

  • pdflatex three passes: no warnings, 33 pages (at f4062ac).
  • Scope grep over the .tex: no program, engagement, radio or vehicle-preset terms, and no session names.
  • libcvc master 6cc8cfdc (Windows, MSVC 19.44 Release): the six suites in the appendix pass.
Suite Tests passed
nav_dyn_4w_test 23
nav_dyn_bike_test 23
physics_dyn_bike_plant_test 8
ph_se2_test 18
ph_se2_train_test 11
nav_potential_test 17

The single-track, learned-plant and navigator lines print the paper's values, except the #851 row above.

For your review

  • The reviewers aren't named in the text. I can add an acknowledgment line if you want one.
  • libcvc#940 (training through the four-wheel form's gradient) isn't covered.
  • On master the live plant's 30 s residuals now differ from the paper's (1.68e-4 of the flow for the full-size preset, against 1.10e-4). Those rows stay pinned to the #852 commit they were measured on.
  • Table 4 floats to page 24, just after §11 starts.
  • Paragraphs from the libcvc work on actuation, contact and integration will come as follow-up PRs as that work merges.

…w gaps

- A section on libcvc #850: dyn_4w in pH form at every slip, the one-way
  lever term, the opt-in grade force that puts the terrain in H, and the
  per-step books; a validation table of its Dyn4PH tests, measured on
  libcvc master 6cc8cfdc.
- #851, #852 and #850 cited by their squash commits (b8ac9975, 140bc2d0,
  45dab152) and first releases; #857 merged as 713a14af, in pycvc from 3.7.2.
- PhSe2Train.BothFormsFitTheDynamicBicycle re-measured on master, where it
  fits #852's plant (share 0.059, 33 of 250 steps, modulated 0.0167); the
  branch's pre-#852 values are kept as such.
- A subsection on the gaps raised in review (actuation, collisions,
  integration) and the work under way, with no results claimed.
- The PDF rebuilt: three pdflatex passes, no warnings.
Prop. 1 stated only the momentum equation. It now gives the whole system on
SE(2) x se(2)*, left-trivialized: the canonical structure [[0, T(q)],
[-T(q)^T, J(p)]], with q' = T(q) v as its first row. T(q) is the rear axle's,
as dyn_bike.h's pose is, a fixed right translation of the centre of gravity's
pose, so the structure is the canonical one pushed forward and Jacobi holds.
A corollary gives the level-ground reduction to se(2)* and the passivity from
the drive port. The grade section now says the grade is data, theta(t),
whose force -m g theta e_x is not a potential's: the plant drops the side
slope, and with one gravity would move into H (the sine of the slope against
the projected potential's tangent, equal to O(slope^3)). The step's pose
update is written out; the pose has no test of its own yet, only the golden
and the kinematic limit. PDF rebuilt: three passes, no warnings.
@transfix
transfix merged commit f1b39af into main Nov 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant