Skip to content

Report FourPost anti on the wheel-center path beside the contact patch - #157

Merged
raorjun merged 1 commit into
fix/fourpost-labelsfrom
feat/fourpost-wheel-center-anti
Oct 29, 2026
Merged

raorjun merged 1 commit into
fix/fourpost-labelsfrom
feat/fourpost-wheel-center-anti

Conversation

@raorjun

@raorjun raorjun commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

What

FourPost reports anti-dive and anti-squat only for a longitudinal force that the upright reacts (the contact-patch path). That suits an outboard brake or a hub motor. With an inboard motor and differential, the chassis reacts the drive torque, and the anti comes from the wheel-center path. BobSim's default car (EVBatInvMotDiff) is inboard-driven, so its reported rear anti-squat uses the wrong path.

Changes

  • FourPost exports the contact-patch and wheel-center x positions.
  • Per axle at the design pose, it reports longitudinal_jacking_coeff_<axle>_{contact_patch,wheel_center}_path (N/N, from c = -(dx/ds)/(dz_cp/ds)) and anti_{dive,squat}_{contact_patch,wheel_center}_path_pct, with the same h/L and signs as the avg_ keys.
  • The avg_ keys keep their names and values. The report and docs label the force path.

How to check

  • A trailing-arm closed-form test: c_cp = z_p/x_p, c_wc = (z_p - R)/x_p.
  • A test that changing only the reaction path leaves the contact-patch values unchanged.
  • Modelica on the default car:
Axle Contact patch Wheel center
Front +0.00514 N/N (-2.72 %) -0.00389 N/N (+2.06 %)
Rear -0.00895 N/N (-4.74 %) +0.00473 N/N (+2.51 %)

The contact-patch values agree with the existing force-pulse averages (+0.00525 and -0.00881) within about 2 %.

Notes

Limits

This fixes the FourPost report only. VehicleSim still reacts every drive and brake torque at the upright: BobDyn/BobLib#59.

Stack

6 of 7. It depends on the BobLib frame names surviving #151's BobLib bump.

FourPost reported anti-dive and anti-squat only for an Fx that the
upright reacts. That is right for an outboard brake or a hub motor. An
inboard drive or brake reacts its torque on the chassis, so its anti
comes from the wheel-center path. The BobSim default car has an inboard
motor and a differential.

FourPost now exports the CP and wheel-center x positions and computes,
per axle at the design pose, the kinematic dFz/dFx on both paths and the
anti percent with the same h/L and signs as the avg_ keys. The new keys
name their force path. The avg_ keys keep their names and values.
@raorjun
raorjun added this pull request to stack #159 October 25, 2026 00:43
@raorjun
raorjun requested a review from rhorvath02 October 25, 2026 02:44
@raorjun
raorjun merged commit 0fd04b8 into main Oct 29, 2026
5 of 6 checks passed
@raorjun
raorjun deleted the feat/fourpost-wheel-center-anti branch October 29, 2026 22:20
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.

2 participants