diff --git a/boards/airmind/mindpx-v2/src/can.c b/boards/airmind/mindpx-v2/src/can.c index b826cf001e79..aa35384a8c85 100644 --- a/boards/airmind/mindpx-v2/src/can.c +++ b/boards/airmind/mindpx-v2/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mindpx_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/airmind/mindpx-v2/src/init.c b/boards/airmind/mindpx-v2/src/init.c index 836bea7c4297..5045ef5e4f70 100644 --- a/boards/airmind/mindpx-v2/src/init.c +++ b/boards/airmind/mindpx-v2/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mindpx2_init.c + * @file init.c * * MINDPX-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/airmind/mindpx-v2/src/led.c b/boards/airmind/mindpx-v2/src/led.c index fd26ceb61a4f..1a2c8cbd20a8 100644 --- a/boards/airmind/mindpx-v2/src/led.c +++ b/boards/airmind/mindpx-v2/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mindpx2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/airmind/mindpx-v2/src/usb.c b/boards/airmind/mindpx-v2/src/usb.c index a714f2f6f1c1..b6e1d020e898 100644 --- a/boards/airmind/mindpx-v2/src/usb.c +++ b/boards/airmind/mindpx-v2/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mindpx_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/atl/mantis-edu/src/pwr.cpp b/boards/atl/mantis-edu/src/pwr.cpp index d732370cb6a9..ed1b47831732 100644 --- a/boards/atl/mantis-edu/src/pwr.cpp +++ b/boards/atl/mantis-edu/src/pwr.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file pwr.c + * @file pwr.cpp * * Board-specific power button functions. */ diff --git a/boards/beaglebone/blue/src/init.cpp b/boards/beaglebone/blue/src/init.cpp index 7a3f8dbab253..aee68c95d190 100644 --- a/boards/beaglebone/blue/src/init.cpp +++ b/boards/beaglebone/blue/src/init.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file init.c + * @file init.cpp * * BBBLUE specific initialization */ diff --git a/boards/bitcraze/crazyflie/src/init.c b/boards/bitcraze/crazyflie/src/init.c index c1364b75afe4..bc98aa3a3377 100644 --- a/boards/bitcraze/crazyflie/src/init.c +++ b/boards/bitcraze/crazyflie/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_init.c + * @file init.c * * Crazyflie specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/bitcraze/crazyflie/src/led.c b/boards/bitcraze/crazyflie/src/led.c index b2ea6211319a..00774fdd46a7 100644 --- a/boards/bitcraze/crazyflie/src/led.c +++ b/boards/bitcraze/crazyflie/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_led.c + * @file led.c * * Crazyflie LED backend. */ diff --git a/boards/bitcraze/crazyflie/src/usb.c b/boards/bitcraze/crazyflie/src/usb.c index fcd52fd07530..78d5f5de0bcd 100644 --- a/boards/bitcraze/crazyflie/src/usb.c +++ b/boards/bitcraze/crazyflie/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/bitcraze/crazyflie21/src/init.c b/boards/bitcraze/crazyflie21/src/init.c index 6d1603600a36..7139791aa508 100644 --- a/boards/bitcraze/crazyflie21/src/init.c +++ b/boards/bitcraze/crazyflie21/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_init.c + * @file init.c * * Crazyflie specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/bitcraze/crazyflie21/src/led.c b/boards/bitcraze/crazyflie21/src/led.c index b2ea6211319a..00774fdd46a7 100644 --- a/boards/bitcraze/crazyflie21/src/led.c +++ b/boards/bitcraze/crazyflie21/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_led.c + * @file led.c * * Crazyflie LED backend. */ diff --git a/boards/bitcraze/crazyflie21/src/usb.c b/boards/bitcraze/crazyflie21/src/usb.c index fcd52fd07530..78d5f5de0bcd 100644 --- a/boards/bitcraze/crazyflie21/src/usb.c +++ b/boards/bitcraze/crazyflie21/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file crazyflie_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/holybro/durandal-v1/src/can.c b/boards/holybro/durandal-v1/src/can.c index c71b2e8793a2..05280f50b792 100644 --- a/boards/holybro/durandal-v1/src/can.c +++ b/boards/holybro/durandal-v1/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/holybro/durandal-v1/src/led.c b/boards/holybro/durandal-v1/src/led.c index bff4b098640f..1e33dd1299b3 100644 --- a/boards/holybro/durandal-v1/src/led.c +++ b/boards/holybro/durandal-v1/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/holybro/durandal-v1/src/usb.c b/boards/holybro/durandal-v1/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/holybro/durandal-v1/src/usb.c +++ b/boards/holybro/durandal-v1/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/holybro/kakuteh7/src/usb.c b/boards/holybro/kakuteh7/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/holybro/kakuteh7/src/usb.c +++ b/boards/holybro/kakuteh7/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/holybro/kakuteh7mini/src/usb.c b/boards/holybro/kakuteh7mini/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/holybro/kakuteh7mini/src/usb.c +++ b/boards/holybro/kakuteh7mini/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/holybro/kakuteh7v2/src/usb.c b/boards/holybro/kakuteh7v2/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/holybro/kakuteh7v2/src/usb.c +++ b/boards/holybro/kakuteh7v2/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/modalai/fc-v1/src/can.c b/boards/modalai/fc-v1/src/can.c index 1523056e8f96..166312c3fc59 100644 --- a/boards/modalai/fc-v1/src/can.c +++ b/boards/modalai/fc-v1/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/modalai/fc-v1/src/led.c b/boards/modalai/fc-v1/src/led.c index 4b429b29f30d..d1d6957acdca 100644 --- a/boards/modalai/fc-v1/src/led.c +++ b/boards/modalai/fc-v1/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/modalai/fc-v1/src/usb.c b/boards/modalai/fc-v1/src/usb.c index 28965c442d1a..0e286765869d 100644 --- a/boards/modalai/fc-v1/src/usb.c +++ b/boards/modalai/fc-v1/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/modalai/fc-v2/src/can.c b/boards/modalai/fc-v2/src/can.c index f65a1952ad03..0ae853718bca 100644 --- a/boards/modalai/fc-v2/src/can.c +++ b/boards/modalai/fc-v2/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/modalai/fc-v2/src/led.c b/boards/modalai/fc-v2/src/led.c index bff4b098640f..1e33dd1299b3 100644 --- a/boards/modalai/fc-v2/src/led.c +++ b/boards/modalai/fc-v2/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/modalai/fc-v2/src/usb.c b/boards/modalai/fc-v2/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/modalai/fc-v2/src/usb.c +++ b/boards/modalai/fc-v2/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/modalai/voxl2-slpi/src/drivers/rc_controller/rc_controller.cpp b/boards/modalai/voxl2-slpi/src/drivers/rc_controller/rc_controller.cpp index 47b8b9021222..c075a07f466d 100644 --- a/boards/modalai/voxl2-slpi/src/drivers/rc_controller/rc_controller.cpp +++ b/boards/modalai/voxl2-slpi/src/drivers/rc_controller/rc_controller.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_simple_app.c + * @file rc_controller.cpp * Minimal application example for PX4 autopilot * * @author Example User diff --git a/boards/nxp/fmuk66-e/src/timer_config.cpp b/boards/nxp/fmuk66-e/src/timer_config.cpp index 99c0ddba433e..c7dd89f94135 100644 --- a/boards/nxp/fmuk66-e/src/timer_config.cpp +++ b/boards/nxp/fmuk66-e/src/timer_config.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file timer_config.c + * @file timer_config.cpp * * Configuration data for the kinetis pwm_servo, input capture and pwm input driver. * diff --git a/boards/nxp/fmuk66-v3/src/timer_config.cpp b/boards/nxp/fmuk66-v3/src/timer_config.cpp index c22044a452e2..77d6a3f1d617 100644 --- a/boards/nxp/fmuk66-v3/src/timer_config.cpp +++ b/boards/nxp/fmuk66-v3/src/timer_config.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file timer_config.c + * @file timer_config.cpp * * Configuration data for the kinetis pwm_servo, input capture and pwm input driver. * diff --git a/boards/nxp/mr-canhubk3/src/timer_config.cpp b/boards/nxp/mr-canhubk3/src/timer_config.cpp index bab0d95fa1a4..607917f61477 100644 --- a/boards/nxp/mr-canhubk3/src/timer_config.cpp +++ b/boards/nxp/mr-canhubk3/src/timer_config.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file timer_config.c + * @file timer_config.cpp * * Configuration data for the kinetis pwm_servo, input capture and pwm input driver. * diff --git a/boards/nxp/ucans32k146/src/timer_config.cpp b/boards/nxp/ucans32k146/src/timer_config.cpp index 7106489b3960..34ae16ec5c80 100644 --- a/boards/nxp/ucans32k146/src/timer_config.cpp +++ b/boards/nxp/ucans32k146/src/timer_config.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file timer_config.c + * @file timer_config.cpp * * Configuration data for the S32K1XX pwm_servo, input capture and pwm input driver. * diff --git a/boards/px4/fmu-v2/src/can.c b/boards/px4/fmu-v2/src/can.c index 25943d53e1b5..89b8ba22816f 100644 --- a/boards/px4/fmu-v2/src/can.c +++ b/boards/px4/fmu-v2/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v2/src/i2c.cpp b/boards/px4/fmu-v2/src/i2c.cpp index 75a4c3ba3893..38ce2b957e3a 100644 --- a/boards/px4/fmu-v2/src/i2c.cpp +++ b/boards/px4/fmu-v2/src/i2c.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_i2c.c + * @file i2c.cpp * * Board-specific I2C functions. */ diff --git a/boards/px4/fmu-v2/src/init.c b/boards/px4/fmu-v2/src/init.c index e1d010f21ea7..461e9ee70bdf 100644 --- a/boards/px4/fmu-v2/src/init.c +++ b/boards/px4/fmu-v2/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_init.c + * @file init.c * * PX4FMUv2-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/px4/fmu-v2/src/led.c b/boards/px4/fmu-v2/src/led.c index de15c055324a..f38b76466169 100644 --- a/boards/px4/fmu-v2/src/led.c +++ b/boards/px4/fmu-v2/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v2/src/usb.c b/boards/px4/fmu-v2/src/usb.c index 023ec0701e9f..b96898bc8635 100644 --- a/boards/px4/fmu-v2/src/usb.c +++ b/boards/px4/fmu-v2/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v3/src/can.c b/boards/px4/fmu-v3/src/can.c index 25943d53e1b5..89b8ba22816f 100644 --- a/boards/px4/fmu-v3/src/can.c +++ b/boards/px4/fmu-v3/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v3/src/i2c.cpp b/boards/px4/fmu-v3/src/i2c.cpp index 75a4c3ba3893..38ce2b957e3a 100644 --- a/boards/px4/fmu-v3/src/i2c.cpp +++ b/boards/px4/fmu-v3/src/i2c.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_i2c.c + * @file i2c.cpp * * Board-specific I2C functions. */ diff --git a/boards/px4/fmu-v3/src/init.c b/boards/px4/fmu-v3/src/init.c index e1d010f21ea7..461e9ee70bdf 100644 --- a/boards/px4/fmu-v3/src/init.c +++ b/boards/px4/fmu-v3/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_init.c + * @file init.c * * PX4FMUv2-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/px4/fmu-v3/src/led.c b/boards/px4/fmu-v3/src/led.c index de15c055324a..f38b76466169 100644 --- a/boards/px4/fmu-v3/src/led.c +++ b/boards/px4/fmu-v3/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v3/src/usb.c b/boards/px4/fmu-v3/src/usb.c index 023ec0701e9f..b96898bc8635 100644 --- a/boards/px4/fmu-v3/src/usb.c +++ b/boards/px4/fmu-v3/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v4pro/src/can.c b/boards/px4/fmu-v4pro/src/can.c index 25943d53e1b5..89b8ba22816f 100644 --- a/boards/px4/fmu-v4pro/src/can.c +++ b/boards/px4/fmu-v4pro/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v4pro/src/init.c b/boards/px4/fmu-v4pro/src/init.c index 132db1f92424..5598436b58bf 100644 --- a/boards/px4/fmu-v4pro/src/init.c +++ b/boards/px4/fmu-v4pro/src/init.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_init.c + * @file init.c * * PX4FMU-specific early startup code. This file implements the * board_app_initializ() function that is called early by nsh during startup. diff --git a/boards/px4/fmu-v4pro/src/led.c b/boards/px4/fmu-v4pro/src/led.c index 3196e08ac5c3..c83a447ad441 100644 --- a/boards/px4/fmu-v4pro/src/led.c +++ b/boards/px4/fmu-v4pro/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v4pro/src/usb.c b/boards/px4/fmu-v4pro/src/usb.c index 023ec0701e9f..b96898bc8635 100644 --- a/boards/px4/fmu-v4pro/src/usb.c +++ b/boards/px4/fmu-v4pro/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v5/stackcheck.px4board b/boards/px4/fmu-v5/stackcheck.px4board index 03acb1eef06f..f598bbb5d947 100644 --- a/boards/px4/fmu-v5/stackcheck.px4board +++ b/boards/px4/fmu-v5/stackcheck.px4board @@ -22,20 +22,27 @@ CONFIG_DRIVERS_PWM_INPUT=n CONFIG_DRIVERS_SMART_BATTERY_BATMON=n CONFIG_DRIVERS_TONE_ALARM=n CONFIG_DRIVERS_UAVCAN=n +CONFIG_MODULES_AIRSPEED_SELECTOR=n CONFIG_MODULES_ATTITUDE_ESTIMATOR_Q=n CONFIG_MODULES_CAMERA_FEEDBACK=n CONFIG_MODULES_ESC_BATTERY=n +CONFIG_MODULES_EVENTS=n +CONFIG_MODULES_FW_ATT_CONTROL=n CONFIG_MODULES_FW_AUTOTUNE_ATTITUDE_CONTROL=n +CONFIG_MODULES_FW_POS_CONTROL=n +CONFIG_MODULES_FW_RATE_CONTROL=n CONFIG_MODULES_GIMBAL=n CONFIG_MODULES_GYRO_CALIBRATION=n CONFIG_MODULES_LANDING_TARGET_ESTIMATOR=n -CONFIG_MODULES_MC_AUTOTUNE_ATTITUDE_CONTROL=n +CONFIG_MODULES_MAG_BIAS_ESTIMATOR=n CONFIG_MODULES_ROVER_POS_CONTROL=n CONFIG_MODULES_SIMULATION_SIMULATOR_SIH=n CONFIG_MODULES_TEMPERATURE_COMPENSATION=n CONFIG_MODULES_UUV_ATT_CONTROL=n CONFIG_MODULES_UUV_POS_CONTROL=n +CONFIG_MODULES_VTOL_ATT_CONTROL=n CONFIG_SYSTEMCMDS_REFLECT=n CONFIG_BOARD_CONSTRAINED_FLASH=y CONFIG_BOARD_TESTING=y CONFIG_DRIVERS_BAROMETER_MS5611=y +CONFIG_EKF2_AUX_GLOBAL_POSITION=y diff --git a/boards/px4/fmu-v5x/src/can.c b/boards/px4/fmu-v5x/src/can.c index bb777d8f0490..9250993a2b36 100644 --- a/boards/px4/fmu-v5x/src/can.c +++ b/boards/px4/fmu-v5x/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v5x/src/init.cpp b/boards/px4/fmu-v5x/src/init.cpp index 5987f66ffa91..c4debd31ae2c 100644 --- a/boards/px4/fmu-v5x/src/init.cpp +++ b/boards/px4/fmu-v5x/src/init.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file init.c + * @file init.cpp * * PX4FMU-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/px4/fmu-v5x/src/led.c b/boards/px4/fmu-v5x/src/led.c index 117334368e88..edc878468836 100644 --- a/boards/px4/fmu-v5x/src/led.c +++ b/boards/px4/fmu-v5x/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v5x/src/usb.c b/boards/px4/fmu-v5x/src/usb.c index 28965c442d1a..0e286765869d 100644 --- a/boards/px4/fmu-v5x/src/usb.c +++ b/boards/px4/fmu-v5x/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v6c/src/can.c b/boards/px4/fmu-v6c/src/can.c index c71b2e8793a2..05280f50b792 100644 --- a/boards/px4/fmu-v6c/src/can.c +++ b/boards/px4/fmu-v6c/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v6c/src/led.c b/boards/px4/fmu-v6c/src/led.c index 442e7636f1d0..5cdc0f14e8e0 100644 --- a/boards/px4/fmu-v6c/src/led.c +++ b/boards/px4/fmu-v6c/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v6c/src/usb.c b/boards/px4/fmu-v6c/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/px4/fmu-v6c/src/usb.c +++ b/boards/px4/fmu-v6c/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v6u/src/can.c b/boards/px4/fmu-v6u/src/can.c index c71b2e8793a2..05280f50b792 100644 --- a/boards/px4/fmu-v6u/src/can.c +++ b/boards/px4/fmu-v6u/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v6u/src/led.c b/boards/px4/fmu-v6u/src/led.c index bff4b098640f..1e33dd1299b3 100644 --- a/boards/px4/fmu-v6u/src/led.c +++ b/boards/px4/fmu-v6u/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v6u/src/usb.c b/boards/px4/fmu-v6u/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/px4/fmu-v6u/src/usb.c +++ b/boards/px4/fmu-v6u/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/px4/fmu-v6x/src/can.c b/boards/px4/fmu-v6x/src/can.c index 1f4e1f28a389..cdebe7a3ad61 100644 --- a/boards/px4/fmu-v6x/src/can.c +++ b/boards/px4/fmu-v6x/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/px4/fmu-v6x/src/init.cpp b/boards/px4/fmu-v6x/src/init.cpp index 8901bd1766f3..4924120123dd 100644 --- a/boards/px4/fmu-v6x/src/init.cpp +++ b/boards/px4/fmu-v6x/src/init.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file init.c + * @file init.cpp * * PX4FMU-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/px4/fmu-v6x/src/led.c b/boards/px4/fmu-v6x/src/led.c index bff4b098640f..1e33dd1299b3 100644 --- a/boards/px4/fmu-v6x/src/led.c +++ b/boards/px4/fmu-v6x/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/px4/fmu-v6x/src/usb.c b/boards/px4/fmu-v6x/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/px4/fmu-v6x/src/usb.c +++ b/boards/px4/fmu-v6x/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/siyi/n7/src/can.c b/boards/siyi/n7/src/can.c index c71b2e8793a2..05280f50b792 100644 --- a/boards/siyi/n7/src/can.c +++ b/boards/siyi/n7/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/siyi/n7/src/led.c b/boards/siyi/n7/src/led.c index df40a23dca89..a46702334795 100644 --- a/boards/siyi/n7/src/led.c +++ b/boards/siyi/n7/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/siyi/n7/src/usb.c b/boards/siyi/n7/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/siyi/n7/src/usb.c +++ b/boards/siyi/n7/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/boards/sky-drones/smartap-airlink/src/can.c b/boards/sky-drones/smartap-airlink/src/can.c index 3074b01cfb74..2076b011ab1b 100644 --- a/boards/sky-drones/smartap-airlink/src/can.c +++ b/boards/sky-drones/smartap-airlink/src/can.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_can.c + * @file can.c * * Board-specific CAN functions. */ diff --git a/boards/sky-drones/smartap-airlink/src/init.cpp b/boards/sky-drones/smartap-airlink/src/init.cpp index f3ab4a92c4e8..c4b4c1fa7e08 100644 --- a/boards/sky-drones/smartap-airlink/src/init.cpp +++ b/boards/sky-drones/smartap-airlink/src/init.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file init.c + * @file init.cpp * * PX4FMU-specific early startup code. This file implements the * board_app_initialize() function that is called early by nsh during startup. diff --git a/boards/sky-drones/smartap-airlink/src/led.c b/boards/sky-drones/smartap-airlink/src/led.c index fe722c687305..60265c2a2f79 100644 --- a/boards/sky-drones/smartap-airlink/src/led.c +++ b/boards/sky-drones/smartap-airlink/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/spracing/h7extreme/src/led.c b/boards/spracing/h7extreme/src/led.c index d3453aebd7b3..8aea8f1523bf 100644 --- a/boards/spracing/h7extreme/src/led.c +++ b/boards/spracing/h7extreme/src/led.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu2_led.c + * @file led.c * * PX4FMU LED backend. */ diff --git a/boards/spracing/h7extreme/src/usb.c b/boards/spracing/h7extreme/src/usb.c index 6d42476b714f..70eebc6fe0e1 100644 --- a/boards/spracing/h7extreme/src/usb.c +++ b/boards/spracing/h7extreme/src/usb.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4fmu_usb.c + * @file usb.c * * Board-specific USB functions. */ diff --git a/msg/BatteryStatus.msg b/msg/BatteryStatus.msg index f87d4132d858..e8651616152f 100644 --- a/msg/BatteryStatus.msg +++ b/msg/BatteryStatus.msg @@ -46,7 +46,7 @@ uint8 BATTERY_FAULT_CELL_FAIL= 2 # One or more cells have failed uint8 BATTERY_FAULT_OVER_CURRENT = 3 # Over-current uint8 BATTERY_FAULT_OVER_TEMPERATURE = 4 # Over-temperature uint8 BATTERY_FAULT_UNDER_TEMPERATURE = 5 # Under-temperature fault -uint8 BATTERY_FAULT_INCOMPATIBLE_VOLTAGE = 6 # Vehicle voltage is not compatible with battery one +uint8 BATTERY_FAULT_INCOMPATIBLE_VOLTAGE = 6 # Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage). uint8 BATTERY_FAULT_INCOMPATIBLE_FIRMWARE = 7 # Battery firmware is not compatible with current autopilot firmware uint8 BATTERY_FAULT_INCOMPATIBLE_MODEL = 8 # Battery model is not supported by the system uint8 BATTERY_FAULT_HARDWARE_FAILURE = 9 # hardware problem diff --git a/msg/TecsStatus.msg b/msg/TecsStatus.msg index af3826b1555d..ed62b70da3c4 100644 --- a/msg/TecsStatus.msg +++ b/msg/TecsStatus.msg @@ -2,6 +2,7 @@ uint64 timestamp # time since system start (microseconds) float32 altitude_sp # Altitude setpoint AMSL [m] float32 altitude_reference # Altitude setpoint reference AMSL [m] +float32 altitude_time_constant # Time constant of the altitude tracker [s] float32 height_rate_reference # Height rate setpoint reference [m/s] float32 height_rate_direct # Direct height rate setpoint from velocity reference generator [m/s] float32 height_rate_setpoint # Height rate setpoint [m/s] diff --git a/platforms/common/include/px4_platform_common/module.h b/platforms/common/include/px4_platform_common/module.h index 13e5a5ccae4e..e64ae7e97987 100644 --- a/platforms/common/include/px4_platform_common/module.h +++ b/platforms/common/include/px4_platform_common/module.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_module.h + * @file module.h */ #pragma once diff --git a/platforms/common/include/px4_platform_common/module_params.h b/platforms/common/include/px4_platform_common/module_params.h index 5a3d085fe7f9..2949053c995b 100644 --- a/platforms/common/include/px4_platform_common/module_params.h +++ b/platforms/common/include/px4_platform_common/module_params.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_module_params.h + * @file module_params.h * * @class ModuleParams is a C++ base class for modules/classes using configuration parameters. */ diff --git a/platforms/common/include/px4_platform_common/posix.h b/platforms/common/include/px4_platform_common/posix.h index e4d639919072..3c3ff8ce3c10 100644 --- a/platforms/common/include/px4_platform_common/posix.h +++ b/platforms/common/include/px4_platform_common/posix.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_posix.h + * @file posix.h * * Includes POSIX-like functions for virtual character devices */ diff --git a/platforms/common/include/px4_platform_common/tasks.h b/platforms/common/include/px4_platform_common/tasks.h index ccdc108aa4ba..6609b4cdb0c4 100644 --- a/platforms/common/include/px4_platform_common/tasks.h +++ b/platforms/common/include/px4_platform_common/tasks.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_tasks.h + * @file tasks.h * * @author Lorenz Meier * @author Mark Charlebois (2015) diff --git a/platforms/common/px4_getopt.c b/platforms/common/px4_getopt.c index 7f1d4eb942ba..7debbd41813b 100644 --- a/platforms/common/px4_getopt.c +++ b/platforms/common/px4_getopt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_getopt.cpp + * @file px4_getopt.c * Minimal, thread safe version of getopt */ diff --git a/platforms/common/uORB/PublicationMulti.hpp b/platforms/common/uORB/PublicationMulti.hpp index 6e8863b17d12..755173085694 100644 --- a/platforms/common/uORB/PublicationMulti.hpp +++ b/platforms/common/uORB/PublicationMulti.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Publication.hpp + * @file PublicationMulti.hpp * */ diff --git a/platforms/common/work_queue/wqueue_test/wqueue_test.cpp b/platforms/common/work_queue/wqueue_test/wqueue_test.cpp index edd228e78ab9..06851d6810de 100644 --- a/platforms/common/work_queue/wqueue_test/wqueue_test.cpp +++ b/platforms/common/work_queue/wqueue_test/wqueue_test.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file wqueue_example.cpp + * @file wqueue_test.cpp * Example for Linux * * @author Mark Charlebois diff --git a/platforms/nuttx/src/canbootloader/include/bitminip.h b/platforms/nuttx/src/canbootloader/include/bitminip.h index 56c48cae22a2..59beb0ba9c8a 100644 --- a/platforms/nuttx/src/canbootloader/include/bitminip.h +++ b/platforms/nuttx/src/canbootloader/include/bitminip.h @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file board.h + * @file bitminip.h * * bootloader board interface * This file contains the common interfaces that all boards diff --git a/platforms/nuttx/src/px4/common/board_fat_dma_alloc.c b/platforms/nuttx/src/px4/common/board_fat_dma_alloc.c index da3edb2b3018..67deb0f20b27 100644 --- a/platforms/nuttx/src/px4/common/board_fat_dma_alloc.c +++ b/platforms/nuttx/src/px4/common/board_fat_dma_alloc.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file board_dma_alloc.c + * @file board_fat_dma_alloc.c * * Provide the board dma allocator interface. */ diff --git a/platforms/nuttx/src/px4/common/cpuload.cpp b/platforms/nuttx/src/px4/common/cpuload.cpp index 38f78997884e..73b1e83add48 100644 --- a/platforms/nuttx/src/px4/common/cpuload.cpp +++ b/platforms/nuttx/src/px4/common/cpuload.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file cpuload.c + * @file cpuload.cpp * * Measurement of CPU load of each individual task. * diff --git a/platforms/nuttx/src/px4/common/usr_hrt.cpp b/platforms/nuttx/src/px4/common/usr_hrt.cpp index d57712a32d45..ff3158f30851 100644 --- a/platforms/nuttx/src/px4/common/usr_hrt.cpp +++ b/platforms/nuttx/src/px4/common/usr_hrt.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file usr_hrt.c + * @file usr_hrt.cpp * * Userspace High-resolution timer callouts and timekeeping. * diff --git a/platforms/nuttx/src/px4/common/usr_mcu_version.cpp b/platforms/nuttx/src/px4/common/usr_mcu_version.cpp index 64d86ee92a16..27abc9a53583 100644 --- a/platforms/nuttx/src/px4/common/usr_mcu_version.cpp +++ b/platforms/nuttx/src/px4/common/usr_mcu_version.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file usr_mcu_version.c + * @file usr_mcu_version.cpp * Implementation of generic user-space version API */ diff --git a/platforms/nuttx/src/px4/nxp/imxrt/hrt/hrt.c b/platforms/nuttx/src/px4/nxp/imxrt/hrt/hrt.c index d44a1ee1061e..86fe55b7ff03 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/hrt/hrt.c +++ b/platforms/nuttx/src/px4/nxp/imxrt/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * Author: David Sidrane * * High-resolution timer callouts and timekeeping. diff --git a/platforms/nuttx/src/px4/nxp/imxrt/include/px4_arch/io_timer.h b/platforms/nuttx/src/px4/nxp/imxrt/include/px4_arch/io_timer.h index 1fba2e04494f..9ce7b374456d 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/include/px4_arch/io_timer.h +++ b/platforms/nuttx/src/px4/nxp/imxrt/include/px4_arch/io_timer.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_io_timer.h + * @file io_timer.h * * imxrt-specific PWM output data. */ diff --git a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/input_capture.c b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/input_capture.c index 6fb285c5831f..7e0e0b669ec5 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/input_capture.c +++ b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/input_capture.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_input_capture.c + * @file input_capture.c * * Servo driver supporting input capture connected to imxrt timer blocks. * diff --git a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_servo.c index d29ca58b022a..3964734b58a9 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to FLexPWM timer blocks. * N.B. Groups:channels have a 1:1 correspondence on FlexPWM diff --git a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_trigger.c b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_trigger.c index 4f2d6d975025..9aaa4b4028cd 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_trigger.c +++ b/platforms/nuttx/src/px4/nxp/imxrt/io_pins/pwm_trigger.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_trigger.c + * @file pwm_trigger.c * */ diff --git a/platforms/nuttx/src/px4/nxp/imxrt/led_pwm/led_pwm.cpp b/platforms/nuttx/src/px4/nxp/imxrt/led_pwm/led_pwm.cpp index ddee5aa8ca0d..25c47ecffa1a 100644 --- a/platforms/nuttx/src/px4/nxp/imxrt/led_pwm/led_pwm.cpp +++ b/platforms/nuttx/src/px4/nxp/imxrt/led_pwm/led_pwm.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file drv_led_pwm.cpp +* @file led_pwm.cpp * * */ diff --git a/platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c b/platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c index 8956ddf15a1c..4c8aa32c062f 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c +++ b/platforms/nuttx/src/px4/nxp/kinetis/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * Author: David Sidrane * * High-resolution timer callouts and timekeeping. diff --git a/platforms/nuttx/src/px4/nxp/kinetis/include/px4_arch/io_timer.h b/platforms/nuttx/src/px4/nxp/kinetis/include/px4_arch/io_timer.h index f6cd7427bec6..788da87485fd 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/include/px4_arch/io_timer.h +++ b/platforms/nuttx/src/px4/nxp/kinetis/include/px4_arch/io_timer.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_io_timer.h + * @file io_timer.h * * stm32-specific PWM output data. */ diff --git a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/input_capture.c b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/input_capture.c index 69f3a3c0a351..cf7e1ab52841 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/input_capture.c +++ b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/input_capture.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_input_capture.c + * @file input_capture.c * * Servo driver supporting input capture connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_servo.c index fd083cdb74c5..e0b90f23ce47 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_trigger.c b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_trigger.c index 5386919d388f..49112d3a81b6 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_trigger.c +++ b/platforms/nuttx/src/px4/nxp/kinetis/io_pins/pwm_trigger.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_trigger.c + * @file pwm_trigger.c * */ diff --git a/platforms/nuttx/src/px4/nxp/kinetis/led_pwm/led_pwm.cpp b/platforms/nuttx/src/px4/nxp/kinetis/led_pwm/led_pwm.cpp index 4bbf7fc4e956..797f5ca9487b 100644 --- a/platforms/nuttx/src/px4/nxp/kinetis/led_pwm/led_pwm.cpp +++ b/platforms/nuttx/src/px4/nxp/kinetis/led_pwm/led_pwm.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file drv_led_pwm.cpp +* @file led_pwm.cpp * * */ diff --git a/platforms/nuttx/src/px4/nxp/rt106x/include/px4_arch/io_timer.h b/platforms/nuttx/src/px4/nxp/rt106x/include/px4_arch/io_timer.h index 83938d918bfe..9945e28de6c0 100644 --- a/platforms/nuttx/src/px4/nxp/rt106x/include/px4_arch/io_timer.h +++ b/platforms/nuttx/src/px4/nxp/rt106x/include/px4_arch/io_timer.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_io_timer.h + * @file io_timer.h * * imxrt-specific PWM output data. */ diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/hrt/hrt.c b/platforms/nuttx/src/px4/nxp/s32k1xx/hrt/hrt.c index 71a97c9d819d..ba898108fabf 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/hrt/hrt.c +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * Author: Peter van der Perk * David Sidrane * diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/include/px4_arch/io_timer.h b/platforms/nuttx/src/px4/nxp/s32k1xx/include/px4_arch/io_timer.h index c62ee30e58ea..2454056a0354 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/include/px4_arch/io_timer.h +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/include/px4_arch/io_timer.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_io_timer.h + * @file io_timer.h * * stm32-specific PWM output data. */ diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/input_capture.c b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/input_capture.c index 9bad8959ae14..5abfc146571e 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/input_capture.c +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/input_capture.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_input_capture.c + * @file input_capture.c * * Servo driver supporting input capture connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_servo.c index b1dc315f4b9f..dea32b9d929a 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to S32K1XX FlexTimer blocks. */ diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_trigger.c b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_trigger.c index 5386919d388f..49112d3a81b6 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_trigger.c +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/io_pins/pwm_trigger.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_trigger.c + * @file pwm_trigger.c * */ diff --git a/platforms/nuttx/src/px4/nxp/s32k1xx/led_pwm/led_pwm.cpp b/platforms/nuttx/src/px4/nxp/s32k1xx/led_pwm/led_pwm.cpp index 4ec0c5a20d08..b5a4c8c3e179 100644 --- a/platforms/nuttx/src/px4/nxp/s32k1xx/led_pwm/led_pwm.cpp +++ b/platforms/nuttx/src/px4/nxp/s32k1xx/led_pwm/led_pwm.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file drv_led_pwm.cpp +* @file led_pwm.cpp * * */ diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/hrt/hrt.c b/platforms/nuttx/src/px4/nxp/s32k3xx/hrt/hrt.c index 9f36baf7aa1b..91c8be8d8274 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/hrt/hrt.c +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * Author: Peter van der Perk * David Sidrane * diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/include/px4_arch/io_timer.h b/platforms/nuttx/src/px4/nxp/s32k3xx/include/px4_arch/io_timer.h index 01f34dd55480..d093130b5180 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/include/px4_arch/io_timer.h +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/include/px4_arch/io_timer.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_io_timer.h + * @file io_timer.h * * stm32-specific PWM output data. */ diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/input_capture.c b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/input_capture.c index 3f8fe5941843..f5c0a4ddc223 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/input_capture.c +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/input_capture.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_input_capture.c + * @file input_capture.c * * Servo driver supporting input capture connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_servo.c index 176a0b974c3a..6f613b214911 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to S32K1XX FlexTimer blocks. */ diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_trigger.c b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_trigger.c index 5386919d388f..49112d3a81b6 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_trigger.c +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/io_pins/pwm_trigger.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_trigger.c + * @file pwm_trigger.c * */ diff --git a/platforms/nuttx/src/px4/nxp/s32k3xx/led_pwm/led_pwm.cpp b/platforms/nuttx/src/px4/nxp/s32k3xx/led_pwm/led_pwm.cpp index f0a36da96fe1..3d42fc2314e5 100644 --- a/platforms/nuttx/src/px4/nxp/s32k3xx/led_pwm/led_pwm.cpp +++ b/platforms/nuttx/src/px4/nxp/s32k3xx/led_pwm/led_pwm.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file drv_led_pwm.cpp +* @file led_pwm.cpp * * */ diff --git a/platforms/nuttx/src/px4/rpi/rpi_common/hrt/hrt.c b/platforms/nuttx/src/px4/rpi/rpi_common/hrt/hrt.c index 12050a247d38..73a06d35659c 100644 --- a/platforms/nuttx/src/px4/rpi/rpi_common/hrt/hrt.c +++ b/platforms/nuttx/src/px4/rpi/rpi_common/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * * High-resolution timer callouts and timekeeping. * diff --git a/platforms/nuttx/src/px4/rpi/rpi_common/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/rpi/rpi_common/io_pins/pwm_servo.c index 83145a786c74..cbfe1b32c009 100644 --- a/platforms/nuttx/src/px4/rpi/rpi_common/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/rpi/rpi_common/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to RP2040 PWM blocks. * diff --git a/platforms/nuttx/src/px4/stm/stm32_common/hrt/hrt.c b/platforms/nuttx/src/px4/stm/stm32_common/hrt/hrt.c index f31c240fed21..ea903eaf4dfd 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/hrt/hrt.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/hrt/hrt.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_hrt.c + * @file hrt.c * * High-resolution timer callouts and timekeeping. * diff --git a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/input_capture.c b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/input_capture.c index 61fd70ee886c..8d43bfc7352b 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/input_capture.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/input_capture.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_input_capture.c + * @file input_capture.c * * Servo driver supporting input capture connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_servo.c b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_servo.c index a94a153cc5ba..7a954a467b79 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_servo.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_servo.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_servo.c + * @file pwm_servo.c * * Servo driver supporting PWM servos connected to STM32 timer blocks. * diff --git a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_trigger.c b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_trigger.c index d716a8a0221c..f123beceecd7 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_trigger.c +++ b/platforms/nuttx/src/px4/stm/stm32_common/io_pins/pwm_trigger.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file drv_pwm_trigger.c + * @file pwm_trigger.c * */ diff --git a/platforms/nuttx/src/px4/stm/stm32_common/led_pwm/led_pwm.cpp b/platforms/nuttx/src/px4/stm/stm32_common/led_pwm/led_pwm.cpp index e5c3da8ded31..158d75b8dac7 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/led_pwm/led_pwm.cpp +++ b/platforms/nuttx/src/px4/stm/stm32_common/led_pwm/led_pwm.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file drv_led_pwm.cpp +* @file led_pwm.cpp * * */ diff --git a/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp b/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp index 24676ff60b5c..7f6b6a20d5c4 100644 --- a/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp +++ b/platforms/nuttx/src/px4/stm/stm32_common/srgbled_dma/srgbled_dma.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file sled_dma.cpp +* @file srgbled_dma.cpp * Author: David.Sidrane@Nscdg.com * * This is a DMA based driver for the the neopixel class of serial RGB LEDs. diff --git a/platforms/ros2/include/px4_platform_common/module.h b/platforms/ros2/include/px4_platform_common/module.h index bc8516806b74..d577a9d9bea3 100644 --- a/platforms/ros2/include/px4_platform_common/module.h +++ b/platforms/ros2/include/px4_platform_common/module.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_module.h + * @file module.h */ #pragma once diff --git a/platforms/ros2/include/px4_platform_common/module_params.h b/platforms/ros2/include/px4_platform_common/module_params.h index d2e518f0cebc..ae2578e3f978 100644 --- a/platforms/ros2/include/px4_platform_common/module_params.h +++ b/platforms/ros2/include/px4_platform_common/module_params.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_module_params.h + * @file module_params.h * * @class ModuleParams is a C++ base class for modules/classes using configuration parameters. */ diff --git a/platforms/ros2/include/px4_platform_common/posix.h b/platforms/ros2/include/px4_platform_common/posix.h index be991c66d417..6cad298c2723 100644 --- a/platforms/ros2/include/px4_platform_common/posix.h +++ b/platforms/ros2/include/px4_platform_common/posix.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_posix.h + * @file posix.h * * Includes POSIX-like functions for virtual character devices */ diff --git a/platforms/ros2/include/px4_platform_common/tasks.h b/platforms/ros2/include/px4_platform_common/tasks.h index 484cd4d86d1d..49941081f9c1 100644 --- a/platforms/ros2/include/px4_platform_common/tasks.h +++ b/platforms/ros2/include/px4_platform_common/tasks.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file px4_tasks.h + * @file tasks.h * * @author Lorenz Meier * @author Mark Charlebois (2015) diff --git a/platforms/ros2/include/uORB/SubscriptionBasic.hpp b/platforms/ros2/include/uORB/SubscriptionBasic.hpp index c8f0d7a87400..61991ee9be4c 100644 --- a/platforms/ros2/include/uORB/SubscriptionBasic.hpp +++ b/platforms/ros2/include/uORB/SubscriptionBasic.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Subscription.hpp + * @file SubscriptionBasic.hpp * */ diff --git a/src/drivers/adc/board_adc/ADC.hpp b/src/drivers/adc/board_adc/ADC.hpp index 14c716ec880c..47f953881422 100644 --- a/src/drivers/adc/board_adc/ADC.hpp +++ b/src/drivers/adc/board_adc/ADC.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file adc.cpp + * @file ADC.hpp * * Driver for an ADC. * diff --git a/src/drivers/barometer/bmp280/BMP280_I2C.cpp b/src/drivers/barometer/bmp280/BMP280_I2C.cpp index 1691f8f53a52..77589119270f 100644 --- a/src/drivers/barometer/bmp280/BMP280_I2C.cpp +++ b/src/drivers/barometer/bmp280/BMP280_I2C.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file bmp280_spi.cpp + * @file BMP280_I2C.cpp * * SPI interface for BMP280 */ diff --git a/src/drivers/barometer/bmp280/BMP280_SPI.cpp b/src/drivers/barometer/bmp280/BMP280_SPI.cpp index 9ab79b589f69..f4af89506a1b 100644 --- a/src/drivers/barometer/bmp280/BMP280_SPI.cpp +++ b/src/drivers/barometer/bmp280/BMP280_SPI.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file bmp280_spi.cpp + * @file BMP280_SPI.cpp * * SPI interface for BMP280 */ diff --git a/src/drivers/barometer/dps310/DPS310.hpp b/src/drivers/barometer/dps310/DPS310.hpp index bd3948e08263..498fa01a635b 100644 --- a/src/drivers/barometer/dps310/DPS310.hpp +++ b/src/drivers/barometer/dps310/DPS310.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file DPS310.cpp + * @file DPS310.hpp * * Driver for the Infineon DPS310 barometer connected via I2C or SPI. */ diff --git a/src/drivers/barometer/goertek/spl06/SPL06_I2C.cpp b/src/drivers/barometer/goertek/spl06/SPL06_I2C.cpp index 26c7443b573c..a0c7752bfe51 100644 --- a/src/drivers/barometer/goertek/spl06/SPL06_I2C.cpp +++ b/src/drivers/barometer/goertek/spl06/SPL06_I2C.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file spl06_i2c.cpp + * @file SPL06_I2C.cpp * * SPI interface for Goertek SPL06 */ diff --git a/src/drivers/barometer/goertek/spl06/SPL06_SPI.cpp b/src/drivers/barometer/goertek/spl06/SPL06_SPI.cpp index 3c39ddbe4926..22deb84a4cf9 100644 --- a/src/drivers/barometer/goertek/spl06/SPL06_SPI.cpp +++ b/src/drivers/barometer/goertek/spl06/SPL06_SPI.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file spl06_spi.cpp + * @file SPL06_SPI.cpp * * SPI interface for Goertek SPL06 */ diff --git a/src/drivers/barometer/invensense/icp101xx/Inven_Sense_ICP101XX_registers.hpp b/src/drivers/barometer/invensense/icp101xx/Inven_Sense_ICP101XX_registers.hpp index 0f7690722930..b222cce2d422 100755 --- a/src/drivers/barometer/invensense/icp101xx/Inven_Sense_ICP101XX_registers.hpp +++ b/src/drivers/barometer/invensense/icp101xx/Inven_Sense_ICP101XX_registers.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file icp101xx_registers.hpp + * @file Inven_Sense_ICP101XX_registers.hpp * * icp101xx registers. * diff --git a/src/drivers/barometer/invensense/icp201xx/Inven_Sense_ICP201XX_registers.hpp b/src/drivers/barometer/invensense/icp201xx/Inven_Sense_ICP201XX_registers.hpp index 56bd07c300b3..2d807fed0df9 100755 --- a/src/drivers/barometer/invensense/icp201xx/Inven_Sense_ICP201XX_registers.hpp +++ b/src/drivers/barometer/invensense/icp201xx/Inven_Sense_ICP201XX_registers.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file icp201xx_registers.hpp + * @file Inven_Sense_ICP201XX_registers.hpp * * icp201xx registers. * diff --git a/src/drivers/barometer/lps22hb/LPS22HB.cpp b/src/drivers/barometer/lps22hb/LPS22HB.cpp index c3af636dd959..3121acc0ef53 100644 --- a/src/drivers/barometer/lps22hb/LPS22HB.cpp +++ b/src/drivers/barometer/lps22hb/LPS22HB.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file lps22hb.cpp + * @file LPS22HB.cpp * * Driver for the LPS22HB barometer connected via I2C or SPI. */ diff --git a/src/drivers/barometer/lps22hb/LPS22HB_I2C.cpp b/src/drivers/barometer/lps22hb/LPS22HB_I2C.cpp index 8d4f65751284..6ecb3c864b2c 100644 --- a/src/drivers/barometer/lps22hb/LPS22HB_I2C.cpp +++ b/src/drivers/barometer/lps22hb/LPS22HB_I2C.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file lps22hb_i2c.cpp + * @file LPS22HB_I2C.cpp * * I2C interface for lps22hb */ diff --git a/src/drivers/barometer/lps25h/LPS25H.hpp b/src/drivers/barometer/lps25h/LPS25H.hpp index cdd41ab5a14e..bf323e62e59c 100644 --- a/src/drivers/barometer/lps25h/LPS25H.hpp +++ b/src/drivers/barometer/lps25h/LPS25H.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file lps25h.cpp + * @file LPS25H.hpp * * Driver for the LPS25H barometer connected via I2C or SPI. */ diff --git a/src/drivers/barometer/lps25h/lps25h_i2c.cpp b/src/drivers/barometer/lps25h/lps25h_i2c.cpp index 46a2cc8a17e3..b38d884ce4f1 100644 --- a/src/drivers/barometer/lps25h/lps25h_i2c.cpp +++ b/src/drivers/barometer/lps25h/lps25h_i2c.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file LPS25H_I2C.cpp + * @file lps25h_i2c.cpp * * I2C interface for LPS25H */ diff --git a/src/drivers/barometer/lps25h/lps25h_spi.cpp b/src/drivers/barometer/lps25h/lps25h_spi.cpp index 61dac459c262..ffc8f9fc6d1b 100644 --- a/src/drivers/barometer/lps25h/lps25h_spi.cpp +++ b/src/drivers/barometer/lps25h/lps25h_spi.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file LPS25H_SPI.cpp + * @file lps25h_spi.cpp * * SPI interface for LPS25H */ diff --git a/src/drivers/barometer/ms5837/MS5837.cpp b/src/drivers/barometer/ms5837/MS5837.cpp index 00382070dedf..933d3a1a32dd 100644 --- a/src/drivers/barometer/ms5837/MS5837.cpp +++ b/src/drivers/barometer/ms5837/MS5837.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ms5837.cpp + * @file MS5837.cpp * Driver for the MS5837 barometric pressure sensor connected via I2C. */ diff --git a/src/drivers/barometer/tcbp001ta/defines.h b/src/drivers/barometer/tcbp001ta/defines.h index 64e316bded5d..81a052820f71 100644 --- a/src/drivers/barometer/tcbp001ta/defines.h +++ b/src/drivers/barometer/tcbp001ta/defines.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file tcbp001ta/defines.h + * @file defines.h * * Shared defines for the TCBP001TA barometer driver. * diff --git a/src/drivers/batt_smbus/batt_smbus.cpp b/src/drivers/batt_smbus/batt_smbus.cpp index 194b88fa94c0..b9059f5445d6 100644 --- a/src/drivers/batt_smbus/batt_smbus.cpp +++ b/src/drivers/batt_smbus/batt_smbus.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file batt_smbus.h + * @file batt_smbus.cpp * * Header for a battery monitor connected via SMBus (I2C). * Designed for BQ40Z50-R1/R2 and BQ40Z80 diff --git a/src/drivers/cyphal/NodeManager.cpp b/src/drivers/cyphal/NodeManager.cpp index cf0d637c38b6..89d8f1b2a149 100644 --- a/src/drivers/cyphal/NodeManager.cpp +++ b/src/drivers/cyphal/NodeManager.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file NodeIDManager.cpp + * @file NodeManager.cpp * * Defines basic implementation of UAVCAN PNP for dynamic Node ID * diff --git a/src/drivers/cyphal/Publishers/uORB/uorb_publisher.cpp b/src/drivers/cyphal/Publishers/uORB/uorb_publisher.cpp index 590f123b5bab..962a79005ecb 100644 --- a/src/drivers/cyphal/Publishers/uORB/uorb_publisher.cpp +++ b/src/drivers/cyphal/Publishers/uORB/uorb_publisher.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uorb_template.cpp + * @file uorb_publisher.cpp * * Defines generic, templatized uORB over UAVCANv1 publisher * diff --git a/src/drivers/cyphal/Publishers/uORB/uorb_publisher.hpp b/src/drivers/cyphal/Publishers/uORB/uorb_publisher.hpp index 3843737e35a2..391be9558ef8 100644 --- a/src/drivers/cyphal/Publishers/uORB/uorb_publisher.hpp +++ b/src/drivers/cyphal/Publishers/uORB/uorb_publisher.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uorb_template.hpp + * @file uorb_publisher.hpp * * Defines generic, templatized uORB over UAVCANv1 publisher * diff --git a/src/drivers/cyphal/Services/AccessRequest.hpp b/src/drivers/cyphal/Services/AccessRequest.hpp index f162d24e6854..613cde2b782d 100644 --- a/src/drivers/cyphal/Services/AccessRequest.hpp +++ b/src/drivers/cyphal/Services/AccessRequest.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Access.hpp + * @file AccessRequest.hpp * * Defines a Access Service invoker and process Access responses * diff --git a/src/drivers/cyphal/Subscribers/legacy/LegacyBatteryInfo.hpp b/src/drivers/cyphal/Subscribers/legacy/LegacyBatteryInfo.hpp index 718a70844fda..0e15b8f91e8b 100644 --- a/src/drivers/cyphal/Subscribers/legacy/LegacyBatteryInfo.hpp +++ b/src/drivers/cyphal/Subscribers/legacy/LegacyBatteryInfo.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Battery.hpp + * @file LegacyBatteryInfo.hpp * * Defines basic functionality of UAVCAN legacy Battery subscription * diff --git a/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.cpp b/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.cpp index 87a3c2d39f6c..ee8799dbdfdb 100644 --- a/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.cpp +++ b/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uorb_template.cpp + * @file uorb_subscriber.cpp * * Defines generic, templatized uORB over UAVCANv1 subscriber * diff --git a/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.hpp b/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.hpp index 63498e8c676f..d9c25be22cc9 100644 --- a/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.hpp +++ b/src/drivers/cyphal/Subscribers/uORB/uorb_subscriber.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uorb_template.hpp + * @file uorb_subscriber.hpp * * Defines generic, templatized uORB over UAVCANv1 publisher * diff --git a/src/drivers/distance_sensor/cm8jl65/CM8JL65.hpp b/src/drivers/distance_sensor/cm8jl65/CM8JL65.hpp index cab6dd2fc4cc..aa12c3d1406a 100644 --- a/src/drivers/distance_sensor/cm8jl65/CM8JL65.hpp +++ b/src/drivers/distance_sensor/cm8jl65/CM8JL65.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file cm8jl65.cpp + * @file CM8JL65.hpp * @author Claudio Micheli * * Driver for the Lanbao PSK-CM8JL65-CC5 distance sensor. diff --git a/src/drivers/distance_sensor/gy_us42/GY_US42.hpp b/src/drivers/distance_sensor/gy_us42/GY_US42.hpp index 4aeb007db6cb..5f2a4312dd9d 100644 --- a/src/drivers/distance_sensor/gy_us42/GY_US42.hpp +++ b/src/drivers/distance_sensor/gy_us42/GY_US42.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file GY_US42.cpp + * @file GY_US42.hpp * * Driver for the GY-US42 sonar range finder on I2C. */ diff --git a/src/drivers/distance_sensor/lightware_laser_serial/parser.h b/src/drivers/distance_sensor/lightware_laser_serial/parser.h index e18231d8a6aa..3518f670dade 100644 --- a/src/drivers/distance_sensor/lightware_laser_serial/parser.h +++ b/src/drivers/distance_sensor/lightware_laser_serial/parser.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file parser.cpp + * @file parser.h * @author Lorenz Meier * * Declarations of parser for the Lightware laser rangefinder series diff --git a/src/drivers/distance_sensor/ll40ls_pwm/LidarLitePWM.cpp b/src/drivers/distance_sensor/ll40ls_pwm/LidarLitePWM.cpp index bba9ff638c11..1ef65a5ca396 100644 --- a/src/drivers/distance_sensor/ll40ls_pwm/LidarLitePWM.cpp +++ b/src/drivers/distance_sensor/ll40ls_pwm/LidarLitePWM.cpp @@ -33,7 +33,7 @@ /** - * @file LidarLitePWM.h + * @file LidarLitePWM.cpp * @author Johan Jansen * @author Ban Siesta * diff --git a/src/drivers/distance_sensor/srf02/SRF02.hpp b/src/drivers/distance_sensor/srf02/SRF02.hpp index 798ddaaaaf35..0206e66225ad 100644 --- a/src/drivers/distance_sensor/srf02/SRF02.hpp +++ b/src/drivers/distance_sensor/srf02/SRF02.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file srf02.cpp + * @file SRF02.hpp * * Driver for the SRF02 sonar range finder adapted from the Maxbotix sonar range finder driver (srf02). */ diff --git a/src/drivers/distance_sensor/srf05/SRF05.cpp b/src/drivers/distance_sensor/srf05/SRF05.cpp index 9612601057d2..495fa57c7e96 100644 --- a/src/drivers/distance_sensor/srf05/SRF05.cpp +++ b/src/drivers/distance_sensor/srf05/SRF05.cpp @@ -33,7 +33,7 @@ /** - * @file SRF05.c + * @file SRF05.cpp * @author David Sidrane * * Interface for the HY-SRF05 / HC-SR05 and HC-SR04. diff --git a/src/drivers/distance_sensor/teraranger/TERARANGER.hpp b/src/drivers/distance_sensor/teraranger/TERARANGER.hpp index 67dad8c11595..97b024fad045 100644 --- a/src/drivers/distance_sensor/teraranger/TERARANGER.hpp +++ b/src/drivers/distance_sensor/teraranger/TERARANGER.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file teraranger.cpp + * @file TERARANGER.hpp * @author Luis Rodrigues * * Driver for the TeraRanger One range finders connected via I2C. diff --git a/src/drivers/distance_sensor/tf02pro/TF02PRO.hpp b/src/drivers/distance_sensor/tf02pro/TF02PRO.hpp index e53a351075d0..2cf767743d04 100644 --- a/src/drivers/distance_sensor/tf02pro/TF02PRO.hpp +++ b/src/drivers/distance_sensor/tf02pro/TF02PRO.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file TF02PRO.cpp + * @file TF02PRO.hpp * * Driver for the SRF02 sonar range finder adapted from the Maxbotix sonar range finder driver (srf02). */ diff --git a/src/drivers/distance_sensor/tfmini/TFMINI.hpp b/src/drivers/distance_sensor/tfmini/TFMINI.hpp index 3a93c88938ec..a424e59f1dcb 100644 --- a/src/drivers/distance_sensor/tfmini/TFMINI.hpp +++ b/src/drivers/distance_sensor/tfmini/TFMINI.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file tfmini.cpp + * @file TFMINI.hpp * @author Lorenz Meier * @author Greg Hulands * @author Ayush Gaud diff --git a/src/drivers/distance_sensor/tfmini/tfmini_parser.cpp b/src/drivers/distance_sensor/tfmini/tfmini_parser.cpp index 09f57723d305..61bb1612bb8e 100644 --- a/src/drivers/distance_sensor/tfmini/tfmini_parser.cpp +++ b/src/drivers/distance_sensor/tfmini/tfmini_parser.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file modified from sf0x_parser.cpp + * @file tfmini_parser.cpp * @author Lorenz Meier * @author Chuong Nguyen * @author Ayush Gaud diff --git a/src/drivers/distance_sensor/tfmini/tfmini_parser.h b/src/drivers/distance_sensor/tfmini/tfmini_parser.h index dbf40a5f5d85..0ce6d377d401 100644 --- a/src/drivers/distance_sensor/tfmini/tfmini_parser.h +++ b/src/drivers/distance_sensor/tfmini/tfmini_parser.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file modified from sf0x_parser.cpp + * @file tfmini_parser.h * @author Lorenz Meier * @author Chuong Nguyen * @author Ayush Gaud diff --git a/src/drivers/distance_sensor/vl53l1x/vl53l1x.hpp b/src/drivers/distance_sensor/vl53l1x/vl53l1x.hpp index 8db68145e020..a086db3a471c 100644 --- a/src/drivers/distance_sensor/vl53l1x/vl53l1x.hpp +++ b/src/drivers/distance_sensor/vl53l1x/vl53l1x.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file VL53L1X.hpp + * @file vl53l1x.hpp * * Driver for the ST VL53L1X ToF Sensor connected via I2C. */ diff --git a/src/drivers/drv_dshot.h b/src/drivers/drv_dshot.h index 81c92b4d50ee..9c36dfd52d8b 100644 --- a/src/drivers/drv_dshot.h +++ b/src/drivers/drv_dshot.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file DShot servo output interface. + * @file drv_dshot.h * */ diff --git a/src/drivers/drv_input_capture.h b/src/drivers/drv_input_capture.h index b90711ff898e..6233a6a10fdd 100644 --- a/src/drivers/drv_input_capture.h +++ b/src/drivers/drv_input_capture.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Input capture interface. + * @file drv_input_capture.h * * Input capture interface utilizes the FMU_AUX_PINS to time stamp * an edge. diff --git a/src/drivers/drv_neopixel.h b/src/drivers/drv_neopixel.h index 1e08544dcb19..1f2bec03b517 100644 --- a/src/drivers/drv_neopixel.h +++ b/src/drivers/drv_neopixel.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file drv_adc.h + * @file drv_neopixel.h * * ADC driver interface. * diff --git a/src/drivers/drv_pwm_output.h b/src/drivers/drv_pwm_output.h index 6aedf298a32a..3d6694588de9 100644 --- a/src/drivers/drv_pwm_output.h +++ b/src/drivers/drv_pwm_output.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file PWM servo output interface. + * @file drv_pwm_output.h * */ diff --git a/src/drivers/drv_pwm_trigger.h b/src/drivers/drv_pwm_trigger.h index 2abbc7d9c05b..d38a390b5bff 100644 --- a/src/drivers/drv_pwm_trigger.h +++ b/src/drivers/drv_pwm_trigger.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file PWM trigger output interface. + * @file drv_pwm_trigger.h * */ diff --git a/src/drivers/hygrometer/sht3x/sht3x.cpp b/src/drivers/hygrometer/sht3x/sht3x.cpp index dfc6db5f96b2..c029a90d767e 100644 --- a/src/drivers/hygrometer/sht3x/sht3x.cpp +++ b/src/drivers/hygrometer/sht3x/sht3x.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file sht3x.c + * @file sht3x.cpp * * I2C driver for temperature/humidity sensor SHT3x by senserion * diff --git a/src/drivers/imu/invensense/icm42670p/ICM42670P.hpp b/src/drivers/imu/invensense/icm42670p/ICM42670P.hpp index 362418f7aea3..aa078b007c4f 100644 --- a/src/drivers/imu/invensense/icm42670p/ICM42670P.hpp +++ b/src/drivers/imu/invensense/icm42670p/ICM42670P.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ICM42688P.hpp + * @file ICM42670P.hpp * * Driver for the Invensense ICM42688P connected via SPI. * diff --git a/src/drivers/imu/invensense/mpu9250/MPU9250_AK8963.hpp b/src/drivers/imu/invensense/mpu9250/MPU9250_AK8963.hpp index 865b66a93b75..724c93a415d1 100644 --- a/src/drivers/imu/invensense/mpu9250/MPU9250_AK8963.hpp +++ b/src/drivers/imu/invensense/mpu9250/MPU9250_AK8963.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file AK8963.hpp + * @file MPU9250_AK8963.hpp * * Driver for the AKM AK8963 connected via I2C. * diff --git a/src/drivers/imu/nxp/fxos8701cq/FXOS8701CQ.cpp b/src/drivers/imu/nxp/fxos8701cq/FXOS8701CQ.cpp index fc5a22d214ce..cf8457873fb5 100644 --- a/src/drivers/imu/nxp/fxos8701cq/FXOS8701CQ.cpp +++ b/src/drivers/imu/nxp/fxos8701cq/FXOS8701CQ.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file fxos8701cq.cpp + * @file FXOS8701CQ.cpp * Driver for the NXP FXOS8701CQ 6-axis sensor with integrated linear accelerometer and * magnetometer connected via SPI. */ diff --git a/src/drivers/imu/nxp/fxos8701cq/fxos8701cq_main.cpp b/src/drivers/imu/nxp/fxos8701cq/fxos8701cq_main.cpp index 4fd657bc0bfc..e01eb69963ca 100644 --- a/src/drivers/imu/nxp/fxos8701cq/fxos8701cq_main.cpp +++ b/src/drivers/imu/nxp/fxos8701cq/fxos8701cq_main.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file fxos8701cq.cpp + * @file fxos8701cq_main.cpp * Driver for the NXP FXOS8701CQ 6-axis sensor with integrated linear accelerometer and * magnetometer connected via SPI. */ diff --git a/src/drivers/imu/st/l3gd20/L3GD20.hpp b/src/drivers/imu/st/l3gd20/L3GD20.hpp index 71bd532681e8..ddd20ecb2ab5 100644 --- a/src/drivers/imu/st/l3gd20/L3GD20.hpp +++ b/src/drivers/imu/st/l3gd20/L3GD20.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file l3gd20.cpp + * @file L3GD20.hpp * Driver for the ST L3GD20 MEMS and L3GD20H mems gyros connected via SPI. * * Note: With the exception of the self-test feature, the ST L3G4200D is diff --git a/src/drivers/imu/st/lsm9ds1/ST_LSM9DS1_Registers.hpp b/src/drivers/imu/st/lsm9ds1/ST_LSM9DS1_Registers.hpp index 7530dd54a6cc..1d67a3c248fd 100644 --- a/src/drivers/imu/st/lsm9ds1/ST_LSM9DS1_Registers.hpp +++ b/src/drivers/imu/st/lsm9ds1/ST_LSM9DS1_Registers.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ST_LSM9DS1_registers.hpp + * @file ST_LSM9DS1_Registers.hpp * * ST LSM9DS1 registers. * diff --git a/src/drivers/magnetometer/hmc5883/hmc5883_i2c.cpp b/src/drivers/magnetometer/hmc5883/hmc5883_i2c.cpp index ebc6ccde6739..57d7ce230736 100644 --- a/src/drivers/magnetometer/hmc5883/hmc5883_i2c.cpp +++ b/src/drivers/magnetometer/hmc5883/hmc5883_i2c.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file HMC5883_I2C.cpp + * @file hmc5883_i2c.cpp * * I2C interface for HMC5883 / HMC 5983 */ diff --git a/src/drivers/magnetometer/hmc5883/hmc5883_main.cpp b/src/drivers/magnetometer/hmc5883/hmc5883_main.cpp index 4f478e980d33..d8012150314a 100644 --- a/src/drivers/magnetometer/hmc5883/hmc5883_main.cpp +++ b/src/drivers/magnetometer/hmc5883/hmc5883_main.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hmc5883.cpp + * @file hmc5883_main.cpp * * Driver for the HMC5883 / HMC5983 magnetometer connected via I2C or SPI. */ diff --git a/src/drivers/magnetometer/hmc5883/hmc5883_spi.cpp b/src/drivers/magnetometer/hmc5883/hmc5883_spi.cpp index 1cceeb1e5268..47966c40faa7 100644 --- a/src/drivers/magnetometer/hmc5883/hmc5883_spi.cpp +++ b/src/drivers/magnetometer/hmc5883/hmc5883_spi.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file HMC5883_SPI.cpp + * @file hmc5883_spi.cpp * * SPI interface for HMC5983 */ diff --git a/src/drivers/magnetometer/lsm303agr/LSM303AGR.cpp b/src/drivers/magnetometer/lsm303agr/LSM303AGR.cpp index 1818573b0737..fa6e505758f4 100644 --- a/src/drivers/magnetometer/lsm303agr/LSM303AGR.cpp +++ b/src/drivers/magnetometer/lsm303agr/LSM303AGR.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file LSM303agr.cpp + * @file LSM303AGR.cpp * Driver for the ST LSM303AGR MEMS accelerometer / magnetometer connected via SPI. * NOTE: currently only the mag is implemented */ diff --git a/src/drivers/magnetometer/lsm9ds1_mag/ST_LSM9DS1_MAG_Registers.hpp b/src/drivers/magnetometer/lsm9ds1_mag/ST_LSM9DS1_MAG_Registers.hpp index 018d22f02e6c..4966f5361264 100644 --- a/src/drivers/magnetometer/lsm9ds1_mag/ST_LSM9DS1_MAG_Registers.hpp +++ b/src/drivers/magnetometer/lsm9ds1_mag/ST_LSM9DS1_MAG_Registers.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ST_LSM9DS1_MAG_registers.hpp + * @file ST_LSM9DS1_MAG_Registers.hpp * * ST LSM9DS1 magnetometer registers. * diff --git a/src/drivers/pca9685_pwm_out/main.cpp b/src/drivers/pca9685_pwm_out/main.cpp index 0e9bfa63dfcc..ffe53ce3e7b8 100644 --- a/src/drivers/pca9685_pwm_out/main.cpp +++ b/src/drivers/pca9685_pwm_out/main.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file pca9685/main.cpp + * @file main.cpp * * This file serves as the wrapper layer for PCA9685 driver, working with parameters * and scheduling stuffs on PX4 side. diff --git a/src/drivers/px4io/px4io_uploader.cpp b/src/drivers/px4io/px4io_uploader.cpp index 4010e0d5133e..62c699afddbf 100644 --- a/src/drivers/px4io/px4io_uploader.cpp +++ b/src/drivers/px4io/px4io_uploader.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uploader.cpp + * @file px4io_uploader.cpp * Firmware uploader for PX4IO */ diff --git a/src/drivers/rc/crsf_rc/QueueBuffer.hpp b/src/drivers/rc/crsf_rc/QueueBuffer.hpp index f042eab0d579..cbbba2847824 100644 --- a/src/drivers/rc/crsf_rc/QueueBuffer.hpp +++ b/src/drivers/rc/crsf_rc/QueueBuffer.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file QueueBuffer.cpp + * @file QueueBuffer.hpp * * A very lightweight QueueBuffer implemtnation * diff --git a/src/drivers/rc/ghst_rc/ghst_telemetry.hpp b/src/drivers/rc/ghst_rc/ghst_telemetry.hpp index faa61f69b28e..d891e3a88eec 100644 --- a/src/drivers/rc/ghst_rc/ghst_telemetry.hpp +++ b/src/drivers/rc/ghst_rc/ghst_telemetry.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ghst_telemetry.cpp + * @file ghst_telemetry.hpp * * IRC Ghost (Immersion RC Ghost) telemetry. * diff --git a/src/drivers/rc_input/ghst_telemetry.hpp b/src/drivers/rc_input/ghst_telemetry.hpp index faa61f69b28e..d891e3a88eec 100644 --- a/src/drivers/rc_input/ghst_telemetry.hpp +++ b/src/drivers/rc_input/ghst_telemetry.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ghst_telemetry.cpp + * @file ghst_telemetry.hpp * * IRC Ghost (Immersion RC Ghost) telemetry. * diff --git a/src/drivers/rpm/rpm_simulator/rpm_simulator.cpp b/src/drivers/rpm/rpm_simulator/rpm_simulator.cpp index 7da71f1397a3..5e1e8b016ca2 100644 --- a/src/drivers/rpm/rpm_simulator/rpm_simulator.cpp +++ b/src/drivers/rpm/rpm_simulator/rpm_simulator.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file rpm_simulator.c + * @file rpm_simulator.cpp * Simple app for publishing RPM messages with custom value. * * Usage: rpm_simulator diff --git a/src/drivers/telemetry/frsky_telemetry/frsky_data.cpp b/src/drivers/telemetry/frsky_telemetry/frsky_data.cpp index aba2523ebc13..69233bf7530a 100644 --- a/src/drivers/telemetry/frsky_telemetry/frsky_data.cpp +++ b/src/drivers/telemetry/frsky_telemetry/frsky_data.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file frsky_data.c + * @file frsky_data.cpp * * @author Stefan Rado * diff --git a/src/drivers/telemetry/frsky_telemetry/frsky_telemetry.cpp b/src/drivers/telemetry/frsky_telemetry/frsky_telemetry.cpp index 1924b3529fbe..93367b27ec25 100644 --- a/src/drivers/telemetry/frsky_telemetry/frsky_telemetry.cpp +++ b/src/drivers/telemetry/frsky_telemetry/frsky_telemetry.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file frsky_telemetry.c + * @file frsky_telemetry.cpp * @author Stefan Rado * @author Mark Whitehorn * @author Gianni Carbone diff --git a/src/drivers/telemetry/frsky_telemetry/sPort_data.cpp b/src/drivers/telemetry/frsky_telemetry/sPort_data.cpp index cac0b1c71974..5f8d1c75bb0a 100644 --- a/src/drivers/telemetry/frsky_telemetry/sPort_data.cpp +++ b/src/drivers/telemetry/frsky_telemetry/sPort_data.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file sPort_data.c + * @file sPort_data.cpp * @author Stefan Rado * @author Mark Whitehorn * diff --git a/src/drivers/telemetry/hott/comms.cpp b/src/drivers/telemetry/hott/comms.cpp index b9eb2e7758bd..57279dc6c789 100644 --- a/src/drivers/telemetry/hott/comms.cpp +++ b/src/drivers/telemetry/hott/comms.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file comms.c + * @file comms.cpp * @author Simon Wilks * */ diff --git a/src/drivers/telemetry/hott/hott_sensors/hott_sensors.cpp b/src/drivers/telemetry/hott/hott_sensors/hott_sensors.cpp index c6c7f0c7a0d4..b7498e04dfe8 100644 --- a/src/drivers/telemetry/hott/hott_sensors/hott_sensors.cpp +++ b/src/drivers/telemetry/hott/hott_sensors/hott_sensors.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file hott_sensors.c + * @file hott_sensors.cpp * @author Simon Wilks * * Graupner HoTT sensor driver implementation. diff --git a/src/drivers/telemetry/hott/hott_telemetry/hott_telemetry.cpp b/src/drivers/telemetry/hott/hott_telemetry/hott_telemetry.cpp index 43a2ea59952f..031cc741c41b 100644 --- a/src/drivers/telemetry/hott/hott_telemetry/hott_telemetry.cpp +++ b/src/drivers/telemetry/hott/hott_telemetry/hott_telemetry.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file hott_telemetry_main.c + * @file hott_telemetry.cpp * @author Simon Wilks * * Graupner HoTT Telemetry implementation. diff --git a/src/drivers/telemetry/hott/messages.cpp b/src/drivers/telemetry/hott/messages.cpp index f800a0056624..3be05d87a360 100644 --- a/src/drivers/telemetry/hott/messages.cpp +++ b/src/drivers/telemetry/hott/messages.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file messages.c + * @file messages.cpp * */ diff --git a/src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h b/src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h index 36167de780e6..d05a95299115 100644 --- a/src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h +++ b/src/drivers/uavcan/uavcan_drivers/stm32h7/driver/include/uavcan_stm32h7/fdcan_h7x3xx.h @@ -1,6 +1,6 @@ /******************************************************************************* * The following FDCAN register definitions were taken from: - * @file stm32h743xx.h + * @file fdcan_h7x3xx.h * @author MCD Application Team * @version V1.1.0 * @date 31-August-2017 diff --git a/src/drivers/uavcan/uavcan_module.hpp b/src/drivers/uavcan/uavcan_module.hpp index bd055cda9be7..0eadd821f992 100644 --- a/src/drivers/uavcan/uavcan_module.hpp +++ b/src/drivers/uavcan/uavcan_module.hpp @@ -38,7 +38,7 @@ #include /** - * @file uavcan.hpp + * @file uavcan_module.hpp * * Public header for the UAVCAN module * diff --git a/src/drivers/uavcannode/UavcanNode.cpp b/src/drivers/uavcannode/UavcanNode.cpp index 61c96bd6b237..c67f48e4dbae 100644 --- a/src/drivers/uavcannode/UavcanNode.cpp +++ b/src/drivers/uavcannode/UavcanNode.cpp @@ -125,7 +125,7 @@ namespace uavcannode /** - * @file uavcan_main.cpp + * @file UavcanNode.cpp * * Implements basic functionality of UAVCAN node. * diff --git a/src/drivers/uavcannode/UavcanNode.hpp b/src/drivers/uavcannode/UavcanNode.hpp index be75f0bd6911..a800952eba94 100644 --- a/src/drivers/uavcannode/UavcanNode.hpp +++ b/src/drivers/uavcannode/UavcanNode.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file uavcan_main.hpp + * @file UavcanNode.hpp * * Defines basic functionality of UAVCAN node. * diff --git a/src/drivers/wind_sensor/ft_technologies/ft7_technologies.hpp b/src/drivers/wind_sensor/ft_technologies/ft7_technologies.hpp index 816942797347..13e3b6042566 100644 --- a/src/drivers/wind_sensor/ft_technologies/ft7_technologies.hpp +++ b/src/drivers/wind_sensor/ft_technologies/ft7_technologies.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ft7_technolofies.hpp + * @file ft7_technologies.hpp * @author Henry Kotze * * Driver for the FT Technology Wind Sensor. FT742 diff --git a/src/examples/fake_magnetometer/FakeMagnetometer.hpp b/src/examples/fake_magnetometer/FakeMagnetometer.hpp index c13516f03787..fdf5dec5015a 100644 --- a/src/examples/fake_magnetometer/FakeMagnetometer.hpp +++ b/src/examples/fake_magnetometer/FakeMagnetometer.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FakeMagnetometer.cpp + * @file FakeMagnetometer.hpp * * Publish the earth magnetic field as a fake magnetometer (sensor_mag). * Requires vehicle_attitude and vehicle_gps_position diff --git a/src/examples/hello/hello_start.cpp b/src/examples/hello/hello_start.cpp index f343c07f551d..78837f1679e9 100644 --- a/src/examples/hello/hello_start.cpp +++ b/src/examples/hello/hello_start.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hello_start_posix.cpp + * @file hello_start.cpp * * @author Thomas Gubler * @author Mark Charlebois diff --git a/src/examples/matlab_csv_serial/matlab_csv_serial.c b/src/examples/matlab_csv_serial/matlab_csv_serial.c index b7ccbd014335..4795a9e6ae7b 100644 --- a/src/examples/matlab_csv_serial/matlab_csv_serial.c +++ b/src/examples/matlab_csv_serial/matlab_csv_serial.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file matlab_csv_serial_main.c + * @file matlab_csv_serial.c * * Matlab CSV / ASCII format interface at 921600 baud, 8 data bits, * 1 stop bit, no parity diff --git a/src/lib/airspeed/airspeed.cpp b/src/lib/airspeed/airspeed.cpp index b563ecd3b5d0..1179fe6fd6cc 100644 --- a/src/lib/airspeed/airspeed.cpp +++ b/src/lib/airspeed/airspeed.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file airspeed.c + * @file airspeed.cpp * Airspeed estimation * * @author Lorenz Meier diff --git a/src/lib/bezier/BezierN.hpp b/src/lib/bezier/BezierN.hpp index 32e368c14efd..7f635e94b5d8 100644 --- a/src/lib/bezier/BezierN.hpp +++ b/src/lib/bezier/BezierN.hpp @@ -34,7 +34,7 @@ ****************************************************************************/ /** - * @file BerzierN.hpp + * @file BezierN.hpp * * @author Julian Kent * diff --git a/src/lib/bezier/BezierQuad.hpp b/src/lib/bezier/BezierQuad.hpp index 5ff33c3b8582..5aebe94b7b4b 100644 --- a/src/lib/bezier/BezierQuad.hpp +++ b/src/lib/bezier/BezierQuad.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file BerzierQuad.hpp + * @file BezierQuad.hpp * * Quadratic bezier lib * diff --git a/src/lib/cdev/test/cdevtest_example.h b/src/lib/cdev/test/cdevtest_example.h index 094f1989ad75..87713b30746e 100644 --- a/src/lib/cdev/test/cdevtest_example.h +++ b/src/lib/cdev/test/cdevtest_example.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file vcdevtest_example.h + * @file cdevtest_example.h * Example app for Linux * * @author Mark Charlebois diff --git a/src/lib/circuit_breaker/circuit_breaker.cpp b/src/lib/circuit_breaker/circuit_breaker.cpp index 5d658e023a0d..9571d7138caa 100644 --- a/src/lib/circuit_breaker/circuit_breaker.cpp +++ b/src/lib/circuit_breaker/circuit_breaker.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file circuit_breaker.c + * @file circuit_breaker.cpp * * Circuit breaker parameters. * Analog to real aviation circuit breakers these parameters diff --git a/src/lib/circuit_breaker/circuit_breaker_params.c b/src/lib/circuit_breaker/circuit_breaker_params.c index e71b4fd59b34..b68e60a56cb3 100644 --- a/src/lib/circuit_breaker/circuit_breaker_params.c +++ b/src/lib/circuit_breaker/circuit_breaker_params.c @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file circuit_breaker.c + * @file circuit_breaker_params.c * * Circuit breaker parameters. * Analog to real aviation circuit breakers these parameters diff --git a/src/lib/controllib/BlockDelay.hpp b/src/lib/controllib/BlockDelay.hpp index f276f0bf61c2..78405e18bd89 100644 --- a/src/lib/controllib/BlockDelay.hpp +++ b/src/lib/controllib/BlockDelay.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockDelay.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockDerivative.cpp b/src/lib/controllib/BlockDerivative.cpp index 5708af5c488c..48b6c5c1d455 100644 --- a/src/lib/controllib/BlockDerivative.cpp +++ b/src/lib/controllib/BlockDerivative.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockDerivative.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockDerivative.hpp b/src/lib/controllib/BlockDerivative.hpp index 637c23ca5367..f03cb0679bbb 100644 --- a/src/lib/controllib/BlockDerivative.hpp +++ b/src/lib/controllib/BlockDerivative.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockDerivative.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockHighPass.cpp b/src/lib/controllib/BlockHighPass.cpp index d80624181e04..a608c19d1b51 100644 --- a/src/lib/controllib/BlockHighPass.cpp +++ b/src/lib/controllib/BlockHighPass.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockHighPass.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockHighPass.hpp b/src/lib/controllib/BlockHighPass.hpp index b09ab26e47ea..dcfa964b8852 100644 --- a/src/lib/controllib/BlockHighPass.hpp +++ b/src/lib/controllib/BlockHighPass.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockHighPass.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockIntegral.cpp b/src/lib/controllib/BlockIntegral.cpp index 3149640b7738..8e322c7729d4 100644 --- a/src/lib/controllib/BlockIntegral.cpp +++ b/src/lib/controllib/BlockIntegral.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockIntegral.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockIntegral.hpp b/src/lib/controllib/BlockIntegral.hpp index ae9027b611d9..6ffcf8b05713 100644 --- a/src/lib/controllib/BlockIntegral.hpp +++ b/src/lib/controllib/BlockIntegral.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockIntegral.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockIntegralTrap.cpp b/src/lib/controllib/BlockIntegralTrap.cpp index af2fa24a438f..ef516217ac46 100644 --- a/src/lib/controllib/BlockIntegralTrap.cpp +++ b/src/lib/controllib/BlockIntegralTrap.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockIntegralTrap.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockIntegralTrap.hpp b/src/lib/controllib/BlockIntegralTrap.hpp index 41c3c1807041..54aa19ebc09c 100644 --- a/src/lib/controllib/BlockIntegralTrap.hpp +++ b/src/lib/controllib/BlockIntegralTrap.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockIntegralTrap.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLimit.cpp b/src/lib/controllib/BlockLimit.cpp index 9c5e91882061..4e3b9643a7b7 100644 --- a/src/lib/controllib/BlockLimit.cpp +++ b/src/lib/controllib/BlockLimit.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockLimit.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLimit.hpp b/src/lib/controllib/BlockLimit.hpp index 5ffdf1034ff0..89ac1e6e7e6f 100644 --- a/src/lib/controllib/BlockLimit.hpp +++ b/src/lib/controllib/BlockLimit.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockLimit.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLimitSym.cpp b/src/lib/controllib/BlockLimitSym.cpp index 5d6686515c6e..0af0b7110d3a 100644 --- a/src/lib/controllib/BlockLimitSym.cpp +++ b/src/lib/controllib/BlockLimitSym.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockLimitSym.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLimitSym.hpp b/src/lib/controllib/BlockLimitSym.hpp index df4804c4ea77..89fed4f6471f 100644 --- a/src/lib/controllib/BlockLimitSym.hpp +++ b/src/lib/controllib/BlockLimitSym.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockLimitSym.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLowPass.cpp b/src/lib/controllib/BlockLowPass.cpp index f2883d956944..e9fedeeb227d 100644 --- a/src/lib/controllib/BlockLowPass.cpp +++ b/src/lib/controllib/BlockLowPass.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockLowPass.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLowPass.hpp b/src/lib/controllib/BlockLowPass.hpp index 2beebf3c8bc1..971fb594b52d 100644 --- a/src/lib/controllib/BlockLowPass.hpp +++ b/src/lib/controllib/BlockLowPass.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockLowPass.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLowPass2.cpp b/src/lib/controllib/BlockLowPass2.cpp index c9094e60ece0..a5fba734b296 100644 --- a/src/lib/controllib/BlockLowPass2.cpp +++ b/src/lib/controllib/BlockLowPass2.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.cpp + * @file BlockLowPass2.cpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLowPass2.hpp b/src/lib/controllib/BlockLowPass2.hpp index 364fe295b08a..9f1e4bcefe8c 100644 --- a/src/lib/controllib/BlockLowPass2.hpp +++ b/src/lib/controllib/BlockLowPass2.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockLowPass2.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockLowPassVector.hpp b/src/lib/controllib/BlockLowPassVector.hpp index b7042faf0054..39a4b3820531 100644 --- a/src/lib/controllib/BlockLowPassVector.hpp +++ b/src/lib/controllib/BlockLowPassVector.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockLowPassVector.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockOutput.hpp b/src/lib/controllib/BlockOutput.hpp index fc2da79234aa..320cf722bb21 100644 --- a/src/lib/controllib/BlockOutput.hpp +++ b/src/lib/controllib/BlockOutput.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockOutput.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockP.hpp b/src/lib/controllib/BlockP.hpp index 4fd6e0cda599..8f8e62cf6d4f 100644 --- a/src/lib/controllib/BlockP.hpp +++ b/src/lib/controllib/BlockP.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockP.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockPD.hpp b/src/lib/controllib/BlockPD.hpp index 38703b52e7bd..5d192217fa43 100644 --- a/src/lib/controllib/BlockPD.hpp +++ b/src/lib/controllib/BlockPD.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockPD.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockPI.hpp b/src/lib/controllib/BlockPI.hpp index 49b65c5738cf..f63603384b8d 100644 --- a/src/lib/controllib/BlockPI.hpp +++ b/src/lib/controllib/BlockPI.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockPI.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockPID.hpp b/src/lib/controllib/BlockPID.hpp index bf7f90b694dc..31c3759fcf7a 100644 --- a/src/lib/controllib/BlockPID.hpp +++ b/src/lib/controllib/BlockPID.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockPID.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockRandGauss.hpp b/src/lib/controllib/BlockRandGauss.hpp index 27791a577efd..d0ecc55f64b3 100644 --- a/src/lib/controllib/BlockRandGauss.hpp +++ b/src/lib/controllib/BlockRandGauss.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockRandGauss.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockRandUniform.hpp b/src/lib/controllib/BlockRandUniform.hpp index c79d9ce31a47..87a72e9d06da 100644 --- a/src/lib/controllib/BlockRandUniform.hpp +++ b/src/lib/controllib/BlockRandUniform.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockRandUniform.hpp * * Controller library code */ diff --git a/src/lib/controllib/BlockStats.hpp b/src/lib/controllib/BlockStats.hpp index 26fbee9780ea..3371f4eb1bef 100644 --- a/src/lib/controllib/BlockStats.hpp +++ b/src/lib/controllib/BlockStats.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file blocks.h + * @file BlockStats.hpp * * Controller library code */ diff --git a/src/lib/events/enums.json b/src/lib/events/enums.json index dece82e5bb2b..3b73cff62ca7 100644 --- a/src/lib/events/enums.json +++ b/src/lib/events/enums.json @@ -640,7 +640,7 @@ }, "6": { "name": "incompatible_voltage", - "description": "Vehicle voltage is not compatible with battery one" + "description": "Voltage mismatch, use equally charged batteries" }, "7": { "name": "incompatible_firmware", diff --git a/src/lib/geo/geo.cpp b/src/lib/geo/geo.cpp index bbbb7d078261..2818742ef276 100644 --- a/src/lib/geo/geo.cpp +++ b/src/lib/geo/geo.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file geo.c + * @file geo.cpp * * Geo / math functions to perform geodesic calculations * diff --git a/src/lib/hysteresis/HysteresisTest.cpp b/src/lib/hysteresis/HysteresisTest.cpp index 5426c21a916d..b0edcae720a6 100644 --- a/src/lib/hysteresis/HysteresisTest.cpp +++ b/src/lib/hysteresis/HysteresisTest.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hysteresis_test.cpp + * @file HysteresisTest.cpp * Tests for system timing hysteresis. */ diff --git a/src/lib/l1/ECL_L1_Pos_Controller.hpp b/src/lib/l1/ECL_L1_Pos_Controller.hpp index c36a2c2731d2..505e9944cefd 100644 --- a/src/lib/l1/ECL_L1_Pos_Controller.hpp +++ b/src/lib/l1/ECL_L1_Pos_Controller.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ecl_l1_pos_control.h + * @file ECL_L1_Pos_Controller.hpp * Implementation of L1 position control. * * diff --git a/src/lib/mathlib/math/SearchMin.hpp b/src/lib/mathlib/math/SearchMin.hpp index 668f291f97de..71ecd806c483 100644 --- a/src/lib/mathlib/math/SearchMin.hpp +++ b/src/lib/mathlib/math/SearchMin.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file Seach.hpp + * @file SearchMin.hpp * * - Binary Search (ToDo) * - Golden Section Search diff --git a/src/lib/mathlib/math/test/AlphaFilterTest.cpp b/src/lib/mathlib/math/test/AlphaFilterTest.cpp index 63868f9aee85..19760e8d2a4d 100644 --- a/src/lib/mathlib/math/test/AlphaFilterTest.cpp +++ b/src/lib/mathlib/math/test/AlphaFilterTest.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_AlphaFilter.cpp + * @file AlphaFilterTest.cpp * * @brief Unit tests for the alpha filter class */ diff --git a/src/lib/mathlib/math/test/UtilitiesTest.cpp b/src/lib/mathlib/math/test/UtilitiesTest.cpp index 59901ef3b3d0..017a38d49ecc 100644 --- a/src/lib/mathlib/math/test/UtilitiesTest.cpp +++ b/src/lib/mathlib/math/test/UtilitiesTest.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_EKF_utils.cpp + * @file UtilitiesTest.cpp * * @brief Unit tests for the miscellaneous EKF utilities */ diff --git a/src/lib/parameters/flashparams/flashfs.c b/src/lib/parameters/flashparams/flashfs.c index a692b62048dc..97847fa1a9d1 100644 --- a/src/lib/parameters/flashparams/flashfs.c +++ b/src/lib/parameters/flashparams/flashfs.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file flashparam.c + * @file flashfs.c * * Global flash based parameter store. * diff --git a/src/lib/parameters/flashparams/flashfs.h b/src/lib/parameters/flashparams/flashfs.h index 227f0c63c355..c2f3db4f6277 100644 --- a/src/lib/parameters/flashparams/flashfs.h +++ b/src/lib/parameters/flashparams/flashfs.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file param.h + * @file flashfs.h * * Global flash based parameter store. * diff --git a/src/lib/parameters/flashparams/flashparams.cpp b/src/lib/parameters/flashparams/flashparams.cpp index c37959a706fc..198bb7b2ff89 100644 --- a/src/lib/parameters/flashparams/flashparams.cpp +++ b/src/lib/parameters/flashparams/flashparams.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file flashparam.c + * @file flashparams.cpp * * Global flash based parameter store. * diff --git a/src/lib/parameters/flashparams/flashparams.h b/src/lib/parameters/flashparams/flashparams.h index 667b464767af..a64b74de19c8 100644 --- a/src/lib/parameters/flashparams/flashparams.h +++ b/src/lib/parameters/flashparams/flashparams.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file param.h + * @file flashparams.h * * Global flash based parameter store. * diff --git a/src/lib/perf/perf_counter.cpp b/src/lib/perf/perf_counter.cpp index 8cd3ddddeb90..11ad01e4ea65 100644 --- a/src/lib/perf/perf_counter.cpp +++ b/src/lib/perf/perf_counter.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file perf_counter.c + * @file perf_counter.cpp * * @brief Performance measuring tools. */ diff --git a/src/lib/pid/pid.cpp b/src/lib/pid/pid.cpp index 748d7c3318c4..076c1afeedb2 100644 --- a/src/lib/pid/pid.cpp +++ b/src/lib/pid/pid.cpp @@ -37,7 +37,7 @@ ****************************************************************************/ /** - * @file pid.c + * @file pid.cpp * * Implementation of generic PID controller. * diff --git a/src/lib/rate_control/rate_control.cpp b/src/lib/rate_control/rate_control.cpp index baa4c8e7b5ba..7d6367a886c9 100644 --- a/src/lib/rate_control/rate_control.cpp +++ b/src/lib/rate_control/rate_control.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file RateControl.cpp + * @file rate_control.cpp */ #include "rate_control.hpp" diff --git a/src/lib/rc/ghst.hpp b/src/lib/rc/ghst.hpp index f1f6ef330615..6f5a4f46644b 100644 --- a/src/lib/rc/ghst.hpp +++ b/src/lib/rc/ghst.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ghst.h + * @file ghst.hpp * * RC protocol definition for IRC Ghost (Immersion RC Ghost). * diff --git a/src/lib/rc/sbus.cpp b/src/lib/rc/sbus.cpp index 04fd38d8fcaa..8dfee6bb579a 100644 --- a/src/lib/rc/sbus.cpp +++ b/src/lib/rc/sbus.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file sbus.c + * @file sbus.cpp * * Serial protocol decoder for the Futaba S.bus protocol. */ diff --git a/src/lib/rc/st24.cpp b/src/lib/rc/st24.cpp index 50a2f72769b4..3e0b2f685171 100644 --- a/src/lib/rc/st24.cpp +++ b/src/lib/rc/st24.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file st24.h + * @file st24.cpp * * RC protocol implementation for Yuneec ST24 transmitter. * diff --git a/src/lib/rc/sumd.cpp b/src/lib/rc/sumd.cpp index db02227c8279..5054fa4708ca 100644 --- a/src/lib/rc/sumd.cpp +++ b/src/lib/rc/sumd.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file sumd.h + * @file sumd.cpp * * RC protocol definition for Graupner HoTT transmitter (SUMD/SUMH Protocol) * diff --git a/src/lib/systemlib/mavlink_log.cpp b/src/lib/systemlib/mavlink_log.cpp index 94870af7ae12..c9b4fa3737ae 100644 --- a/src/lib/systemlib/mavlink_log.cpp +++ b/src/lib/systemlib/mavlink_log.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mavlink_log.c + * @file mavlink_log.cpp * MAVLink text logging. * * @author Lorenz Meier diff --git a/src/lib/tecs/TECS.hpp b/src/lib/tecs/TECS.hpp index 57cc12690b14..a45faeb2e372 100644 --- a/src/lib/tecs/TECS.hpp +++ b/src/lib/tecs/TECS.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file tecs.cpp + * @file TECS.hpp * * @author Paul Riseborough */ @@ -651,6 +651,14 @@ class TECS float get_pitch_setpoint() {return _control.getPitchSetpoint();} float get_throttle_setpoint() {return _control.getThrottleSetpoint();} + /** + * Returns the altitude tracking time constant + */ + float get_altitude_error_time_constant() const + { + return 1.0f / math::max(_control_param.altitude_error_gain, 0.01f); + } + uint64_t timestamp() { return _update_timestamp; } float get_underspeed_ratio() { return _control.getRatioUndersped(); } diff --git a/src/lib/timesync/Timesync.cpp b/src/lib/timesync/Timesync.cpp index dc2c7211c2de..98b4902c2387 100644 --- a/src/lib/timesync/Timesync.cpp +++ b/src/lib/timesync/Timesync.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file timesync.cpp + * @file Timesync.cpp * timesync implementation. * * @author Mohammed Kabir diff --git a/src/lib/tinybson/tinybson.cpp b/src/lib/tinybson/tinybson.cpp index 568bdd681651..131901ecc889 100644 --- a/src/lib/tinybson/tinybson.cpp +++ b/src/lib/tinybson/tinybson.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file tinybson.c + * @file tinybson.cpp * * A simple subset SAX-style BSON parser and generator. */ diff --git a/src/lib/tunes/default_tunes.cpp b/src/lib/tunes/default_tunes.cpp index d516cccdbe19..71ac9957bdb8 100644 --- a/src/lib/tunes/default_tunes.cpp +++ b/src/lib/tunes/default_tunes.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file default_tunes.h + * @file default_tunes.cpp */ #include "tunes.h" diff --git a/src/modules/battery_status/battery_status.cpp b/src/modules/battery_status/battery_status.cpp index ef921f3eaf8e..1d104e4087e8 100644 --- a/src/modules/battery_status/battery_status.cpp +++ b/src/modules/battery_status/battery_status.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file sensors.cpp + * @file battery_status.cpp * * @author Lorenz Meier * @author Julian Oes diff --git a/src/modules/commander/Commander.cpp b/src/modules/commander/Commander.cpp index eed543fe2df5..d0b517cd25ae 100644 --- a/src/modules/commander/Commander.cpp +++ b/src/modules/commander/Commander.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file commander.cpp + * @file Commander.cpp * * Main state machine / business logic * diff --git a/src/modules/commander/airspeed_calibration.h b/src/modules/commander/airspeed_calibration.h index 3a86b0097f2f..d48264fefe32 100644 --- a/src/modules/commander/airspeed_calibration.h +++ b/src/modules/commander/airspeed_calibration.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file gyro_calibration.h + * @file airspeed_calibration.h * Airspeed sensor calibration routine */ diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp index 5164acff05e3..b4edd0f2b01c 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotors.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ActuatorEffectivenessRotors.hpp + * @file ActuatorEffectivenessRotors.cpp * * Actuator effectiveness computed from rotors position and orientation * diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotorsTest.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotorsTest.cpp index 603248ab9d9b..9a6e45e1ad6f 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotorsTest.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessRotorsTest.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ActuatorEffectivenessRotors.cpp + * @file ActuatorEffectivenessRotorsTest.cpp * * Tests for Control Allocation Algorithms * diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp index aad6d4391b20..559101c106d7 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTailsitterVTOL.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ActuatorEffectivenessTailsitterVTOL.hpp + * @file ActuatorEffectivenessTailsitterVTOL.cpp * * Actuator effectiveness for tailsitter VTOL */ diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp index 5fe261b27fb0..93ac6783d65a 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessTiltrotorVTOL.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ActuatorEffectivenessTiltrotorVTOL.hpp + * @file ActuatorEffectivenessTiltrotorVTOL.cpp * * Actuator effectiveness for tiltrotor VTOL * diff --git a/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverse.cpp b/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverse.cpp index ee1d2dceb2c3..5d86814d7e67 100644 --- a/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverse.cpp +++ b/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverse.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ControlAllocationPseudoInverse.hpp + * @file ControlAllocationPseudoInverse.cpp * * Simple Control Allocation Algorithm * diff --git a/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverseTest.cpp b/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverseTest.cpp index 1f242befb7d5..89faab8c92ea 100644 --- a/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverseTest.cpp +++ b/src/modules/control_allocator/ControlAllocation/ControlAllocationPseudoInverseTest.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ControlAllocationTest.cpp + * @file ControlAllocationPseudoInverseTest.cpp * * Tests for Control Allocation Algorithms * diff --git a/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_fusion.cpp b/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_fusion.cpp index 0bada1b2b60e..58c9c25e1cac 100644 --- a/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_fusion.cpp +++ b/src/modules/ekf2/EKF/aid_sources/magnetometer/mag_fusion.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file heading_fusion.cpp + * @file mag_fusion.cpp * Magnetometer fusion methods. * Equations generated using EKF/python/ekf_derivation/main.py * diff --git a/src/modules/ekf2/EKF/aid_sources/optical_flow/optical_flow_fusion.cpp b/src/modules/ekf2/EKF/aid_sources/optical_flow/optical_flow_fusion.cpp index e95df3dbc2d1..97bccea2c912 100644 --- a/src/modules/ekf2/EKF/aid_sources/optical_flow/optical_flow_fusion.cpp +++ b/src/modules/ekf2/EKF/aid_sources/optical_flow/optical_flow_fusion.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file optflow_fusion.cpp + * @file optical_flow_fusion.cpp */ #include "ekf.h" diff --git a/src/modules/ekf2/EKF2.hpp b/src/modules/ekf2/EKF2.hpp index 489e0bbd5ae0..6b6366557b59 100644 --- a/src/modules/ekf2/EKF2.hpp +++ b/src/modules/ekf2/EKF2.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file EKF2.cpp + * @file EKF2.hpp * Implementation of the attitude and position estimator. * * @author Roman Bapst diff --git a/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp b/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp index 22eb458c81e2..9c22ae66a3d6 100644 --- a/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp +++ b/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FlightManualAltitude.cpp + * @file FlightTaskManualAltitude.cpp */ #include "FlightTaskManualAltitude.hpp" diff --git a/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.hpp b/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.hpp index 527e5ad6f753..4df9444e986e 100644 --- a/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.hpp +++ b/src/modules/flight_mode_manager/tasks/ManualAltitude/FlightTaskManualAltitude.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FlightManualAltitude.hpp + * @file FlightTaskManualAltitude.hpp * * Flight task for manual controlled altitude. */ diff --git a/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp b/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp index 2f6128508e2d..351daa86bfe5 100644 --- a/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp +++ b/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FlightManualAltitude.cpp + * @file FlightTaskManualAltitudeSmoothVel.cpp */ #include "FlightTaskManualAltitudeSmoothVel.hpp" diff --git a/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.hpp b/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.hpp index 468388c031b9..ce12b40f0359 100644 --- a/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.hpp +++ b/src/modules/flight_mode_manager/tasks/ManualAltitudeSmoothVel/FlightTaskManualAltitudeSmoothVel.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FlightManualAltitudeSmoothVel.hpp + * @file FlightTaskManualAltitudeSmoothVel.hpp * * Flight task for manual controlled altitude using the velocity smoothing library */ diff --git a/src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp b/src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp index db23c2e0d73d..bf5d2799d3fc 100644 --- a/src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp +++ b/src/modules/flight_mode_manager/tasks/Transition/FlightTaskTransition.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file FlightTaskTranstion.cpp + * @file FlightTaskTransition.cpp */ #include "FlightTaskTransition.hpp" diff --git a/src/modules/fw_pos_control/FixedwingPositionControl.cpp b/src/modules/fw_pos_control/FixedwingPositionControl.cpp index fcd5ce553903..4a20c0cf6969 100644 --- a/src/modules/fw_pos_control/FixedwingPositionControl.cpp +++ b/src/modules/fw_pos_control/FixedwingPositionControl.cpp @@ -80,6 +80,9 @@ FixedwingPositionControl::FixedwingPositionControl(bool vtol) : _roll_slew_rate.setSlewRate(radians(_param_fw_pn_r_slew_max.get())); _roll_slew_rate.setForcedValue(0.f); + _tecs_alt_time_const_slew_rate.setSlewRate(TECS_ALT_TIME_CONST_SLEW_RATE); + _tecs_alt_time_const_slew_rate.setForcedValue(_param_fw_t_h_error_tc.get() * _param_fw_thrtc_sc.get()); + } FixedwingPositionControl::~FixedwingPositionControl() @@ -419,6 +422,7 @@ FixedwingPositionControl::tecs_status_publish(float alt_sp, float equivalent_air tecs_status.altitude_sp = alt_sp; tecs_status.altitude_reference = debug_output.altitude_reference; + tecs_status.altitude_time_constant = _tecs.get_altitude_error_time_constant(); tecs_status.height_rate_reference = debug_output.height_rate_reference; tecs_status.height_rate_direct = debug_output.height_rate_direct; tecs_status.height_rate_setpoint = debug_output.control.altitude_rate_control; @@ -940,8 +944,9 @@ FixedwingPositionControl::control_auto(const float control_interval, const Vecto void FixedwingPositionControl::control_auto_fixed_bank_alt_hold(const float control_interval) { - // only control altitude and airspeed ("fixed-bank loiter") + const bool is_low_height = checkLowHeightConditions(); + // only control altitude and airspeed ("fixed-bank loiter") tecs_update_pitch_throttle(control_interval, _current_altitude, _performance_model.getCalibratedTrimAirspeed(), @@ -950,7 +955,8 @@ FixedwingPositionControl::control_auto_fixed_bank_alt_hold(const float control_i _param_fw_thr_min.get(), _param_fw_thr_max.get(), _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); const float roll_body = math::radians(_param_nav_gpsf_r.get()); // open loop loiter bank angle const float yaw_body = 0.f; @@ -976,6 +982,8 @@ FixedwingPositionControl::control_auto_descend(const float control_interval) const float descend_rate = -0.5f; const bool disable_underspeed_handling = false; + const bool is_low_height = checkLowHeightConditions(); + tecs_update_pitch_throttle(control_interval, _current_altitude, _performance_model.getCalibratedTrimAirspeed(), @@ -985,6 +993,7 @@ FixedwingPositionControl::control_auto_descend(const float control_interval) _param_fw_thr_max.get(), _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, descend_rate); @@ -1125,6 +1134,8 @@ FixedwingPositionControl::control_auto_position(const float control_interval, co float yaw_body = _yaw; // yaw is not controlled, so set setpoint to current yaw + const bool is_low_height = checkLowHeightConditions(); + tecs_update_pitch_throttle(control_interval, position_sp_alt, target_airspeed, @@ -1133,7 +1144,9 @@ FixedwingPositionControl::control_auto_position(const float control_interval, co tecs_fw_thr_min, tecs_fw_thr_max, _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); + const float pitch_body = get_tecs_pitch(); const Quatf attitude_setpoint(Eulerf(roll_body, pitch_body, yaw_body)); attitude_setpoint.copyTo(_att_sp.q_d); @@ -1178,6 +1191,8 @@ FixedwingPositionControl::control_auto_velocity(const float control_interval, co float yaw_body = _yaw; const bool disable_underspeed_handling = false; + const bool is_low_height = checkLowHeightConditions(); + tecs_update_pitch_throttle(control_interval, position_sp_alt, target_airspeed, @@ -1187,6 +1202,7 @@ FixedwingPositionControl::control_auto_velocity(const float control_interval, co tecs_fw_thr_max, _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, pos_sp_curr.vz); const float pitch_body = get_tecs_pitch(); @@ -1200,6 +1216,7 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons const Vector2f &ground_speed, const position_setpoint_s &pos_sp_prev, const position_setpoint_s &pos_sp_curr, const position_setpoint_s &pos_sp_next) { + Vector2d curr_wp{0, 0}; Vector2d prev_wp{0, 0}; @@ -1248,6 +1265,8 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons Vector2f curr_wp_local{_global_local_proj_ref.project(curr_wp(0), curr_wp(1))}; Vector2f vehicle_to_loiter_center{curr_wp_local - curr_pos_local}; + bool is_low_height = checkLowHeightConditions(); + const bool close_to_circle = vehicle_to_loiter_center.norm() < loiter_radius + _npfg.switchDistance(500); if (pos_sp_next.type == position_setpoint_s::SETPOINT_TYPE_LAND && _position_setpoint_next_valid @@ -1255,7 +1274,10 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons // We're in a loiter directly before a landing WP. Enable our landing configuration (flaps, // landing airspeed and potentially tighter altitude control) already such that we don't // have to do this switch (which can cause significant altitude errors) close to the ground. - _tecs.set_altitude_error_time_constant(_param_fw_thrtc_sc.get() * _param_fw_t_h_error_tc.get()); + + // Just before landing, enforce low-height flight conditions for tighter altitude control + is_low_height = true; + airspeed_sp = (_param_fw_lnd_airspd.get() > FLT_EPSILON) ? _param_fw_lnd_airspd.get() : _performance_model.getMinimumCalibratedAirspeed(getLoadFactor()); _flaps_setpoint = _param_fw_flaps_lnd_scl.get(); @@ -1289,7 +1311,7 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons roll_body = 0.0f; } - _tecs.set_altitude_error_time_constant(_param_fw_thrtc_sc.get() * _param_fw_t_h_error_tc.get()); + is_low_height = true; // In low-height flight, TECS will control altitude tighter } tecs_update_pitch_throttle(control_interval, @@ -1300,7 +1322,8 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons tecs_fw_thr_min, tecs_fw_thr_max, _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); const float pitch_body = get_tecs_pitch(); @@ -1350,6 +1373,8 @@ FixedwingPositionControl::controlAutoFigureEight(const float control_interval, c tecs_fw_thr_max = _param_fw_thr_max.get(); } + const bool is_low_height = checkLowHeightConditions(); + tecs_update_pitch_throttle(control_interval, pos_sp_curr.alt, target_airspeed, @@ -1358,7 +1383,8 @@ FixedwingPositionControl::controlAutoFigureEight(const float control_interval, c tecs_fw_thr_min, tecs_fw_thr_max, _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); // Yaw float yaw_body = _yaw; // yaw is not controlled, so set setpoint to current yaw @@ -1388,7 +1414,6 @@ void FixedwingPositionControl::control_auto_path(const float control_interval, const Vector2d &curr_pos, const Vector2f &ground_speed, const position_setpoint_s &pos_sp_curr) { - float tecs_fw_thr_min; float tecs_fw_thr_max; @@ -1425,6 +1450,8 @@ FixedwingPositionControl::control_auto_path(const float control_interval, const float yaw_body = _yaw; // yaw is not controlled, so set setpoint to current yaw + const bool is_low_height = checkLowHeightConditions(); + tecs_update_pitch_throttle(control_interval, pos_sp_curr.alt, target_airspeed, @@ -1433,7 +1460,8 @@ FixedwingPositionControl::control_auto_path(const float control_interval, const tecs_fw_thr_min, tecs_fw_thr_max, _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); _att_sp.thrust_body[0] = min(get_tecs_thrust(), tecs_fw_thr_max); const float pitch_body = get_tecs_pitch(); @@ -1471,6 +1499,8 @@ FixedwingPositionControl::control_auto_takeoff(const hrt_abstime &now, const flo adjusted_min_airspeed = takeoff_airspeed; } + const bool is_low_height = checkLowHeightConditions(); + if (_runway_takeoff.runwayTakeoffEnabled()) { if (!_runway_takeoff.isInitialized()) { _runway_takeoff.init(now, _yaw, global_position); @@ -1559,6 +1589,7 @@ FixedwingPositionControl::control_auto_takeoff(const hrt_abstime &now, const flo _param_fw_thr_max.get(), _param_sinkrate_target.get(), _performance_model.getMaximumClimbRate(_air_density), + is_low_height, disable_underspeed_handling); _tecs.set_equivalent_airspeed_min(_performance_model.getMinimumCalibratedAirspeed()); // reset after TECS calculation @@ -1646,6 +1677,7 @@ FixedwingPositionControl::control_auto_takeoff(const hrt_abstime &now, const flo max_takeoff_throttle, _param_sinkrate_target.get(), _performance_model.getMaximumClimbRate(_air_density), + is_low_height, disable_underspeed_handling); if (_launchDetector.getLaunchDetected() < launch_detection_status_s::STATE_FLYING) { @@ -1709,8 +1741,7 @@ FixedwingPositionControl::control_auto_landing_straight(const hrt_abstime &now, float target_airspeed = adapt_airspeed_setpoint(control_interval, airspeed_land, adjusted_min_airspeed, ground_speed); - // Enable tighter altitude control for landings - _tecs.set_altitude_error_time_constant(_param_fw_thrtc_sc.get() * _param_fw_t_h_error_tc.get()); + // now handle position const Vector2f local_position{_local_pos.x, _local_pos.y}; @@ -1758,6 +1789,9 @@ FixedwingPositionControl::control_auto_landing_straight(const hrt_abstime &now, // flare at the maximum of the altitude determined by the time before touchdown and a minimum flare altitude const float flare_rel_alt = math::max(_param_fw_lnd_fl_time.get() * _local_pos.vz, _param_fw_lnd_flalt.get()); + // During landing, enforce low-height flight conditions for tighter altitude control + const bool is_low_height = true; + // the terrain estimate (if enabled) is always used to determine the flaring altitude if ((_current_altitude < terrain_alt + flare_rel_alt) || _flare_states.flaring) { // flare and land with minimal speed @@ -1834,6 +1868,7 @@ FixedwingPositionControl::control_auto_landing_straight(const hrt_abstime &now, throttle_max, _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, height_rate_setpoint); @@ -1894,7 +1929,8 @@ FixedwingPositionControl::control_auto_landing_straight(const hrt_abstime &now, _param_fw_thr_min.get(), _param_fw_thr_max.get(), desired_max_sinkrate, - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); /* set the attitude and throttle commands */ @@ -1947,8 +1983,6 @@ FixedwingPositionControl::control_auto_landing_circular(const hrt_abstime &now, float target_airspeed = adapt_airspeed_setpoint(control_interval, airspeed_land, adjusted_min_airspeed, ground_speed); - // Enable tighter altitude control for landings - _tecs.set_altitude_error_time_constant(_param_fw_thrtc_sc.get() * _param_fw_t_h_error_tc.get()); const Vector2f local_position{_local_pos.x, _local_pos.y}; Vector2f local_landing_orbit_center = _global_local_proj_ref.project(pos_sp_curr.lat, pos_sp_curr.lon); @@ -1972,6 +2006,9 @@ FixedwingPositionControl::control_auto_landing_circular(const hrt_abstime &now, loiter_radius = _param_nav_loiter_rad.get(); } + // During landing, enforce low-height flight conditions for tighter altitude control + const bool is_low_height = true; + // the terrain estimate (if enabled) is always used to determine the flaring altitude float roll_body; float yaw_body; @@ -2051,6 +2088,7 @@ FixedwingPositionControl::control_auto_landing_circular(const hrt_abstime &now, throttle_max, _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, height_rate_setpoint); @@ -2108,6 +2146,7 @@ FixedwingPositionControl::control_auto_landing_circular(const hrt_abstime &now, _param_fw_thr_max.get(), desired_max_sinkrate, _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, -glide_slope_sink_rate); // heightrate = -sinkrate @@ -2165,6 +2204,9 @@ FixedwingPositionControl::control_manual_altitude(const float control_interval, throttle_max = 0.0f; } + + const bool is_low_height = checkLowHeightConditions(); + const bool disable_underspeed_handling = false; tecs_update_pitch_throttle(control_interval, @@ -2176,6 +2218,7 @@ FixedwingPositionControl::control_manual_altitude(const float control_interval, throttle_max, _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, height_rate_sp); @@ -2267,8 +2310,11 @@ FixedwingPositionControl::control_manual_position(const float control_interval, } } + const bool is_low_height = checkLowHeightConditions(); + const bool disable_underspeed_handling = false; + tecs_update_pitch_throttle(control_interval, _current_altitude, // TODO: check if this is really what we want.. or if we want to lock the altitude. calibrated_airspeed_sp, @@ -2278,6 +2324,7 @@ FixedwingPositionControl::control_manual_position(const float control_interval, throttle_max, _param_sinkrate_target.get(), _param_climbrate_target.get(), + is_low_height, disable_underspeed_handling, height_rate_sp); @@ -2302,6 +2349,8 @@ FixedwingPositionControl::control_manual_position(const float control_interval, void FixedwingPositionControl::control_backtransition(const float control_interval, const Vector2f &ground_speed, const position_setpoint_s &pos_sp_curr) { + const bool is_low_height = checkLowHeightConditions(); + float target_airspeed = adapt_airspeed_setpoint(control_interval, pos_sp_curr.cruising_speed, _performance_model.getMinimumCalibratedAirspeed(getLoadFactor()), ground_speed); @@ -2332,7 +2381,8 @@ void FixedwingPositionControl::control_backtransition(const float control_interv _param_fw_thr_min.get(), _param_fw_thr_max.get(), _param_sinkrate_target.get(), - _param_climbrate_target.get()); + _param_climbrate_target.get(), + is_low_height); _att_sp.thrust_body[0] = (_landed) ? _param_fw_thr_min.get() : min(get_tecs_thrust(), _param_fw_thr_max.get()); const float pitch_body = get_tecs_pitch(); @@ -2555,7 +2605,6 @@ FixedwingPositionControl::Run() // restore nominal TECS parameters in case changed intermittently (e.g. in landing handling) _tecs.set_speed_weight(_param_fw_t_spdweight.get()); - _tecs.set_altitude_error_time_constant(_param_fw_t_h_error_tc.get()); // restore lateral-directional guidance parameters (changed in takeoff mode) _npfg.setPeriod(_param_npfg_period.get()); @@ -2687,6 +2736,8 @@ FixedwingPositionControl::Run() _roll_slew_rate.setForcedValue(_roll); } + + // Publish estimate of level flight _flight_phase_estimation_pub.get().timestamp = hrt_absolute_time(); _flight_phase_estimation_pub.update(); @@ -2755,7 +2806,7 @@ FixedwingPositionControl::reset_landing_state() void FixedwingPositionControl::tecs_update_pitch_throttle(const float control_interval, float alt_sp, float airspeed_sp, float pitch_min_rad, float pitch_max_rad, float throttle_min, float throttle_max, - const float desired_max_sinkrate, const float desired_max_climbrate, + const float desired_max_sinkrate, const float desired_max_climbrate, const bool is_low_height, bool disable_underspeed_detection, float hgt_rate_sp) { // do not run TECS if vehicle is a VTOL and we are in rotary wing mode or in transition @@ -2775,6 +2826,8 @@ FixedwingPositionControl::tecs_update_pitch_throttle(const float control_interva /* No underspeed protection in landing mode */ _tecs.set_detect_underspeed_enabled(!disable_underspeed_detection); + updateTECSAltitudeTimeConstant(is_low_height, control_interval); + // HOTFIX: the airspeed rate estimate using acceleration in body-forward direction has shown to lead to high biases // when flying tight turns. It's in this case much safer to just set the estimated airspeed rate to 0. const float airspeed_rate_estimate = 0.f; @@ -2897,6 +2950,27 @@ FixedwingPositionControl::initializeAutoLanding(const hrt_abstime &now, const po } } +bool FixedwingPositionControl::checkLowHeightConditions() +{ + // Are conditions for low-height + return _param_fw_t_thr_low_hgt.get() >= 0.f && _local_pos.dist_bottom_valid + && _local_pos.dist_bottom < _param_fw_t_thr_low_hgt.get(); +} + +void FixedwingPositionControl::updateTECSAltitudeTimeConstant(const bool is_low_height, const float dt) +{ + // Target time constant for the TECS altitude tracker + float alt_tracking_tc = _param_fw_t_h_error_tc.get(); + + if (is_low_height) { + // If low-height conditions satisfied, compute target time constant for altitude tracking + alt_tracking_tc *= _param_fw_thrtc_sc.get(); + } + + _tecs_alt_time_const_slew_rate.update(alt_tracking_tc, dt); + _tecs.set_altitude_error_time_constant(_tecs_alt_time_const_slew_rate.getState()); +} + Vector2f FixedwingPositionControl::calculateTouchdownPosition(const float control_interval, const Vector2f &local_land_position) { diff --git a/src/modules/fw_pos_control/FixedwingPositionControl.hpp b/src/modules/fw_pos_control/FixedwingPositionControl.hpp index 84300ae1b409..5600e71fcdc1 100644 --- a/src/modules/fw_pos_control/FixedwingPositionControl.hpp +++ b/src/modules/fw_pos_control/FixedwingPositionControl.hpp @@ -33,7 +33,7 @@ /** - * @file fw_pos_control_main.hpp + * @file FixedwingPositionControl.hpp * Implementation of various fixed-wing position level navigation/control modes. * * The implementation for the controllers is in a separate library. This class only @@ -175,6 +175,8 @@ static constexpr uint64_t ROLL_WARNING_TIMEOUT = 2_s; // [-] Can-run threshold needed to trigger the roll-constraining failsafe warning static constexpr float ROLL_WARNING_CAN_RUN_THRESHOLD = 0.9f; +// [s] slew rate with which we change altitude time constant +static constexpr float TECS_ALT_TIME_CONST_SLEW_RATE = 1.0f; class FixedwingPositionControl final : public ModuleBase, public ModuleParams, public px4::WorkItem @@ -401,6 +403,9 @@ class FixedwingPositionControl final : public ModuleBase _tecs_alt_time_const_slew_rate; + // VTOL / TRANSITION bool _is_vtol_tailsitter{false}; matrix::Vector2d _transition_waypoint{(double)NAN, (double)NAN}; @@ -761,12 +766,13 @@ class FixedwingPositionControl final : public ModuleBase) _param_fw_lnd_fl_pmin, (ParamFloat) _param_fw_lnd_flalt, (ParamFloat) _param_fw_thrtc_sc, + (ParamFloat) _param_fw_t_thr_low_hgt, (ParamBool) _param_fw_lnd_earlycfg, (ParamInt) _param_fw_lnd_useter, diff --git a/src/modules/fw_pos_control/fw_path_navigation_params.c b/src/modules/fw_pos_control/fw_path_navigation_params.c index ac2ab276af41..f0c8683386a8 100644 --- a/src/modules/fw_pos_control/fw_path_navigation_params.c +++ b/src/modules/fw_pos_control/fw_path_navigation_params.c @@ -412,10 +412,9 @@ PARAM_DEFINE_FLOAT(FW_LND_FL_PMAX, 15.0f); PARAM_DEFINE_FLOAT(FW_LND_AIRSPD, -1.f); /** - * Altitude time constant factor for landing + * Altitude time constant factor for landing and low-height flight * - * During landing, the TECS altitude time constant (FW_T_ALT_TC) - * is multiplied by this value. + * The TECS altitude time constant (FW_T_ALT_TC) is multiplied by this value. * * @unit * @min 0.2 @@ -426,6 +425,24 @@ PARAM_DEFINE_FLOAT(FW_LND_AIRSPD, -1.f); */ PARAM_DEFINE_FLOAT(FW_LND_THRTC_SC, 1.0f); +/** + * Low-height threshold for tighter altitude tracking + * + * Defines the height (distance to bottom) threshold below which tighter altitude + * tracking gets enabled (see FW_LND_THRTC_SC). Below this height, TECS smoothly + * (1 sec / sec) transitions the altitude tracking time constant from FW_T_ALT_TC + * to FW_LND_THRTC_SC*FW_T_ALT_TC. + * + * If equal to -1, low-height traking is disabled. + * + * @unit m + * @min -1 + * @decimal 0 + * @increment 1 + * @group FW TECS + */ +PARAM_DEFINE_FLOAT(FW_T_THR_LOW_HGT, -1.f); + /* * TECS parameters * diff --git a/src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp b/src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp index e841fccf1c68..d463fc75e855 100644 --- a/src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp +++ b/src/modules/fw_pos_control/launchdetection/LaunchDetector.cpp @@ -31,7 +31,7 @@ * ****************************************************************************/ /** - * @file launchDetection.cpp + * @file LaunchDetector.cpp * Auto launch detection for catapult/hand-launch vehicles * * @author Thomas Gubler diff --git a/src/modules/landing_target_estimator/KalmanFilter.cpp b/src/modules/landing_target_estimator/KalmanFilter.cpp index e4636b6e0f9b..d42823a9fd10 100644 --- a/src/modules/landing_target_estimator/KalmanFilter.cpp +++ b/src/modules/landing_target_estimator/KalmanFilter.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /* - * @file KalmanFilter.h + * @file KalmanFilter.cpp * Simple Kalman Filter for variable gain low-passing * * @author Nicolas de Palezieux (Sunflower Labs) diff --git a/src/modules/mavlink/mavlink_bridge_header.h b/src/modules/mavlink/mavlink_bridge_header.h index 3e2866ae6c66..2104cfc9b004 100644 --- a/src/modules/mavlink/mavlink_bridge_header.h +++ b/src/modules/mavlink/mavlink_bridge_header.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mavlink_bridge_header + * @file mavlink_bridge_header.h * MAVLink bridge header for UART access. * * @author Lorenz Meier diff --git a/src/modules/mavlink/mavlink_tests/mavlink_tests.cpp b/src/modules/mavlink/mavlink_tests/mavlink_tests.cpp index 10cbcb0ecca1..32cba16aff02 100644 --- a/src/modules/mavlink/mavlink_tests/mavlink_tests.cpp +++ b/src/modules/mavlink/mavlink_tests/mavlink_tests.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mavlink_ftp_tests.cpp + * @file mavlink_tests.cpp */ #include diff --git a/src/modules/mavlink/timestamped_list.h b/src/modules/mavlink/timestamped_list.h index 1bdb38acad97..67b7dcbaaf27 100644 --- a/src/modules/mavlink/timestamped_list.h +++ b/src/modules/mavlink/timestamped_list.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file timestamped list.h + * @file timestamped_list.h * Fixed size list with timestamps. * * The list has a fixed size that is set at instantiation and is based diff --git a/src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control_params.c b/src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control_params.c index 0227743e407c..1dc1e43c223f 100644 --- a/src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control_params.c +++ b/src/modules/mc_autotune_attitude_control/mc_autotune_attitude_control_params.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file autotune_attitude_control_params.c + * @file mc_autotune_attitude_control_params.c * * Parameters used by the attitude auto-tuner * diff --git a/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp b/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp index e767eb7d32cb..07c23bbb5d4e 100644 --- a/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp +++ b/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hover_thrust_estimator.cpp + * @file MulticopterHoverThrustEstimator.cpp * * @author Mathieu Bresciani */ diff --git a/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.hpp b/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.hpp index 596bb95483c9..b1d03242981a 100644 --- a/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.hpp +++ b/src/modules/mc_hover_thrust_estimator/MulticopterHoverThrustEstimator.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hover_thrust_estimator.hpp + * @file MulticopterHoverThrustEstimator.hpp * @brief Interface class for a hover thrust estimator * Convention is positive thrust, hover thrust and acceleration UP * diff --git a/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.cpp b/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.cpp index c7bf990c1183..da9d446219f2 100644 --- a/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.cpp +++ b/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file zero_order_thrust_ekf.cpp + * @file zero_order_hover_thrust_ekf.cpp * * @author Mathieu Bresciani */ diff --git a/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.hpp b/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.hpp index 15f742d0d758..46f95b8702cd 100644 --- a/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.hpp +++ b/src/modules/mc_hover_thrust_estimator/zero_order_hover_thrust_ekf.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file zero_order_thrust_ekf.hpp + * @file zero_order_hover_thrust_ekf.hpp * @brief Implementation of a single-state hover thrust estimator * * state: hover thrust (Th) diff --git a/src/modules/navigator/GeofenceBreachAvoidance/fake_geofence.hpp b/src/modules/navigator/GeofenceBreachAvoidance/fake_geofence.hpp index 7e0451c9f0a1..126c51224acb 100644 --- a/src/modules/navigator/GeofenceBreachAvoidance/fake_geofence.hpp +++ b/src/modules/navigator/GeofenceBreachAvoidance/fake_geofence.hpp @@ -31,7 +31,7 @@ * ****************************************************************************/ /** - * @file fake_geofence.h + * @file fake_geofence.hpp * Provides a fake geofence interface to use for testing * * @author Roman Bapst diff --git a/src/modules/navigator/mission.cpp b/src/modules/navigator/mission.cpp index cb8f07fa0e4f..8c5078084749 100644 --- a/src/modules/navigator/mission.cpp +++ b/src/modules/navigator/mission.cpp @@ -31,7 +31,7 @@ * ****************************************************************************/ /** - * @file navigator_mission.cpp + * @file mission.cpp * * Helper class to access missions * diff --git a/src/modules/navigator/rtl_direct.cpp b/src/modules/navigator/rtl_direct.cpp index 088ad1baebdd..36a6e2243bc0 100644 --- a/src/modules/navigator/rtl_direct.cpp +++ b/src/modules/navigator/rtl_direct.cpp @@ -31,7 +31,7 @@ * ****************************************************************************/ /** - * @file rtl.cpp + * @file rtl_direct.cpp * * Helper class to access RTL * diff --git a/src/modules/navigator/vtol_takeoff_params.c b/src/modules/navigator/vtol_takeoff_params.c index 63379f1cf979..b33818f9d63a 100644 --- a/src/modules/navigator/vtol_takeoff_params.c +++ b/src/modules/navigator/vtol_takeoff_params.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file VTOLTakeoff_params.c + * @file vtol_takeoff_params.c * * Parameters for the VTOL takeoff navigation mode. * diff --git a/src/modules/px4iofirmware/controls.cpp b/src/modules/px4iofirmware/controls.cpp index f5259f62f795..f35b1be77a14 100644 --- a/src/modules/px4iofirmware/controls.cpp +++ b/src/modules/px4iofirmware/controls.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file controls.c + * @file controls.cpp * * R/C inputs and servo outputs. * diff --git a/src/modules/rc_update/params.c b/src/modules/rc_update/params.c index 1c78fa38e53e..91f884eb9a67 100644 --- a/src/modules/rc_update/params.c +++ b/src/modules/rc_update/params.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file rc_params.c + * @file params.c * * Parameters defined for RC. * diff --git a/src/modules/simulation/gz_bridge/CMakeLists.txt b/src/modules/simulation/gz_bridge/CMakeLists.txt index afb6b899c6c4..358a4e703226 100644 --- a/src/modules/simulation/gz_bridge/CMakeLists.txt +++ b/src/modules/simulation/gz_bridge/CMakeLists.txt @@ -90,7 +90,6 @@ if(gz-transport_FOUND) lawn aruco rover - aruco ) # find corresponding airframes diff --git a/src/modules/simulation/simulator_mavlink/SimulatorMavlink.hpp b/src/modules/simulation/simulator_mavlink/SimulatorMavlink.hpp index 7790622c5e1a..291148b9cb48 100644 --- a/src/modules/simulation/simulator_mavlink/SimulatorMavlink.hpp +++ b/src/modules/simulation/simulator_mavlink/SimulatorMavlink.hpp @@ -34,7 +34,7 @@ /** - * @file simulator.h + * @file SimulatorMavlink.hpp * * This module interfaces via MAVLink to a software in the loop simulator (SITL) * such as jMAVSim or Gazebo. diff --git a/src/modules/temperature_compensation/TemperatureCompensation.cpp b/src/modules/temperature_compensation/TemperatureCompensation.cpp index bcc8a2e3d3de..b11c63e41fdf 100644 --- a/src/modules/temperature_compensation/TemperatureCompensation.cpp +++ b/src/modules/temperature_compensation/TemperatureCompensation.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file temperature_compensation.cpp + * @file TemperatureCompensation.cpp * * Sensors temperature compensation methods * diff --git a/src/modules/temperature_compensation/TemperatureCompensation.h b/src/modules/temperature_compensation/TemperatureCompensation.h index 7975e2465f3c..6a545283ede8 100644 --- a/src/modules/temperature_compensation/TemperatureCompensation.h +++ b/src/modules/temperature_compensation/TemperatureCompensation.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file temperature_compensation.h + * @file TemperatureCompensation.h * * Sensor correction methods * diff --git a/src/modules/vtol_att_control/vtol_att_control_main.cpp b/src/modules/vtol_att_control/vtol_att_control_main.cpp index 199dcac84c56..afcde463da34 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.cpp +++ b/src/modules/vtol_att_control/vtol_att_control_main.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file VTOL_att_control_main.cpp + * @file vtol_att_control_main.cpp * Implementation of an attitude controller for VTOL airframes. This module receives data * from both the fixed wing- and the multicopter attitude controllers and processes it. * It computes the correct actuator controls depending on which mode the vehicle is in (hover, forward- diff --git a/src/modules/vtol_att_control/vtol_att_control_main.h b/src/modules/vtol_att_control/vtol_att_control_main.h index 6ef046f05f8a..aa34129e57a1 100644 --- a/src/modules/vtol_att_control/vtol_att_control_main.h +++ b/src/modules/vtol_att_control/vtol_att_control_main.h @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file VTOL_att_control_main.cpp + * @file vtol_att_control_main.h * Implementation of an attitude controller for VTOL airframes. This module receives data * from both the fixed wing- and the multicopter attitude controllers and processes it. * It computes the correct actuator controls depending on which mode the vehicle is in (hover,forward- diff --git a/src/systemcmds/bl_update/bl_update.cpp b/src/systemcmds/bl_update/bl_update.cpp index 02a7b7308609..ffd4901c8aa7 100644 --- a/src/systemcmds/bl_update/bl_update.cpp +++ b/src/systemcmds/bl_update/bl_update.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file bl_update.c + * @file bl_update.cpp * * STM32F4 & STM32F7 bootloader update tool. */ diff --git a/src/systemcmds/dumpfile/dumpfile.cpp b/src/systemcmds/dumpfile/dumpfile.cpp index 21e7917c6566..f8174937d6d5 100644 --- a/src/systemcmds/dumpfile/dumpfile.cpp +++ b/src/systemcmds/dumpfile/dumpfile.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file dumpfile.c + * @file dumpfile.cpp * * @author Anton Babushkin */ diff --git a/src/systemcmds/gpio/gpio.cpp b/src/systemcmds/gpio/gpio.cpp index 20db2a96d00b..db5ce34783a0 100644 --- a/src/systemcmds/gpio/gpio.cpp +++ b/src/systemcmds/gpio/gpio.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file gpio_test.cpp + * @file gpio.cpp * @author Julian Kent * * GPIO read and write tool diff --git a/src/systemcmds/io_bypass_control/io_bypass_control_main.cpp b/src/systemcmds/io_bypass_control/io_bypass_control_main.cpp index 3f757749c50a..b6a780030bd3 100644 --- a/src/systemcmds/io_bypass_control/io_bypass_control_main.cpp +++ b/src/systemcmds/io_bypass_control/io_bypass_control_main.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ss_io_timer_test.c + * @file io_bypass_control_main.cpp * * Simple daemon that listens uORB actuator_outputs to control PWM output * WARNING: No mixer, hence no safety use at your own risk diff --git a/src/systemcmds/io_bypass_control/io_bypass_control_test.cpp b/src/systemcmds/io_bypass_control/io_bypass_control_test.cpp index 40d12e6ccef4..48b57af08ced 100644 --- a/src/systemcmds/io_bypass_control/io_bypass_control_test.cpp +++ b/src/systemcmds/io_bypass_control/io_bypass_control_test.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file ss_io_timer_test.c + * @file io_bypass_control_test.cpp * * Simple daemon that listens uORB actuator_outputs to control PWM output * WARNING: No mixer, hence no safety use at your own risk diff --git a/src/systemcmds/io_bypass_control/io_controller.hpp b/src/systemcmds/io_bypass_control/io_controller.hpp index 2b88c6a7c7a1..1dc4c10954ab 100644 --- a/src/systemcmds/io_bypass_control/io_controller.hpp +++ b/src/systemcmds/io_bypass_control/io_controller.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file io_controller.h + * @file io_controller.hpp * Simple IOController class * */ diff --git a/src/systemcmds/mft/mft.cpp b/src/systemcmds/mft/mft.cpp index f390441159ec..3f8d8d42c4eb 100644 --- a/src/systemcmds/mft/mft.cpp +++ b/src/systemcmds/mft/mft.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mtd.c + * @file mft.cpp * * mtd service and utility app. * diff --git a/src/systemcmds/mtd/mtd.cpp b/src/systemcmds/mtd/mtd.cpp index 186407300215..e36140723a4a 100644 --- a/src/systemcmds/mtd/mtd.cpp +++ b/src/systemcmds/mtd/mtd.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file mtd.c + * @file mtd.cpp * * mtd service and utility app. * diff --git a/src/systemcmds/nshterm/nshterm.cpp b/src/systemcmds/nshterm/nshterm.cpp index aa4a615c2fca..84a4a6ed41a1 100644 --- a/src/systemcmds/nshterm/nshterm.cpp +++ b/src/systemcmds/nshterm/nshterm.cpp @@ -33,7 +33,7 @@ ****************************************************************************/ /** - * @file nshterm.c + * @file nshterm.cpp */ #include diff --git a/src/systemcmds/reboot/reboot.cpp b/src/systemcmds/reboot/reboot.cpp index 6e5c159d7008..3957eead0562 100644 --- a/src/systemcmds/reboot/reboot.cpp +++ b/src/systemcmds/reboot/reboot.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file reboot.c + * @file reboot.cpp * Tool similar to UNIX reboot command * * @author Lorenz Meier diff --git a/src/systemcmds/sd_bench/sd_bench.cpp b/src/systemcmds/sd_bench/sd_bench.cpp index 6912c5a3368c..d93200347751 100644 --- a/src/systemcmds/sd_bench/sd_bench.cpp +++ b/src/systemcmds/sd_bench/sd_bench.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file sd_bench.c + * @file sd_bench.cpp * * SD Card benchmarking */ diff --git a/src/systemcmds/sd_stress/sd_stress.cpp b/src/systemcmds/sd_stress/sd_stress.cpp index 05c9ba7044f6..bbae264bc104 100644 --- a/src/systemcmds/sd_stress/sd_stress.cpp +++ b/src/systemcmds/sd_stress/sd_stress.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file sd_stress.c + * @file sd_stress.cpp */ #include diff --git a/src/systemcmds/serial_passthru/serial_passthru.cpp b/src/systemcmds/serial_passthru/serial_passthru.cpp index 0a3c7a9031e2..6c965393e0f5 100644 --- a/src/systemcmds/serial_passthru/serial_passthru.cpp +++ b/src/systemcmds/serial_passthru/serial_passthru.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file nshterm.c + * @file serial_passthru.cpp */ #include diff --git a/src/systemcmds/shutdown/shutdown.cpp b/src/systemcmds/shutdown/shutdown.cpp index 3cb60cf2d28e..7feb2e8a764a 100644 --- a/src/systemcmds/shutdown/shutdown.cpp +++ b/src/systemcmds/shutdown/shutdown.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file shutdown.c + * @file shutdown.cpp * Tool similar to UNIX shutdown command. */ #include diff --git a/src/systemcmds/tests/hrt_test/hrt_test_start.cpp b/src/systemcmds/tests/hrt_test/hrt_test_start.cpp index 4d4e419b1108..d76eefd7cd33 100644 --- a/src/systemcmds/tests/hrt_test/hrt_test_start.cpp +++ b/src/systemcmds/tests/hrt_test/hrt_test_start.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file hrt_test_start_posix.cpp + * @file hrt_test_start.cpp * * @author Mark Charlebois */ diff --git a/src/systemcmds/tests/test_cli.c b/src/systemcmds/tests/test_cli.c index acc68524e821..d97452a4c73f 100644 --- a/src/systemcmds/tests/test_cli.c +++ b/src/systemcmds/tests/test_cli.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_uart_send.c + * @file test_cli.c * Tests the uart send functionality. * * @author Lorenz Meier diff --git a/src/systemcmds/tests/test_hrt.cpp b/src/systemcmds/tests/test_hrt.cpp index e5274d72d7ce..31b038e20b56 100644 --- a/src/systemcmds/tests/test_hrt.cpp +++ b/src/systemcmds/tests/test_hrt.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_hrt.c + * @file test_hrt.cpp * Tests the high resolution timer. */ diff --git a/src/systemcmds/tests/test_mount.cpp b/src/systemcmds/tests/test_mount.cpp index 2d7bb895a436..f1078a02a5f5 100644 --- a/src/systemcmds/tests/test_mount.cpp +++ b/src/systemcmds/tests/test_mount.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_mount.c + * @file test_mount.cpp * Device mount / unmount stress test * @author Lorenz Meier */ diff --git a/src/systemcmds/tests/test_search_min.cpp b/src/systemcmds/tests/test_search_min.cpp index e0d1f77fab2e..7966ff52677a 100644 --- a/src/systemcmds/tests/test_search_min.cpp +++ b/src/systemcmds/tests/test_search_min.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_search_min.c + * @file test_search_min.cpp * Tests arithmetic search algorithms. */ diff --git a/src/systemcmds/tests/test_uart_console.c b/src/systemcmds/tests/test_uart_console.c index f44417102dd1..af5d2a074aab 100644 --- a/src/systemcmds/tests/test_uart_console.c +++ b/src/systemcmds/tests/test_uart_console.c @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_uart_break.c + * @file test_uart_console.c * Tests the uart console. * * @author Lorenz Meier diff --git a/src/systemcmds/tests/test_versioning.cpp b/src/systemcmds/tests/test_versioning.cpp index 53f8b80fc7bc..38c5f89dadb5 100644 --- a/src/systemcmds/tests/test_versioning.cpp +++ b/src/systemcmds/tests/test_versioning.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file test_versioning.c + * @file test_versioning.cpp * Tests automatic versioning functionality. */ diff --git a/src/systemcmds/top/top.cpp b/src/systemcmds/top/top.cpp index 64658b540e98..a2b364f0aa19 100644 --- a/src/systemcmds/top/top.cpp +++ b/src/systemcmds/top/top.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file top.c + * @file top.cpp * Tool similar to UNIX top command * @see http://en.wikipedia.org/wiki/Top_unix * diff --git a/src/systemcmds/topic_listener/topic_listener.hpp b/src/systemcmds/topic_listener/topic_listener.hpp index 1131f4276fea..d77e31b55801 100644 --- a/src/systemcmds/topic_listener/topic_listener.hpp +++ b/src/systemcmds/topic_listener/topic_listener.hpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** - * @file listener.hpp + * @file topic_listener.hpp * */ diff --git a/src/systemcmds/ver/ver.cpp b/src/systemcmds/ver/ver.cpp index a2b5c1885a5c..5efc3ccde008 100644 --- a/src/systemcmds/ver/ver.cpp +++ b/src/systemcmds/ver/ver.cpp @@ -32,7 +32,7 @@ ****************************************************************************/ /** -* @file ver.c +* @file ver.cpp * * Version command, unifies way of showing versions of HW, SW, Build, GCC * In case you want to add new version just extend version_main function