Repository navigation
nav_dyn_4w_test: the dyn4 ext rollout golden gets cases inside the controller's clamps - #798
Merged
Merged
Conversation
…ntroller's clamps Dyn4ExtRollout.Golden's four cases all saturate: a goal 5 away pins the acceleration at a_max, and at speed the lateral cap pins the steering. So their coefficient gradients are identically zero, as is dL/dF_ext wherever the force cannot move a pinned command, and a torch twin held to the golden never meets the coefficient path through the four-wheel plant. Two cases start slow with the goal 0.6 ahead, as DiffExtRollout's checks do: dL/dcoef up to 0.23 and dL/dF_ext up to 1.2. The first four are unchanged, byte for byte. Regenerated with CVC_DYN4_EXT_GOLDEN_WRITE=1; nav_dyn_4w_test passes.
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.
Dyn4ExtRollout.Golden(#780) is the golden that GRL-SNAM's torch twin ofdyn4_rollout_extis held to. All four of its cases saturate the controller:a_max;So their coefficient gradients are identically zero, on both sides. So is dL/dF_ext wherever the force can't move a pinned command (cases 1 and 3). A twin held to this golden never meets the coefficient path through the four-wheel plant.
This adds two cases inside the clamps. They start slow with the goal 0.6 ahead, as the
DiffExtRolloutchecks do:The first four cases' values are unchanged. Regenerated with
CVC_DYN4_EXT_GOLDEN_WRITE=1;nav_dyn_4w_testpasses 16/16 locally (Windows, cvcpkg prefix).GRL-SNAM's twin,
ext_rollout.dyn4_rollout_ext, is held to the regenerated golden in its own PR.