The plant has no pitch or throttle dynamics, so a command changes the climb
and airspeed rates instantly. The harness fed TECS the rates of the previous
step's commands, so at every setpoint step the damping terms saw the full
step as rate error for one sample and the pitch integrator picked up an
offset that scales with DT. In the airspeed-less altitude step this kicked
the pitch by 0.027 rad and left the open-loop airspeed off by up to
0.012 m/s, although the feedforward alone was exact.
Feed TECS the rates its own new commands produce instead, found by
fixed-point iteration on a copy of the controller. This converges in a few
iterations while the static loop gain is below one, as at the default
damping gains. The airspeed-less and altitude step tests now hold airspeed
exactly with a zero pitch integrator.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Balduin <balduin@auterion.com>
Replace various hardcoded tracking tolerances:
- Add a second general constant for the tolerance of tracking errors
which do NOT scale down with smaller DT
- Adjust settling times so all tests reasonably reach this threshold
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Balduin <balduin@auterion.com>
Accumulating the simulation time in float drifts (the second altitude step
of a test landed at 40.0007 s) and the float loop condition could run one
step more than the requested duration. Count steps instead and derive the
time from the step count.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Balduin <balduin@auterion.com>
The low-pass filter on the total energy rate estimate lags the step, so
the throttle damping briefly overfunds the climb on the step up and the
open loop airspeed rose by 3 cm/s, which the test allowed for with a
looser bound. Disable the filter instead and hold the airspeed to the
numerical tolerance like the other exact cases.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
Without airspeed the speed weight is 0, so the SEB rate is twice the
potential energy rate, while the pitch feedforward converts it to a climb
angle as if they were equal and asks for twice the climb rate. With the
feedforward gain at 0.5 the vehicle flies the demanded climb rate exactly
and the altitude error decays first order with FW_T_ALT_TC, which the
test checks for a step down and a step up. At the default gain of 1 the
same checks miss by up to 1.8 m.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
The closed-loop harness is meant to test TECSControl on its own, but the
altitude setpoint went through TECSAltitudeReferenceModel first, so the
altitude step results also depended on how the reference model shapes
the setpoint. Feed TECSControl the raw altitude setpoint instead.
A raw step drops the throttle to idle at once, so the altitude step only
keeps airspeed exact if the pitch can follow just as fast. In TECSControl
the vertical acceleration limit only rate limits the pitch, so the step
test now disables it, and sizes the step so that the demanded sink rate
stays within FW_T_SINK_MIN, the sink rate flown at idle without speeding
up.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
The step down is not first order because the SEB rate to pitch
conversion ignores the total energy rate: the pitch feedforward climbs
with the kinetic energy the throttle is already removing, and the pitch
integrator takes it out again. The loops interacting is not the cause;
with a consistent conversion the response is first order.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
Couple TECSControl to a minimal aircraft model built from the energy
model TECS assumes internally: a piecewise linear throttle to total
energy rate map, climb rate from pitch and airspeed, and the remainder
of the energy rate into airspeed. With perfect state knowledge and no
model mismatch any tracking error is the controller's own, so the suite
exposes consistency errors between the pitch and throttle loops that
the unit tests on single updates cannot see.
Only the cases the current controller passes are included: steady
cruise, airspeed steps, a slow altitude step down, plant pitch offset,
gliding, fast descend and airspeed-less cruise. The altitude steps at
the default vertical acceleration, with a speed weight below 1 and
without airspeed fail today and come with the fixes they test.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: RomanBapst <bapstroman@gmail.com>
A mag bias reset that keeps the heading attributes the whole field
error to the bias, and its variance then converges without any
rotation. The bias is now only offered to the mag calibration once the
heading has changed by 90 degrees since its last reset.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
The heading stays aligned when the mag stops in flight, so GNSS starts
against a heading that may have drifted. A 60 degree error is corrected
by the GNSS fusion, a reversed heading by a yaw emergency reset.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
The trajectory only set the GNSS velocity, so the position stayed
fixed and contradicted it as soon as both were fused.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
When the mag fusion stopped without North-East aiding, the yaw
alignment was cleared and the heading reset to the mag when it came
back, also in flight. As for GNSS yaw, the alignment is now only
cleared before takeoff, and never after a manual heading.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
The manual heading flag expired after 30 s of heading fusion to allow
heading resets to the mag again. In flight those resets are gone, so
the flag now stays set and keeps protecting the heading on the ground.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
A WMM update without North-East aiding reset the heading to the mag
and zeroed the learned mag bias, also in flight. The heading is now
only reset on the ground; in flight the bias absorbs the declination
change and the heading converges by yawing.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
Without North-East aiding, a mag rejected for 7 s reset the heading to
the measured field, so a disturbed or wrongly rotated mag made the
heading jump in flight. The mag states now absorb the error instead.
Assisted-by: Claude:claude-fable-5-2
Signed-off-by: bresch <brescianimathieu@gmail.com>
Replaying about 150 logs found false positives only on standard VTOLs
after a quad-chute, with the tilt error above 60° for up to 1.75 s
while recovering from fixed-wing flight in multicopter mode.
All VTOL types switch to multicopter without back-transition on a
quad-chute, detected or commanded, and when a front transition is
aborted. The check now pauses for 5 s after such a switch instead of
raising the threshold for all VTOLs, so it protects the rest of the
multicopter flight.
The tilt check compares against the attitude setpoint, which the
omnicopter publishes and tracks at any orientation, including upside
down. Disabling the check is no longer needed for it to fly.
The tilt check limits the error from the attitude setpoint, which the
FD_FAIL_R name no longer describes. FD_FAIL_R becomes FD_TILT_ERROR,
now a float, and FD_FAIL_R_TTRI becomes FD_TILT_ERROR_T.
The old roll and pitch limits and trigger times meant something else,
so they start at the new defaults instead of being taken over. Only a
check disabled for both roll and pitch stays disabled, as -1.
Cover the tilt error check: threshold in all directions, error relative
to the attitude setpoint, yaw ignored, fallback to level with a stale
setpoint, disabling, trigger time and its reset, and the tailsitter
fixed-wing frame.
Also make the altitude loss tests independent of each other: the
fixture set parameters after the detector had read them on
construction, so each test ran with the previous test's values. Both
fixtures are now the detector's parameter parent, like Commander, and
apply parameters with updateParams().
Checking the absolute tilt from level conflicts with the vehicle's own
tilt limits: the threshold can be set below the maximum tilt, and
external modes that tilt further than the autopilot's limits trip the
check, so they can't benefit from its crash detection.
Compare the tilt with the attitude setpoint's tilt instead, falling back
to level without a recent setpoint, e.g. on rovers. Before arming the
setpoint is level, so a vehicle lying on its side still can't arm. The
tailsitter transition exception is no longer needed because the
transition setpoint is in the multicopter frame. The default trigger
time goes from 0.3 s to 1 s so that fixed-wing stick reversals, which
pass through a large error at a limited roll rate, don't trigger it.
Also reset the tilt hysteresis while attitude control is off, so a
pending trigger from before e.g. Acro can't skip the trigger time when
attitude control comes back on.
Checking roll and pitch against separate limits misses a combined
tilt: 45° roll with 45° pitch is a 60° tilt but stays below both
default 60° limits. Euler angles are also unreliable near 90° pitch
and when inverted.
FD_FAIL_R and FD_FAIL_R_TTRI now set the maximum tilt and its trigger
time. FD_FAIL_P and FD_FAIL_P_TTRI are removed without migration
(see the Upgrade Guide). The check is disabled with -1; 0 still
disables it for existing setups. In FailureDetectorStatus, fd_roll
and fd_pitch are replaced by fd_tilt.
When the battery estimate did not reach Home, type 6 took the closest
rally point even when it was farther away than Home. Return compares
destinations only by straight-line distance, so it has no reason to
prefer a rally point that is farther away than Home, and return.md says
type 6 falls back to Home unless a rally point is closer. Returns
started by the distance-aware battery failsafe hit this case.
Compare the rally points with the distance to Home, as type 6 already
does without a battery estimate.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: jonas <jonspero@me.com>
* fix(failsafe): allow GNSS loss to recover during the Hold delay
A GNSS failure that clears during the COM_FAIL_ACT_T Hold still latched
Return or Land, because COM_GNSSLOSS_ACT uses the OnModeChangeOrDisarm
clear condition. The vehicle then abandoned a mission it could have
continued.
If the failure clears while the vehicle is still holding, the action is
dropped and the user-intended mode continues, e.g. the mission resumes.
Once Return or Land has started, it stays latched as before. With
COM_FAIL_ACT_T=0 there is no Hold, so nothing changes.
Assisted-by: Claude:claude-opus-5-5
* fix(failsafe): restart the Hold delay after a failure clears during it
When a failsafe cleared during its Hold delay, the remaining delay kept
counting down. A new failure within that time did not reload it and only
got what was left, so it could Return almost without a Hold.
Reset the delay once no failsafe is pending, so that the next failure
gets the full COM_FAIL_ACT_T again. This applies to every failsafe.
Repeated failures still escalate: the start delay shrinks while a Hold
is active and refills at a quarter of that rate.
Assisted-by: Claude:claude-opus-5-5
* revert(failsafe): keep the remaining Hold delay after a failure clears
This reverts commit 5e9a8e8a14.
Restarting the delay for every new failure changed how a flapping
condition is handled, for every failsafe and not only GNSS. Without the
reset, a failure that comes back keeps the delay left over from the
previous one, so the action still fires on time. With it, only the start
delay escalation limits the flapping, which can take much longer, or
never fire if the condition is active less than a fifth of the time.
Keep the PR scoped to letting GNSS loss recover during the Hold.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Andrea Bernasconi <andrea.bernasconi@auterion.com>
* fix(failsafe): only clear GNSS loss during the Hold delay before Return starts
_current_delay is shared between failsafes. If another failsafe with a
delay is added on the same update as GNSS recovers, it re-arms the delay
and the GNSS Return or Land that was already running got removed.
Also require that the selected action is not beyond Hold yet.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Andrea Bernasconi <andrea.bernasconi@auterion.com>
---------
Signed-off-by: Andrea Bernasconi <andrea.bernasconi@auterion.com>
Co-authored-by: Anil Kircaliali <anil.kircaliali@auterion.com>
* Add new board "accton_godwit gfh7"
* Adjust the spacing.
* docs(boards/accton-godwit): Add support for the accton-godwit_gfh7 flight controller documentations.
* docs(boards): align Accton Godwit GFH7 page with board template
Bring the new GFH7 page in line with the flight controller page
template and the board's own configuration, so readers can wire and
set up the board from it:
- Fix image paths (all images were broken) and resize/compress the
images; split the tall wiring diagram into two.
- Use PX4 port labels and /dev/ttyS* devices in the serial port table
instead of ArduPilot SERIALn numbering, matching default.px4board.
- State 8 PWM outputs (PWM9 only drives NeoPixel LEDs), with DShot,
bidirectional DShot and timer groups.
- Explain how to enable CRSF/ELRS on the ELRS connector, since only
S.BUS is started by default.
- Add the standard notes and missing sections (Power, CAN, OSD, SD
card, debug port), the _default build target and QGC tip.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* add voltage description.
* modify doc description about UART、pinout.
* modified UART settings
* modified UART device description
* docs(boards/accton-godwit): tidy GFH7 voltage ratings section
Give the section its own heading and anchor, name the battery input after the VBAT pins, and drop the battery ratings that contradict each other (48V maximum vs 12S, and an undamaged range below the operating range) until the manufacturer confirms the values.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards/accton-godwit): note GFH7 ships with PX4 bootloader
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* Modify these messages:
1.RCDGV pad group.
2.Voltage Ratings info.
* modified message:
1. UART port description
2. Telemetry Radios description
* docs(boards/accton-godwit): match GFH7 page to the new serial port labels
#28817 moves the PX4 RC port to the SBUS connector (UART5), labels the
ELRS connector (UART4) TELEM/SERIAL 4 and the receive-only ESC telemetry
UART (USART1) EXT2, and fixes the 12 V enable polarity. Update the radio,
serial port mapping, power and debug build notes to match.
Assisted-by: Kiro:claude-opus-5.5
* chore(boards/accton-godwit): drop GFH7 board files from the docs branch
The board port is reviewed and updated in #28817. The copies here had
already drifted from it (for example TEL3 on /dev/ttyS7, which does not
exist), so keep this pull request to the documentation only.
Assisted-by: Kiro:claude-opus-5.5
* docs(boards/accton-godwit): document the GFH7 ELRS default and IMU heater
#28817 makes CRSF/ELRS on the ELRS connector the default RC input, turns
S.BUS off by default, and adds the IMU heater (off by default). Update
the radio, serial port mapping and debug build notes to match, and add
an IMU Heater section that explains how to enable it.
Assisted-by: Kiro:claude-opus-5.5
* docs(boards/accton-godwit): add GFH7 block diagram
Review on #28830 asked for a block diagram of the main components
(sensors, power supply), as required by the board support guide.
Assisted-by: Kiro:claude-opus-5.5
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards/accton-godwit): note GFH7 boots in Stabilized mode
The board sets COM_FLTMODE_BOOT to Stabilized instead of the PX4
default of Hold, so users should know which mode they get on power-up
and that a mode switch overrides it.
Assisted-by: Kiro:claude-opus-5.5
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards/accton-godwit): fix GFH7 debug port tables
* docs(boards/accton-godwit): list GFH7 OSD debug pads in board order
* docs(accton-godwit_gfh7): reference QGC board recognition PR in tip
Point the Building Firmware tip at mavlink/qgroundcontrol#15212 so it is accurate until QGC recognises GFH7.
* docs(boards/accton-godwit): fix GFH7 review issues
The block diagram named the wrong secondary IMU, the firmware tip linked
a QGC PR that was closed unmerged, and the S.BUS pin on the D-VTX
connector (shown in the pinout) was undocumented. Also tidy the
telemetry and debug port sections to the style guide.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards/accton-godwit): clarify GFH7 voltage ratings and label SBUS connector
Describe the 13V figure as the minimum for the 12V camera/VTX rail instead of a tested operating minimum, drop the unmeasured USB operational range, and relabel the UART5 connector in the block diagram as SBUS.
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards): reorder Accton Godwit GFH7 page to match board template
Match the flight controller page template so the page reads like other
board pages, and keep the images in a folder named after the page.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards): tidy Accton Godwit GFH7 page and add release note
Address the remaining editorial review findings so the page matches the
board template and other board pages, and list the new board in the
release notes.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards): rename to G-FH7 and address review questions
Rename the reader-facing board name from GFH7 to G-FH7 in the board
page, sidebar, manufacturer list, and main release notes.
State the battery input as up to 12S LiPo, note that the IMU heater
current is calculated from the resistor value (not measured), correct
the UART5 wiring for the SBUS and A-VTX connectors, and link the
IST8310 datasheet.
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards): update G-FH7 pin definition image
Replace the pinout with the updated drawing that labels UART5_TX on the
A-VTX connector and UART5_TX/UART5_RX on the SBUS connector.
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards): tidy G-FH7 UART5 wording and block diagram battery label
Put the S.BUS setup line first in the SBUS receiver bullet, so "To use
it" refers to the receiver rather than the A-VTX TX pin, and shorten the
UART5 serial table cell and the duplicated heater current note.
Change the block diagram battery label from "4~12S" to "Up to 12S",
since the authors confirmed there is no verified lower limit and the
page now says "Up to 12S LiPo".
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards): document G-FH7 A-VTX control and VTX driver
The A-VTX TX pin is the SmartAudio/Tramp control line, shared with
UART5_TX on the SBUS connector. Document how to use it (VTX_SER_CFG set
to Radio Controller) and that it can't be used together with an S.BUS
receiver on the SBUS connector.
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* docs(boards): fix G-FH7 RC, buzzer and wording review issues
Tell readers to disable CRSF when enabling DSM or GHST, since CRSF is
on TELEM/SERIAL 4 by default, and note that DSM receivers can't be bound
from PX4 because the board defines no SPEKTRUM_POWER. Say the BZ output
needs an active buzzer, because the board drives it as a plain GPIO.
Also define DFU, PPS and VTX at first use, link parameter setting, use
"co-processor" for the OSD consistently, fix ambiguous references in
the OSD and debug pad text, and narrow the debug-build ELRS limit to
the ELRS connector.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs: G-FH7: remove VTX control, apply ADC/power monitoring suggestions
PX4's VTX driver swaps RX/TX on the RC port (no RC_SERIAL_SWAP_RXTX on
this board), so SmartAudio/Tramp would not come out on the A-VTX TX pin.
State that PX4 does not use that pin instead.
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
* Update docs/en/flight_controller/accton-godwit_gfh7.md
* Update docs/en/flight_controller/accton-godwit_gfh7.md
* Update docs/en/releases/main.md
* docs(accton-godwit_gfh7): address review feedback
Apply remaining Hamish review suggestions on the G-FH7 board page:
clarify the switchable 12 V BEC output, note serial flashing over TELEM only,
expand GHST as TBS Ghost, warn that 3.3 V DSM receivers need a separate supply,
and match the OSD SWD pad wording to the FMU debug table.
* docs(boards): tidy G-FH7 interface, power, BOOT and ESC wiring text
Move the Interface Summary under Pinouts to match the board page
template, note that current monitoring needs setup, name the board's
BOOT button, and describe the ESC wiring diagram as it is drawn
(4-in-1 ESC on the ESC connector only).
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards): flatten G-FH7 images onto white for dark mode
The board drawings were black line art on a transparent background, so
in dark mode the lines all but vanished against the dark page.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
* docs(boards): drop space between value and unit on G-FH7 page
PX4 prefers no space between a value and its unit symbol (3V, not 3 V).
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
---------
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
Signed-off-by: g945643frankie <g945643@oz.nthu.edu.tw>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: g945643frankie <g945643@oz.nthu.edu.tw>
Co-authored-by: g945643frankie <106499958+g945643frankie@users.noreply.github.com>
The receiver thread answers TIMESYNC requests and REQUEST_EVENT
directly from handle_message(). Both sends went through
_mav_finalize_message_chan_send() without lock_send(), so they raced
with Mavlink::task_main on the shared per-channel mavlink_status_t
(current_tx_seq). TSan caught this in the SITL hex tests:
Read current_tx_seq task_main HIGHRES_IMU stream (holds lock_send)
Write current_tx_seq mavlink_rcv MavlinkTimesync::handle_message
The other receiver-side senders (mission, params, ftp, commands) already
take lock_send(); these two were missed.
Assisted-by: Claude:claude-opus-5-5
The log handler opens the log file in the receiver thread, but on
'mavlink stop' its destructor runs in the stop task and fclose()s it
there. On NuttX a FILE belongs to the task group that opened it:
fclose() from another task frees it while it stays linked in the
owner's stream list, and the owner frees it again on exit. This double
free corrupts the heap when USB is unplugged during a log download
(hardfault in mm_free, or load_mon hanging in mallinfo()).
Close the files at the end of MavlinkReceiver::run(), in the owning
thread.
Ported from the v1.18 fix in #29187.
Signed-off-by: Julian Oes <julian@oes.ch>
Run() calls exit_and_cleanup(desc) when should_exit() is set. That deletes the object, but Run() then continues to use _vehicle_status_sub, so the stop path reads freed memory.
Add the missing return. Reproduced with an ASan SITL build:
ERROR: AddressSanitizer: heap-use-after-free ... READ of size 8
#0 uORB::Subscription::subscribe() platforms/common/uORB/Subscription.cpp:48
#1 uORB::Subscription::updated() platforms/common/uORB/Subscription.hpp:133
#2 mag_bias_estimator::MagBiasEstimator::Run() MagBiasEstimator.cpp:84
freed by: MagBiasEstimator::~MagBiasEstimator()
Trigger: 'mag_bias_estimator start', then 'mag_bias_estimator stop'.
Assisted-by: deepseek
Signed-off-by: Summermu <23356722+Summermu@users.noreply.github.com>
* docs(parameters): add 4 new units
- A/V (ampere per volt)
- Pa (pascal)
- Pa/V (pascal per volt)
- MHz (megahertz)
* docs(parameters): add missing units
These parameters have a physical unit (often stated in their own
description) but no unit field, so QGC and the parameter reference show
them as unitless.
Add the missing units to 116 parameters.
Assisted-by: Claude:claude-opus-5-5
* docs(parameters): drop units from descriptions now in the unit field
Assisted-by: Claude:claude-opus-5-5
* fix(microstrain): label orientation parameters deg
src/drivers/ins/microstrain/MicroStrain.cpp requires these to be in
degrees (they are converted to radians at line 1121-1124), but the param
docstring mentioned which was moved to the unit field just before.
Fix by labelling correctly as degrees.
Signed-off-by: Balduin <balduin@auterion.com>
* docs(parameters): fix smaller inconsistencies
Address review from @dakejahl:
- mc_nn_control: MC_NN_MIN_RPM also in units of rpm
- sensors: remove redundant '#unit: Pa' comment
- microstrain: Typo in MS_GNSS_OFF2_Z
Signed-off-by: Balduin <balduin@auterion.com>
---------
Signed-off-by: Balduin <balduin@auterion.com>
Covers what landed on release/1.18 after v1.18.0-rc1 and was missing from
the notes, and restores the distance-aware return upgrade item that only
the release/1.18 copy had (#29620), so main is again a superset of it.
Adds upgrade items for the heater parameter rename, the ARK FPV
fixed-wing and VTOL targets, the Matek H743 bootloader board ID and the
strict MAVLink command parameter checks, and amends the signing, AGP and
parameter file items.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Sequential fusion of a vector observation must equal the vector Kalman
update at the linearisation point; the batch update has no processing
order. The test builds a prior with correlated velocity, attitude and
terrain, feeds the optical flow fusion two 2.5 sigma innovations that
both pass the gate, and compares state and covariance with the batch
update. A second test does the same through measurementUpdate() in both
processing orders.
On main the second flow axis is rejected after the first one moved the
state (test ratio 3.0), the state ends 2.5 away from the batch update
and the covariance 0.22; with an uncorrelated prior, recomputing the
second innovation from the already corrected state alone moves the
state by 0.045.
The whitepaper warns that relinearizing between the scalars of one
vector measurement pushes the following residuals outside the edit
thresholds, so which of them survive depends on the processing
order.