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

WIP: Fixed wing control API #24056

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

WIP: Fixed wing control API #24056

wants to merge 13 commits into from

Conversation

RomanBapst
Copy link
Contributor

@RomanBapst RomanBapst commented Nov 29, 2024

Solved Problem

Refactor fixed wing position controller to create flexible control API according to diagram provided.

Screenshot from 2024-11-29 10-10-48

TODO:

  • split controllers into separate modules where it makes sense
  • refactor longitudinal control, only lateral part done until now
  • handle constraints (throttle, roll) -> similar to what we do for multicopters

Changelog Entry

For release notes:

Feature/Bugfix XYZ
New parameter: XYZ_Z
Documentation: Need to clarify page ... / done, read docs.px4.io/...

Alternatives

We could also ...

Test coverage

Context

Related links, screenshot before/after, video

Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
Copy link

github-actions bot commented Dec 20, 2024

🔎 FLASH Analysis

px4_fmu-v5x [Total VM Diff: -10240 byte (-0.5 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +598  [ = ]       0    .debug_abbrev
  [NEW] +2.08Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -2.18Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -2.68Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
   +11%     +56  [ = ]       0    ../../src/lib/version/version.c
  -4.2%    -190  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.6%     -15  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.2%    -272  [ = ]       0    .debug_aranges
  [NEW]    +192  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -272  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL]    -248  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -5.0%      -8  [ = ]       0    ../../src/lib/version/version.c
  -5.0%     -64  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.4% -1.66Ki  [ = ]       0    .debug_frame
-0.1% -29.4Ki  [ = ]       0    .debug_info
  +0.4%     +42  [ = ]       0    ../../platforms/common/uORB/Subscription.cpp
  +0.3%     +42  [ = ]       0    ../../platforms/common/uORB/SubscriptionInterval.cpp
  +0.1%     +42  [ = ]       0    ../../platforms/common/uORB/uORB.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBDeviceMaster.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBDeviceNode.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBManager.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/nuttx/src/px4/common/gpio/mcp23009/mcp23009.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/adc/ads1115/ads1115_main.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/adc/board_adc/ADC.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/barometer/bmp388/bmp388.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/barometer/ms5611/ms5611.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/camera_capture/camera_capture.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/camera_trigger/camera_trigger.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/cdcacm_autostart/cdcacm_autostart.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/ms4525do/MS4525DO.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/ms5525dso/MS5525DSO.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/sdp3x/SDP3X.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/distance_sensor/cm8jl65/CM8JL65.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/distance_sensor/lightware_laser_serial/lightware_laser_serial.cpp
 -100.2% -30.3Ki  [ = ]       0    [483 Others]
-0.3% -15.3Ki  [ = ]       0    .debug_line
  [NEW] +3.83Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -5.75Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -8.16Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -1.3%     -25  [ = ]       0    ../../src/lib/version/version.c
 -19.6% -10.6Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.2%      -6  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +0.3%     +21  [ = ]       0    ../../src/modules/logger/logged_topics.cpp
  +0.0%      +8  [ = ]       0    ../../src/modules/logger/logger.cpp
  [NEW] +1.31Ki  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW] +1.32Ki  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW] +1.30Ki  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW] +1.31Ki  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  +2.3%    +132  [ = ]       0    msg/topics_sources/uORBTopics.cpp
  -0.4%      -5  [ = ]       0    task/task_cancelpt.c
-0.8% -44.9Ki  [ = ]       0    .debug_loc
  -0.5%     -15  [ = ]       0    ../../src/drivers/camera_capture/camera_capture.cpp
  -0.2%     -15  [ = ]       0    ../../src/drivers/osd/msp_osd/msp_osd.cpp
  -0.1%     -15  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  +1.2%     +15  [ = ]       0    ../../src/drivers/rc/ghst_rc/ghst_telemetry.cpp
  +0.3%     +13  [ = ]       0    ../../src/drivers/rc_input/crsf_telemetry.cpp
  +0.2%     +15  [ = ]       0    ../../src/drivers/telemetry/bst/bst.cpp
  +0.7%     +30  [ = ]       0    ../../src/drivers/telemetry/frsky_telemetry/sPort_data.cpp
  -0.0%     -16  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  +0.1%     +15  [ = ]       0    ../../src/lib/avoidance/ObstacleAvoidance.cpp
  -0.1%     -30  [ = ]       0    ../../src/lib/collision_prevention/CollisionPrevention.cpp
 -28.3% -1.93Ki  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW] +8.53Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -14.9Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  -0.2%     -15  [ = ]       0    ../../src/lib/rtl/rtl_time_estimator.cpp
  [DEL] -12.7Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  +0.0%     +15  [ = ]       0    ../../src/modules/commander/Commander.cpp
  +0.4%     +15  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/gyroCheck.cpp
  +0.1%     +30  [ = ]       0    ../../src/modules/commander/accelerometer_calibration.cpp
  +1.2%     +15  [ = ]       0    ../../src/modules/commander/airspeed_calibration.cpp
  +1.1%     +15  [ = ]       0    ../../src/modules/events/status_display.cpp
 -101.5% -24.0Ki  [ = ]       0    [26 Others]
-0.7% -9.31Ki  [ = ]       0    .debug_ranges
 -18.1%    -272  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW] +1.32Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -2.10Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -2.11Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -2.6%      -8  [ = ]       0    ../../src/lib/version/version.c
 -27.9% -6.50Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.6%      -8  [ = ]       0    ../../src/modules/logger/logged_topics.cpp
  +0.1%      +8  [ = ]       0    ../../src/modules/logger/logger.cpp
  +0.6%    +296  [ = ]       0    [section .debug_ranges]
  [NEW]     +16  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  +1.5%      +1  [ = ]       0    task/task_cancelpt.c
-0.7% -23.1Ki  [ = ]       0    .debug_str
  +0.3%    +191  [ = ]       0    
  +1.0%    +169  [ = ]       0    ../../src/drivers/adc/ads1115/ads1115_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
   +13%     +78  [ = ]       0    ../../src/lib/geo/geo.cpp
 -14.8%     -17  [ = ]       0    ../../src/lib/motion_planning/HeadingSmoothing.cpp
  [NEW]    +396  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -561  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL]    -953  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -2.6%      -8  [ = ]       0    ../../src/lib/weather_vane/WeatherVane.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/airspeed_selector/airspeed_selector_main.cpp
  -0.0%      -6  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -1.5%      -9  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessControlSurfaces.cpp
  -0.1%      -1  [ = ]       0    ../../src/modules/control_allocator/ControlAllocation/ControlAllocation.cpp
  -0.0%     -10  [ = ]       0    ../../src/modules/control_allocator/ControlAllocator.cpp
  -1.8%      -8  [ = ]       0    ../../src/modules/ekf2/EKF/output_predictor/output_predictor.cpp
  -0.3%     -10  [ = ]       0    ../../src/modules/ekf2/EKF/yaw_estimator/EKFGSF_yaw.cpp
  -0.3%     -10  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Auto/FlightTaskAuto.cpp
  -6.7%      -5  [ = ]       0    ../../src/modules/fw_att_control/fw_yaw_controller.cpp
  -0.0%      -1  [ = ]       0    ../../src/modules/fw_autotune_attitude_control/fw_autotune_attitude_control.cpp
 -20.1% -22.6Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
 -100.0%    +293  [ = ]       0    [19 Others]
+0.5%      +1  [ = ]       0    .shstrtab
-0.3% -2.15Ki  [ = ]       0    .strtab
 -44.9%    -315  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW]    +670  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -762  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -1.81Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -8.1%     -32  [ = ]       0    ../../src/lib/version/version.c
  -3.8%    -314  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.2%      -1  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +1.6%     +40  [ = ]       0    ../../src/modules/gimbal/input_mavlink.cpp
  +0.2%    +166  [ = ]       0    [section .strtab]
  [NEW]     +66  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +76  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +29  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +34  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.3% -1.62Ki  [ = ]       0    .symtab
  +0.7%     +16  [ = ]       0    ../../src/drivers/gps/gps.cpp
  +1.7%     +16  [ = ]       0    ../../src/drivers/lights/rgbled_ncp5623c/rgbled_ncp5623c.cpp
  +0.1%     +16  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
 -39.0%    -256  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW]    +560  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -832  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -1.11Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -7.0%     -64  [ = ]       0    ../../src/lib/version/version.c
  -6.1%    -368  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -2.9%     -16  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +2.0%     +32  [ = ]       0    ../../src/modules/gimbal/input_mavlink.cpp
  +0.2%    +112  [ = ]       0    [section .symtab]
  [NEW]     +80  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +80  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +48  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +48  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  -2.5%     -16  [ = ]       0    nsh_envcmds.c
  +0.1%     +16  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
 +61% +10.00Ki  [ = ]       0    [Unmapped]
-0.5% -10.00Ki  -0.5% -10.00Ki    .text
  [NEW] +1.55Ki  [NEW] +1.55Ki    ../../src/lib/npfg/DirectionalGuidance.cpp
  +0.1%    +364  +0.1%    +364    [section .text]
  +1.5%     +76  +1.5%     +76    ../../src/modules/logger/logged_topics.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/longitudinal_control_limits.cpp
  +2.0%     +24  +2.0%     +24    msg/topics_sources/uORBTopics.cpp
  +0.4%     +16  +0.4%     +16    ../../src/modules/gimbal/input_mavlink.cpp
  [NEW]     +16  [NEW]     +16    msg/topics_sources/lateral_control_limits.cpp
   +75%     +12   +75%     +12    msg/topics_sources/navigator_mission_item.cpp
  +1.1%      +8  +1.1%      +8    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +0.0%      +4  +0.0%      +4    ../../src/modules/logger/logger.cpp
 -100.0%      -1 -100.0%      -1    [2 Others]
  -0.3%      -4  -0.3%      -4    ../../src/modules/logger/util.cpp
 -27.3%     -12 -27.3%     -12    msg/topics_sources/normalized_unsigned_setpoint.cpp
 -50.0%     -16 -50.0%     -16    msg/topics_sources/logger_status.cpp
  -0.0%     -39  -0.0%     -39    ROMFS/nsh_romfsimg.c
 -46.7%    -660 -46.7%    -660    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [DEL] -2.61Ki  [DEL] -2.61Ki    ../../src/lib/npfg/npfg.cpp
  [DEL] -4.28Ki  [DEL] -4.28Ki    ../../src/lib/tecs/TECS.cpp
 -16.4% -4.55Ki -16.4% -4.55Ki    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
-0.3%  -127Ki  -0.5% -10.00Ki    TOTAL

px4_fmu-v6x [Total VM Diff: -10240 byte (-0.52 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +598  [ = ]       0    .debug_abbrev
  [NEW] +2.08Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -2.18Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -2.68Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
   +11%     +56  [ = ]       0    ../../src/lib/version/version.c
  -4.2%    -190  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.6%     -15  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]    +900  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.2%    -272  [ = ]       0    .debug_aranges
  [NEW]    +192  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -272  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL]    -248  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -5.0%      -8  [ = ]       0    ../../src/lib/version/version.c
  -5.0%     -64  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +32  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.4% -1.66Ki  [ = ]       0    .debug_frame
-0.1% -30.1Ki  [ = ]       0    .debug_info
  +0.4%     +42  [ = ]       0    ../../platforms/common/uORB/Subscription.cpp
  +0.3%     +42  [ = ]       0    ../../platforms/common/uORB/SubscriptionInterval.cpp
  +0.1%     +42  [ = ]       0    ../../platforms/common/uORB/uORB.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBDeviceMaster.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBDeviceNode.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/common/uORB/uORBManager.cpp
  +0.2%     +42  [ = ]       0    ../../platforms/nuttx/src/px4/common/gpio/mcp23009/mcp23009.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/adc/ads1115/ads1115_main.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/adc/board_adc/ADC.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/barometer/bmp388/bmp388.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/barometer/invensense/icp201xx/ICP201XX.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/barometer/ms5611/ms5611.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/camera_capture/camera_capture.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/camera_trigger/camera_trigger.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/cdcacm_autostart/cdcacm_autostart.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/ms4525do/MS4525DO.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/ms5525dso/MS5525DSO.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/differential_pressure/sdp3x/SDP3X.cpp
  +0.2%     +42  [ = ]       0    ../../src/drivers/distance_sensor/cm8jl65/CM8JL65.cpp
  +0.1%     +42  [ = ]       0    ../../src/drivers/distance_sensor/lightware_laser_i2c/lightware_laser_i2c.cpp
 -100.2% -30.9Ki  [ = ]       0    [467 Others]
-0.3% -15.3Ki  [ = ]       0    .debug_line
  [NEW] +3.83Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -5.75Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -8.16Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -1.3%     -25  [ = ]       0    ../../src/lib/version/version.c
  +0.0%      +1  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Orbit/FlightTaskOrbit.cpp
 -19.6% -10.6Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.2%      -6  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +0.3%     +21  [ = ]       0    ../../src/modules/logger/logged_topics.cpp
  +0.0%      +8  [ = ]       0    ../../src/modules/logger/logger.cpp
  [NEW] +1.31Ki  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW] +1.32Ki  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW] +1.30Ki  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW] +1.31Ki  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  +2.3%    +132  [ = ]       0    msg/topics_sources/uORBTopics.cpp
  -0.1%      -1  [ = ]       0    task/task_cancelpt.c
-0.8% -44.6Ki  [ = ]       0    .debug_loc
  +0.4%     +15  [ = ]       0    ../../src/drivers/adc/board_adc/ADC.cpp
  -0.2%     -15  [ = ]       0    ../../src/drivers/camera_trigger/camera_trigger.cpp
  -0.2%     -15  [ = ]       0    ../../src/drivers/osd/msp_osd/msp_osd.cpp
  -0.1%     -15  [ = ]       0    ../../src/drivers/px4io/px4io.cpp
  +1.2%     +13  [ = ]       0    ../../src/drivers/rc_input/ghst_telemetry.cpp
  +0.0%     +19  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
  +0.0%     +14  [ = ]       0    ../../src/drivers/uavcan/uavcan_servers.cpp
  +0.3%     +15  [ = ]       0    ../../src/lib/adsb/AdsbConflict.cpp
  +0.1%     +15  [ = ]       0    ../../src/lib/avoidance/ObstacleAvoidance.cpp
 -28.3% -1.93Ki  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  +0.0%      +1  [ = ]       0    ../../src/lib/mixer_module/mixer_module.cpp
  [NEW] +8.53Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -14.9Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  -0.2%     -15  [ = ]       0    ../../src/lib/rtl/rtl_time_estimator.cpp
  [DEL] -12.7Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  +0.4%     +15  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/accelerometerCheck.cpp
  +0.6%     +15  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/baroCheck.cpp
  +0.0%      +1  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/externalChecks.cpp
  +0.4%     +15  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/gyroCheck.cpp
  +0.2%     +15  [ = ]       0    ../../src/modules/commander/HealthAndArmingChecks/checks/magnetometerCheck.cpp
 -101.4% -23.8Ki  [ = ]       0    [33 Others]
-0.8% -9.31Ki  [ = ]       0    .debug_ranges
 -18.1%    -272  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW] +1.32Ki  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL] -2.10Ki  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -2.11Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -2.6%      -8  [ = ]       0    ../../src/lib/version/version.c
 -27.9% -6.50Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.6%      -8  [ = ]       0    ../../src/modules/logger/logged_topics.cpp
  +0.1%      +8  [ = ]       0    ../../src/modules/logger/logger.cpp
  +0.6%    +296  [ = ]       0    [section .debug_ranges]
  [NEW]     +16  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +16  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  -1.5%      -1  [ = ]       0    task/task_cancelpt.c
-0.7% -23.1Ki  [ = ]       0    .debug_str
  +0.3%    +191  [ = ]       0    
  +1.0%    +169  [ = ]       0    ../../src/drivers/adc/ads1115/ads1115_main.cpp
  -0.0%      -8  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
   +13%     +78  [ = ]       0    ../../src/lib/geo/geo.cpp
 -14.8%     -17  [ = ]       0    ../../src/lib/motion_planning/HeadingSmoothing.cpp
  [NEW]    +396  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -561  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL]    -953  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -2.6%      -8  [ = ]       0    ../../src/lib/weather_vane/WeatherVane.cpp
  -0.0%      -8  [ = ]       0    ../../src/modules/airspeed_selector/airspeed_selector_main.cpp
  -0.0%      -6  [ = ]       0    ../../src/modules/commander/Commander.cpp
  -1.5%      -9  [ = ]       0    ../../src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessControlSurfaces.cpp
  -0.1%      -1  [ = ]       0    ../../src/modules/control_allocator/ControlAllocation/ControlAllocation.cpp
  -0.0%     -10  [ = ]       0    ../../src/modules/control_allocator/ControlAllocator.cpp
  -1.8%      -8  [ = ]       0    ../../src/modules/ekf2/EKF/output_predictor/output_predictor.cpp
  -0.3%     -10  [ = ]       0    ../../src/modules/ekf2/EKF/yaw_estimator/EKFGSF_yaw.cpp
  -0.3%     -10  [ = ]       0    ../../src/modules/flight_mode_manager/tasks/Auto/FlightTaskAuto.cpp
  -6.7%      -5  [ = ]       0    ../../src/modules/fw_att_control/fw_yaw_controller.cpp
  -0.0%      -1  [ = ]       0    ../../src/modules/fw_autotune_attitude_control/fw_autotune_attitude_control.cpp
 -20.1% -22.6Ki  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
 -100.0%    +288  [ = ]       0    [20 Others]
+0.5%      +1  [ = ]       0    .shstrtab
-0.3% -2.15Ki  [ = ]       0    .strtab
 -44.9%    -315  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW]    +670  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -762  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -1.81Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -8.1%     -32  [ = ]       0    ../../src/lib/version/version.c
  -3.8%    -314  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -0.2%      -1  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +1.6%     +40  [ = ]       0    ../../src/modules/gimbal/input_mavlink.cpp
  +0.2%    +166  [ = ]       0    [section .strtab]
  [NEW]     +66  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +76  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +29  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +34  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
-0.3% -1.62Ki  [ = ]       0    .symtab
  +0.7%     +16  [ = ]       0    ../../src/drivers/gps/gps.cpp
  +1.7%     +16  [ = ]       0    ../../src/drivers/lights/rgbled_ncp5623c/rgbled_ncp5623c.cpp
  +0.1%     +16  [ = ]       0    ../../src/drivers/uavcan/uavcan_main.cpp
 -39.0%    -256  [ = ]       0    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [NEW]    +560  [ = ]       0    ../../src/lib/npfg/DirectionalGuidance.cpp
  [DEL]    -832  [ = ]       0    ../../src/lib/npfg/npfg.cpp
  [DEL] -1.11Ki  [ = ]       0    ../../src/lib/tecs/TECS.cpp
  -7.0%     -64  [ = ]       0    ../../src/lib/version/version.c
  -6.1%    -368  [ = ]       0    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
  -2.9%     -16  [ = ]       0    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +2.0%     +32  [ = ]       0    ../../src/modules/gimbal/input_mavlink.cpp
  +0.2%    +112  [ = ]       0    [section .symtab]
  [NEW]     +80  [ = ]       0    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +80  [ = ]       0    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +48  [ = ]       0    msg/topics_sources/lateral_control_limits.cpp
  [NEW]     +48  [ = ]       0    msg/topics_sources/longitudinal_control_limits.cpp
  -2.5%     -16  [ = ]       0    nsh_envcmds.c
  +0.1%     +16  [ = ]       0    src/modules/ekf2/modules__ekf2_unity.cpp
 +14% +10.00Ki  [ = ]       0    [Unmapped]
-0.5% -10.00Ki  -0.5% -10.00Ki    .text
  [NEW] +1.55Ki  [NEW] +1.55Ki    ../../src/lib/npfg/DirectionalGuidance.cpp
  +0.1%    +364  +0.1%    +364    [section .text]
  +1.5%     +76  +1.5%     +76    ../../src/modules/logger/logged_topics.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/fw_lateral_control_setpoint.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/fw_longitudinal_control_setpoint.cpp
  [NEW]     +32  [NEW]     +32    msg/topics_sources/longitudinal_control_limits.cpp
  +2.0%     +24  +2.0%     +24    msg/topics_sources/uORBTopics.cpp
  +0.4%     +16  +0.4%     +16    ../../src/modules/gimbal/input_mavlink.cpp
  [NEW]     +16  [NEW]     +16    msg/topics_sources/lateral_control_limits.cpp
   +75%     +12   +75%     +12    msg/topics_sources/navigator_mission_item.cpp
  +1.1%      +8  +1.1%      +8    ../../src/modules/fw_pos_control/runway_takeoff/RunwayTakeoff.cpp
  +0.0%      +4  +0.0%      +4    ../../src/modules/logger/logger.cpp
 -100.0%      -1 -100.0%      -1    [2 Others]
  -0.3%      -4  -0.3%      -4    ../../src/modules/logger/util.cpp
 -27.3%     -12 -27.3%     -12    msg/topics_sources/normalized_unsigned_setpoint.cpp
 -50.0%     -16 -50.0%     -16    msg/topics_sources/logger_status.cpp
  -0.0%     -39  -0.0%     -39    ROMFS/nsh_romfsimg.c
 -46.7%    -660 -46.7%    -660    ../../src/lib/fw_performance_model/PerformanceModel.cpp
  [DEL] -2.61Ki  [DEL] -2.61Ki    ../../src/lib/npfg/npfg.cpp
  [DEL] -4.28Ki  [DEL] -4.28Ki    ../../src/lib/tecs/TECS.cpp
 -16.4% -4.55Ki -16.4% -4.55Ki    ../../src/modules/fw_pos_control/FixedwingPositionControl.cpp
-0.3%  -127Ki  -0.5% -10.00Ki    TOTAL

Updated: 2024-12-20T13:37:05

Signed-off-by: RomanBapst <[email protected]>
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.

1 participant