Files
PX4-Autopilot/src
Benjamin Cabé 9368a9826a perf(sensors/flight_mode_manager): drop two per-cycle topic copies (#29263)
VotedSensorsUpdate::imuPoll() copied the whole vehicle_imu_status of
each IMU on every vehicle_imu sample (200 Hz or more) to read two error
counters that are published at 10 Hz. Keep the latest counters and
update them only when a new status arrives; the voter gets the same
values as before.

FlightTaskManualAcceleration::update() copied vehicle_local_position by
value on every run, although it only reads it and the subscription only
changes in updateInitialize(). Take it by reference.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
2026-10-16 17:41:45 -06:00
..
…