Commit 3e54f4f
refactor: core-only default output with --extended, --step, --bode CLI (#153)
* feat: refactor default outputs to core-only and consolidate CLI flags
- Change default output to a "Core" set: Step Response, Spectrums, Tracking, and Latency.
- Disable specialized plots (Heatmaps, PSD, Feedforward, and extended PID analysis) by default to reduce file clutter.
- Consolidate PID Activity and PID Error plots under a single `--pid` flag.
- Add granular flags for all core outputs (`--spectrums`, `--tracking`, `--gyro-filt`).
- Introduce `--core` (marked as DEFAULT in help) and `--extended` (all plots except Bode) bulk controls.
- Update `--help` and README.md usage to reflect the new additive/exclusive flag behavior.
* feat: combine setpoint flags into a single --setpoint parameter
- Remove redundant --setpoint-diff flag.
- Update --setpoint to enable both Tracking and Feedforward (Setpoint Derivative) plots when used in 'Only' mode.
- Synchronize help message and README.md with the consolidated flag.
* docs: explicitly include Motor spectrums in --core description
* fix: mutual exclusion for --core/--extended, simplify PlotConfig init, update docs
- Add mutual exclusion check: --core and --extended now error if passed together
- Simplify has_only_flags block: replace none()+override pattern with if/else if/else
- Add sync comment on PlotConfig struct to keep none/default/all in step
- README: add breaking-change notice block for default core-only output
- README: restructure Output section into Core/Extended groups; add missing _SetpointDerivative_stacked.png
- OVERVIEW.md: update stale "defaults to all enabled" text; update flag list in arg-parsing description
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: merge --setpoint into --pid, drop --setpoint flag
--pid now covers the full PID tuning session: Tracking, FF (setpoint
derivative), PID Activity, and PIDsum/Error overlay. --setpoint is
removed as it was new to this branch with no prior users.
Update debug log, help text, README, and OVERVIEW.md accordingly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* revert: restore --setpoint flag, --pid back to 2 plots (Activity & Error)
Individual flags group by visual type, not tuning domain. --pid covers
pid_activity + pidsum_error_setpoint; --setpoint covers setpoint_vs_gyro
+ setpoint_derivative. Consistent with --spectrums, --psd, --heatmaps
grouping philosophy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* refactor: simplify CLI to default + --extended + --step + --bode
Drop all individual plot flags (--core, --motor, --spectrums, --tracking,
--gyro-filt, --setpoint, --pid, --psd, --heatmaps). Surfaced flags:
default (no flag) = core plots
--extended = all plots except Bode
--step = step response only
--bode = Bode only (requires system-id log)
--estimate-optimal-p = [EXPERIMENTAL] analysis add-on
Plot config derivation replaces the has_only_flags block with a simple
if/else if/else expression. Mark --estimate-optimal-p as experimental
in help text. Update README and OVERVIEW with explicit core/extended
plot lists in all three reference locations.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: restore --core [default] flag, clean up help text formatting
Add --core back as an explicit named flag for the default plot set,
mutually exclusive with --extended. Reformat --help to the standard
no-blank-lines-between-options layout with aligned columns and [default]
tag. Sync README and OVERVIEW to match.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* feat: gate verbose key-mapping diagnostics behind --debug flag
Flight data key mapping output (header detection per-channel) is now
only shown with --debug. The fallback warning (1 parent 09af3fa commit 3e54f4f
4 files changed
Lines changed: 214 additions & 162 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | | - | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
98 | | - | |
99 | | - | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| |||
0 commit comments