feat(hwci): bubble-search max_ramp and soft snaps for heavy props#47
Open
AlexKlimaj wants to merge 2 commits into
Open
feat(hwci): bubble-search max_ramp and soft snaps for heavy props#47AlexKlimaj wants to merge 2 commits into
AlexKlimaj wants to merge 2 commits into
Conversation
Stop thrashing the plant with ceiling-first 0.7 backoff verifies. Find the largest safe max_ramp from the floor (geometric climb + binary refine), scale the verify snap to the probe envelope (10" no longer forces 0.30→0.95), and ship a 900KV/10" tune spec plus a ramp_snap_10inch bench profile.
Cut throttle mid-profile when firmware bemf_timeout, RPM collapse, current spiral, or a blind-step burst appears after spin is established — do not finish remaining segments into a desynced rotor. Raise the 900KV/10" tune efficiency probe through 70% with matching safety.
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.
Summary
lois safe, geometric climb, binary refine to the largest safe value; optional physics hint is one probe, not a high-first ladder.max_rpmis low or the probe ceiling is modest (e.g. 900KV + 10″).tunes/ark4in1-900kv-10inch.yaml(full stages including the new ramp path) andprofiles/ramp_snap_10inch.yamlfor standalone snap A/B on the 10″ bench.test_tuner.py, 56 passed offline).Motivation
On 900KV + HQProp 10x5x3 + 6S, the old ramp stage spent dozens of trials desyncing from
max_ramp=255downward. Steady probe trials were clean; the failure mode was the search policy + snap geometry, not the efficiency stack. Floor-first search and probe-scaled snaps keep certification without thrashing the plant.Test plan
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 python -m pytest tests/test_tuner.py(56 passed)hwci tune --spec tunes/ark4in1-900kv-10inch.yaml --config rig.yaml --battery-cells 6hwci run --profile ramp_snap_10inch --config rig.yaml --battery-cells 6with current vs older firmware