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

Commander: remove COM_POS_FS_DELAY #24063

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

MaEtUgR
Copy link
Member

@MaEtUgR MaEtUgR commented Dec 2, 2024

Solved Problem

When answering a support question I found that currently COM_POS_FS_DELAY configures the timeout for the internal vehicle_local_position uORB message which is to my knowledge not expected to time out as long as the estimator is running since it gets published regularly also when the position (or altitude) is flagged invalid.

A user-configurable timeout for the internal vehicle_local_position seems confusing in my eyes. It's a different timeout for fixed-wing and multirotor which might have made sense earlier but not really anymore since the topic is constantly published by the estimator and not expected to time out on either vehicle type and the parameter description is also misleading because it's outdated.

Solution

I remove the parameter and hardcode the timeout for the vehicle_local_position to 1 second.

Changelog Entry

Remove deprecated `COM_POS_FS_DELAY`

Alternatives

Is the estimate published so much less often when dead-reckoning as fixed-wing? If yes, shouldn't that fact then not be represented within the uORB message instead of a user-facing parameter?

Test coverage

No particular tests done.

Context

The end-user was looking to delay the failsafe land when the local position gets invalid and found a match with the parameter description but it didn't work as expected.

A user configurable delay for the internal `vehicle_local_position` seems confusing in my eyes. It's a different timeout for fixed-wing and multirotor which might have made sense earlier but not really anymore since the topic is constantly published by the estimator and not expected to time out on either vehicle type and the parameter description is also misleading because it's outdated.
@MaEtUgR MaEtUgR requested a review from sfuhrer December 2, 2024 15:16
@MaEtUgR MaEtUgR self-assigned this Dec 2, 2024
@MaEtUgR MaEtUgR marked this pull request as ready for review December 2, 2024 15:16
Copy link

github-actions bot commented Dec 2, 2024

FLASH Analysis

px4_fmu-v5x
    FILE SIZE        VM SIZE    
--------------  -------------- 
+2.3%    +302  [ = ]       0    [Unmapped]
-0.0%      -4  [ = ]       0    .debug_frame
-0.0%    -146  [ = ]       0    .debug_loc
  +0.8%    +228  [ = ]       0    ../../src/modules/commander/Commander.cpp
  +0.0%     +46  [ = ]       0    [section .debug_loc]
  +1.0%     +42  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp
  +0.3%     +26  [ = ]       0    ../../src/modules/navigator/mission_base.cpp
  +0.0%     +14  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/FlightTaskAutoFollowTarget.cpp
  +0.0%     +14  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  +0.1%     +13  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  +0.0%     +13  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  +0.1%     +13  [ = ]       0    ../../src/modules/mag_bias_estimator/MagBiasEstimator.cpp
  +0.1%     +13  [ = ]       0    ../../src/modules/navigator/navigator_main.cpp
  +0.1%     +13  [ = ]       0    ../../src/modules/sensors/vehicle_optical_flow/VehicleOpticalFlow.cpp
  -0.0%      -2  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
  -0.0%      -3  [ = ]       0    ../../src/modules/sensors/vehicle_imu/VehicleIMU.cpp
  -0.0%      -9  [ = ]       0    ../../src/modules/simulation/simulator_sih/sih.cpp
  -0.2%     -13  [ = ]       0    ../../src/drivers/rc/crsf_rc/CrsfRc.cpp
  -0.1%     -13  [ = ]       0    ../../src/modules/airspeed_selector/airspeed_selector_main.cpp
  -0.3%     -13  [ = ]       0    ../../src/modules/commander/ModeManagement.cpp
  -0.1%     -13  [ = ]       0    ../../src/modules/fw_rate_control/FixedwingRateControl.cpp
  -0.1%     -13  [ = ]       0    ../../src/modules/navigator/rtl_direct.cpp
  -0.6%    -162  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
  -2.0%    -340  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0%    -168  [ = ]       0    .debug_ranges
  -2.0%     -80  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -1.1%     -88  [ = ]       0    ../../src/modules/commander/Commander.cpp
-0.0%    -214  [ = ]       0    .debug_line
  -0.0%      -1  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
  -0.1%     -29  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -0.2%     -64  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -1.0%    -120  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0%    -304  -0.0%    -304    .text
  -0.5%     -28  -0.5%     -28    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -0.0%     -51  -0.0%     -51    [section .text]
  -0.2%     -58  -0.2%     -58    ../../src/lib/parameters/parameters.cpp
  -0.3%     -68  -0.3%     -68    ../../src/modules/commander/Commander.cpp
  -0.1%     -99  -0.1%     -99    ROMFS/nsh_romfsimg.c
-0.0%    -970  [ = ]       0    .debug_str
  -0.0%      -1  [ = ]       0    src/modules/flight_mode_manager/FlightTasks_generated.cpp
  -0.0%     -11  [ = ]       0    ../../src/modules/flight_mode_manager/FlightModeManager.cpp
  -0.0%     -14  [ = ]       0    [section .debug_str]
  -0.1%     -16  [ = ]       0    ../../src/drivers/batt_smbus/batt_smbus.cpp
  -2.5%     -95  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -0.7%    -833  [ = ]       0    ../../src/modules/commander/Commander.cpp
-0.0% -3.56Ki  [ = ]       0    .debug_info
  -0.0%      -8  [ = ]       0    ../../src/drivers/batt_smbus/batt_smbus.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/cdcacm_autostart/cdcacm_autostart.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/dshot/DShot.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/heater/heater.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled/rgbled.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_is31fl3195/rgbled_is31fl3195.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_lp5562/rgbled_lp5562.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_ncp5623c/rgbled_ncp5623c.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/osd/msp_osd/msp_osd.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina226/ina226.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina226/ina226_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina228/ina228.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina228/ina228_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina238/ina238.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina238/ina238_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/pm_selector_auterion/PowerMonitorSelectorAuterion.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/pwm_out/PWMOut.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc/crsf_rc/CrsfRc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc/dsm_rc/DsmRc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc/ghst_rc/GhstRc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc/sbus_rc/SbusRc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc_input/RCInput.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/smart_battery/batmon/batmon.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/actuators/esc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/actuators/servo.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/remoteid.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/rgbled.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/sensors/battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/sensors/sensor_bridge.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_servers.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/avoidance/ObstacleAvoidance.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/battery/battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/collision_prevention/CollisionPrevention.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/led/led.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/mixer_module/mixer_module.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/rtl/rtl_time_estimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/weather_vane/WeatherVane.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/airspeed_selector/airspeed_selector_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/battery_status/analog_battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/battery_status/battery_status.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/camera_feedback/CameraFeedback.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/Common.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/accelerometerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/airspeedCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/armPermissionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/baroCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/cpuResourceCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/distanceSensorChecks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/escCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/externalChecks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/failureDetectorCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/flightTimeCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/gyroCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/homePositionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/imuConsistencyCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/loggerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/magnetometerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/manualControlCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/missionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/modeCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/navigatorCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/offboardCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/openDroneIDCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/parachuteCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/powerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/rcAndDataLinkCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/rcCalibrationCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/sdcardCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/systemCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/vtolCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/windCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/ModeManagement.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/MulticopterThrowLaunch/MulticopterThrowLaunch.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failsafe/failsafe.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failsafe/framework.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failure_detector/FailureDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessControlSurfaces.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessCustom.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessFixedWing.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterCoaxial.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessMCTilt.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessMultirotor.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessStandardVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTilts.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessUUV.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ControlAllocation/ControlAllocationSequentialDesaturation.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ControlAllocator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/esc_battery/EscBattery.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/events/send_event.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/FlightModeManager.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Auto/FlightTaskAuto.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/FlightTaskAutoFollowTarget.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/follow_target_estimator/TargetEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Descend/FlightTaskDescend.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Failsafe/FlightTaskFailsafe.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/FlightTask/FlightTask.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAcceleration/FlightTaskManualAcceleration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAccelerationSlow/FlightTaskManualAccelerationSlow.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualPosition/FlightTaskManualPosition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickAccelerationXY.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickTiltXY.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickYaw.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/Sticks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_att_control/FixedwingAttitudeControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_autotune_attitude_control/fw_autotune_attitude_control.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_rate_control/FixedwingRateControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/gyro_calibration/GyroCalibration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/AirshipLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/FixedwingLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/LandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/MulticopterLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/RoverLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/VtolLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/land_detector_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/load_mon/LoadMon.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/logger/logger.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mag_bias_estimator/MagBiasEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/manual_control/ManualControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_att_control/mc_att_control_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_pos_control/MulticopterPositionControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_rate_control/MulticopterRateControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/GeofenceBreachAvoidance/geofence_breach_avoidance.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/MissionFeasibility/FeasibilityChecker.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/geofence.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/land.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/loiter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_base.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_block.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_feasibility_checker.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/navigator_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/navigator_mode.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/precland.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_direct.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_direct_mission_land.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_mission_fast.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_mission_fast_reverse.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/takeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/vtol_takeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/payload_deliverer/payload_deliverer.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/rc_update/rc_update.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/sensors.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_acceleration/VehicleAcceleration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_air_data/VehicleAirData.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_angular_velocity/VehicleAngularVelocity.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_gps_position/VehicleGPSPosition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_imu/VehicleIMU.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_magnetometer/VehicleMagnetometer.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_optical_flow/VehicleOpticalFlow.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/voted_sensors_update.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/simulation/pwm_out_sim/PWMSim.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/simulation/sensor_baro_sim/SensorBaroSim.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/simulation/sensor_gps_sim/SensorGpsSim.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/simulation/sensor_mag_sim/SensorMagSim.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/simulation/simulator_sih/sih.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/temperature_compensation/TemperatureCompensationModule.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/uxrce_dds_client/uxrce_dds_client.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/standard.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/tailsitter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/tiltrotor.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/vtol_att_control_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/vtol_type.cpp
  -0.0%      -8  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
  -0.0%      -8  [ = ]       0    src/modules/flight_mode_manager/FlightTasks_generated.cpp
  -0.0%      -8  [ = ]       0    src/modules/mavlink/modules__mavlink_unity.cpp
  -0.2%    -429  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -0.5%    -440  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/HealthAndArmingChecks.cpp
  -0.8%    -440  [ = ]       0    ../../src/modules/commander/UserModeIntention.cpp
  -1.0%    -851  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0% -5.03Ki  -0.0%    -304    TOTAL

px4_fmu-v6x
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.2%    +137  [ = ]       0    [Unmapped]
+0.0%      +8  [ = ]       0    .debug_frame
-0.0%    -112  [ = ]       0    .debug_ranges
  +0.5%     +56  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -2.0%     -80  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -1.1%     -88  [ = ]       0    ../../src/modules/commander/Commander.cpp
-0.0%    -118  [ = ]       0    .debug_line
  +0.3%     +66  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -0.2%     -64  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -1.0%    -120  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0%    -136  -0.0%    -136    .text
  +0.3%     +68  +0.3%     +68    ../../src/lib/parameters/parameters.cpp
  -0.0%      -4  -0.0%      -4    src/modules/ekf2/modules__ekf2_unity.cpp
  -0.0%     -12  -0.0%     -12    [section .text]
  -0.5%     -28  -0.5%     -28    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -0.3%     -68  -0.3%     -68    ../../src/modules/commander/Commander.cpp
  -0.1%     -92  -0.1%     -92    ROMFS/nsh_romfsimg.c
-0.0%    -358  [ = ]       0    .debug_loc
  +0.9%    +241  [ = ]       0    ../../src/modules/commander/Commander.cpp
  +0.0%     +13  [ = ]       0    ../../src/drivers/uavcan/uavcan_servers.cpp
  +0.1%     +13  [ = ]       0    ../../src/lib/collision_prevention/CollisionPrevention.cpp
  +0.3%     +13  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/FlightTask/FlightTask.cpp
  +0.1%     +13  [ = ]       0    ../../src/modules/navigator/rtl_direct.cpp
  +0.1%     +13  [ = ]       0    ../../src/modules/sensors/voted_sensors_update.cpp
  +0.0%     +11  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  -0.0%      -2  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -0.1%     -13  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  -0.1%     -13  [ = ]       0    ../../src/lib/avoidance/ObstacleAvoidance.cpp
  -0.2%     -13  [ = ]       0    ../../src/modules/gyro_calibration/GyroCalibration.cpp
  -0.2%     -13  [ = ]       0    ../../src/modules/navigator/MissionFeasibility/FeasibilityChecker.cpp
  -0.1%     -13  [ = ]       0    ../../src/modules/sensors/vehicle_magnetometer/VehicleMagnetometer.cpp
  -0.2%     -13  [ = ]       0    ../../src/modules/temperature_compensation/TemperatureCompensationModule.cpp
  -0.0%     -14  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/FlightTaskAutoFollowTarget.cpp
  -0.1%     -15  [ = ]       0    ../../src/modules/fw_rate_control/FixedwingRateControl.cpp
  -1.0%     -42  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp
  -0.0%     -54  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
  -0.0%    -130  [ = ]       0    [section .debug_loc]
  -2.0%    -340  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0%    -958  [ = ]       0    .debug_str
  -0.0%     -14  [ = ]       0    [section .debug_str]
  -0.1%     -16  [ = ]       0    ../../src/drivers/cdcacm_autostart/cdcacm_autostart.cpp
  -2.5%     -95  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
  -0.7%    -833  [ = ]       0    ../../src/modules/commander/Commander.cpp
-0.0% -3.48Ki  [ = ]       0    .debug_info
  -0.0%      -8  [ = ]       0    ../../src/drivers/cdcacm_autostart/cdcacm_autostart.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/dshot/DShot.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/heater/heater.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled/rgbled.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_is31fl3195/rgbled_is31fl3195.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_lp5562/rgbled_lp5562.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/lights/rgbled_ncp5623c/rgbled_ncp5623c.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/osd/msp_osd/msp_osd.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina226/ina226.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina226/ina226_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina228/ina228.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina228/ina228_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina238/ina238.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/ina238/ina238_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/power_monitor/pm_selector_auterion/PowerMonitorSelectorAuterion.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/pwm_out/PWMOut.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/rc_input/RCInput.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/actuators/esc.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/actuators/servo.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/remoteid.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/rgbled.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/sensors/battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/sensors/sensor_bridge.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_servers.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/avoidance/ObstacleAvoidance.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/battery/battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/collision_prevention/CollisionPrevention.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/led/led.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/mixer_module/mixer_module.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/rtl/rtl_time_estimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/lib/weather_vane/WeatherVane.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/airspeed_selector/airspeed_selector_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/battery_status/analog_battery.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/battery_status/battery_status.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/camera_feedback/CameraFeedback.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/Common.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/accelerometerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/airspeedCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/armPermissionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/baroCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/batteryCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/cpuResourceCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/distanceSensorChecks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/escCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/externalChecks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/failureDetectorCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/flightTimeCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/geofenceCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/gyroCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/homePositionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/imuConsistencyCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/loggerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/magnetometerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/manualControlCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/missionCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/modeCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/navigatorCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/offboardCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/openDroneIDCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/parachuteCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/powerCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/rcAndDataLinkCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/rcCalibrationCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/sdcardCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/systemCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/vtolCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/windCheck.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/ModeManagement.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/MulticopterThrowLaunch/MulticopterThrowLaunch.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failsafe/failsafe.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failsafe/framework.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/commander/failure_detector/FailureDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessControlSurfaces.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessCustom.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessFixedWing.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterCoaxial.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessMCTilt.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessMultirotor.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessStandardVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTilts.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessUUV.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ControlAllocation/ControlAllocationSequentialDesaturation.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/control_allocator/ControlAllocator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/esc_battery/EscBattery.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/events/send_event.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/FlightModeManager.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Auto/FlightTaskAuto.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/FlightTaskAutoFollowTarget.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/AutoFollowTarget/follow_target_estimator/TargetEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Descend/FlightTaskDescend.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Failsafe/FlightTaskFailsafe.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/FlightTask/FlightTask.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAcceleration/FlightTaskManualAcceleration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAccelerationSlow/FlightTaskManualAccelerationSlow.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/ManualPosition/FlightTaskManualPosition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickAccelerationXY.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickTiltXY.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/StickYaw.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Utility/Sticks.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_att_control/FixedwingAttitudeControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_autotune_attitude_control/fw_autotune_attitude_control.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/fw_rate_control/FixedwingRateControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/gyro_calibration/GyroCalibration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/AirshipLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/FixedwingLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/LandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/MulticopterLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/RoverLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/VtolLandDetector.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/land_detector/land_detector_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/load_mon/LoadMon.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/logger/logger.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mag_bias_estimator/MagBiasEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/manual_control/ManualControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_att_control/mc_att_control_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_pos_control/MulticopterPositionControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/mc_rate_control/MulticopterRateControl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/GeofenceBreachAvoidance/geofence_breach_avoidance.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/MissionFeasibility/FeasibilityChecker.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/geofence.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/land.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/loiter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_base.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_block.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/mission_feasibility_checker.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/navigator_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/navigator_mode.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/precland.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_direct.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_direct_mission_land.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_mission_fast.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/rtl_mission_fast_reverse.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/takeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/navigator/vtol_takeoff.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/rc_update/rc_update.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/sensors.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_acceleration/VehicleAcceleration.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_air_data/VehicleAirData.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_angular_velocity/VehicleAngularVelocity.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_gps_position/VehicleGPSPosition.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_imu/VehicleIMU.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_magnetometer/VehicleMagnetometer.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/vehicle_optical_flow/VehicleOpticalFlow.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/sensors/voted_sensors_update.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/temperature_compensation/TemperatureCompensationModule.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/uxrce_dds_client/uxrce_dds_client.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/standard.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/tailsitter.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/tiltrotor.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/vtol_att_control_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/vtol_att_control/vtol_type.cpp
  -0.0%      -8  [ = ]       0    ../../src/systemcmds/i2c_launcher/i2c_launcher.cpp
  -0.0%      -8  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
  -0.0%      -8  [ = ]       0    src/modules/flight_mode_manager/FlightTasks_generated.cpp
  -0.0%      -8  [ = ]       0    src/modules/mavlink/modules__mavlink_unity.cpp
  -0.0%     -12  [ = ]       0    ../../src/lib/parameters/parameters.cpp
  -0.2%    -428  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -0.5%    -440  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/HealthAndArmingChecks.cpp
  -0.8%    -440  [ = ]       0    ../../src/modules/commander/UserModeIntention.cpp
  -1.0%    -851  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/estimatorCheck.cpp
-0.0% -4.98Ki  -0.0%    -136    TOTAL

Updated: 2024-12-02T15:22:12

Copy link
Contributor

@sfuhrer sfuhrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I so far never touched COM_POS_FS_DELAY, the fixed-wing dead-reckoning behavior is tuned with COM_POS_FS_EPH. Wouldn't know when you'd want to set this to anything else than 1 so I agree with removing it.

Copy link
Member

@bresch bresch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sets number of seconds that the position checks need to be failed before the failsafe will activate

Looks like the original implementation was a failsafe reaction delay, not just a timeout. 1s timeout on the local position message is reasonable and does not need to depend on the vehicle type (they all run the same estimator with same data rates).

@MaEtUgR MaEtUgR merged commit d416cd2 into main Dec 3, 2024
59 of 62 checks passed
@MaEtUgR MaEtUgR deleted the maetugr/remove-COM_POS_FS_DELAY branch December 3, 2024 16:31
@hamishwillee
Copy link
Contributor

hamishwillee commented Dec 3, 2024

@MaEtUgR This is referenced in https://docs.px4.io/main/en/config/safety.html#position-gnss-loss-failsafe - what change is needed? Is it simply that after 1s of not having a position estimate the failsafe triggers?

Or to put it another way, does this capture what is needed in the docs PX4/PX4-user_guide#3479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants