Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plane: combined patches for 4.2 on large quadplanes #21031

Open
wants to merge 61 commits into
base: Plane-4.2
Choose a base branch
from

Conversation

tridge
Copy link
Contributor

@tridge tridge commented Jun 24, 2022

This branch tracks 4.2 stable, but with some extra features:

  • 32 servo support
  • CAN EFI support
  • ARMING_REQUIRE=3 for MANUAL throttle while disarmed for IC motor starting
  • only run harmonic notches on active IMU
  • support ESC_TLM_MAV_OFS parameter
  • triple notch support
  • support logging both pre and post filter IMU data

@tridge tridge changed the base branch from master to Plane-4.2 June 24, 2022 04:23
@tridge tridge force-pushed the pr-plane4.2-bigplane branch 2 times, most recently from 61acac2 to b43edc4 Compare July 10, 2022 06:22
@tridge tridge force-pushed the pr-plane4.2-bigplane branch 2 times, most recently from 39c2ff4 to 75d2c37 Compare August 20, 2022 20:33
tridge and others added 29 commits August 21, 2022 14:14
save on param count for most users
this should save quite a lot of CPU. Only the active gyro impacts
vehicle flight
when we reset a notch we need to init the stored values to the current
value, rather than assuming that zero is the right value

this matters when switching IMUs in flight when we are only running
notch filters on the active gyro
this allows for much more complex filter setups as long as not
filtering on all IMUs
also fix a mavlink buffer starvation issue
this allows for the ESC telemetry to be remapped to a lower range for
GCS displays. Users often want their quadplane ESCs to show up as ESCs
1 to 8 instead of the high numbers used internally
this prevents a build error and saves flash
…ter IMU data for FFT

remove batch logging bitfields
this allows for any output to be an ESC, which allows for proper
simulation of quadplanes with ESCs on outputs 5-8 or 9-12, for testing
notch filtering
this allows for the number of dynamic filters on a harmonic notch
filter to expand at runtime, which allows for ESC RPMs to be populated
from other than AP_Motors, such as with lua scripts or for fwd motors
in a SLT quadplane
use INS_MAX_NOTCHES instead, allowing for more ESCs to be added by lua
scripts
this fixes ESC telem for quadplanes with motors at 5-8 or 9-12
@tridge tridge force-pushed the pr-plane4.2-bigplane branch from 75d2c37 to a3fc056 Compare August 21, 2022 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants