x - #40
Open
peterbarker wants to merge 11 commits into
Open
Conversation
peterbarker
force-pushed
the
pr-claude/remove-control-in
branch
5 times, most recently
from
May 9, 2026 06:11
15be402 to
8a98fea
Compare
peterbarker
force-pushed
the
pr-claude/remove-control-in
branch
3 times, most recently
from
May 11, 2026 11:35
3c8dba0 to
9c7e4c4
Compare
peterbarker
force-pushed
the
pr-claude/remove-control-in
branch
2 times, most recently
from
May 22, 2026 05:51
4564b9c to
4c5cec6
Compare
peterbarker
force-pushed
the
pr-claude/remove-control-in
branch
from
June 25, 2026 03:56
4c5cec6 to
4488015
Compare
The refactored get_throttle_mid() used radio_trim as the PWM reference point, but the original get_control_mid() used (radio_min + radio_max)/2 (the geometric midpoint of the stick travel). When radio_trim differs from that midpoint the throttle expo-curve splits at the wrong position, biasing the lower or upper half of the response. Restore the geometric midpoint to match the original behaviour. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Tests verify: - norm_input_dz() on a RANGE channel is a drop-in replacement for the old get_control_in() across a variety of min/max/deadzone configs - the fixed get_throttle_mid() matches the original get_control_mid() - the buggy version (which used radio_trim instead of the geometric midpoint) diverges whenever trim != (radio_min + radio_max) / 2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
peterbarker
force-pushed
the
pr-claude/remove-control-in
branch
from
June 27, 2026 01:34
4488015 to
e403b0a
Compare
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
Classification & Testing (check all that apply and add your own)
Description