mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-30 04:30:28 +08:00
feat(boards/px4/fmu-v4): default EKF2_LOG_VERBOSE off
The verbose estimator uORB nodes cost heap this board does not have. Measured on hardware with EKF2 running and two MAVLink instances up: 7440 B free at 0 against 3696 B at 1. Effect: 3744 B returned. On this board that is not optional headroom. With the receive stack fix alone and this parameter at its upstream default, the board comes up and streams telemetry but answers no request at all, no PARAM_VALUE and no COMMAND_ACK, and a ground station hangs requesting capabilities. Cost: the default logging profile picks up estimator* topics by name prefix at 2 Hz via add_optional_topic_multi, which only logs advertised topics, so turning it off removes innovations, variances, test ratios, states, the aid_src_* set and the bias topics, and Flight Review's innovation plots go empty on this board. estimator_status still carries the filtered test ratios, filter fault flags, reset counters and pre_flt_fail_innov_*, and replay still works because SDLOG_PROFILE bit 1 logs EKF2's inputs. Applied with param set-default so an operator can opt back in. rcS sources rc.board_defaults at line 280 and starts ekf2 at 437, and EKF2 reads the parameter in its constructor, so the default lands in time. Note a board with this parameter explicitly saved keeps its saved value.
This commit is contained in:
1 parent
097d86e201
commit
001817022a
1 file changed
+2
@@ -6,4 +6,6 @@
|
||||
param set-default BAT1_V_DIV 13.653333333
|
||||
param set-default BAT1_A_PER_V 36.367515152
|
||||
|
||||
param set-default EKF2_LOG_VERBOSE 0
|
||||
|
||||
safety_button start
|
||||
Reference in new issue
Block a user