Commit Graph

30026 Commits

Author SHA1 Message Date
Tom Pittenger
28ab8ef316 AP_Landing: change LAND_ABORT_THR param docs to match code and wiki of 90% 2022-07-25 12:45:50 -07:00
xianglunkai
b728b8179d AP_SerialManager:correct find_baudrate() function 2022-07-25 16:03:27 +10:00
Ryan Beall
033266f94b TECS.cpp: Remove redundant throttle saturation 2022-07-23 18:23:27 -07:00
Andy Piper
3b034e3af6 AP_HAL_ChibiOS: enabled OSD parameter menus on KakuteH7. 2022-07-22 21:23:34 +10:00
Tamas Nepusz
6ca593a61d AP_GPS: Do not drop reassembly buffer for injected packets when a dupllicate fragment is received 2022-07-22 20:40:21 +10:00
Tom Pittenger
0ef78dd77a AP_HAL_CHibiOS: add new hwdef target for SkystarsH7HD 2022-07-21 21:53:15 -07:00
Peter Barker
cbd591f2ba GCS_MAVLink: save some bytes by removing empty methods based on #ifs 2022-07-22 13:49:51 +10:00
Bailey K. Srimoungchanh
b6a089f90e AP_AHRS: Fixed body_to_earth
body_to_earth was not implemented consistently with earth_to_body.
Changed the order of operation to be consistent and rotate reference
frame correctly.
2022-07-22 09:11:17 +10:00
Peter Barker
7e5808a97b AP_RangeFinder: add prearm for analogue/pwm pin conflicts 2022-07-22 09:09:25 +10:00
Peter Barker
8af84cf236 AP_ICEngine: add and use AP_ICENGINE_ENABLE 2022-07-22 08:48:16 +10:00
Henry Wurzburg
4c44b6ad1a AP_Compass: expand description of custom orientation parameters 2022-07-21 15:45:28 +01:00
Henry Wurzburg
51a21679be AP_AHRS: expand description of custom orientation parameters 2022-07-21 15:45:28 +01:00
Rolf-G
ea44da1e8d AP_Scripting: examples: Aerobatics: Corrects arg1/arg2
Corrects bad description of arg1 and arg2 for rolling circle  in plane_aerobatics.lua

See https://github.com/ArduPilot/ardupilot/issues/21022
2022-07-20 13:18:10 +01:00
Iampete1
66a5a289d7 PID: use set and defualt 2022-07-20 17:59:59 +10:00
Iampete1
ca9aa41dd1 AP_SerialManager: use set_and_defualt 2022-07-20 17:59:59 +10:00
Iampete1
ad8b9f58df AP_Motors: use set and defualt 2022-07-20 17:59:59 +10:00
Iampete1
7ee330d12d SRV_Channel: use set_and_default method 2022-07-20 17:59:59 +10:00
Iampete1
c87d46e24d AC_AttitudeControl: CommandModel: use set_and_default method 2022-07-20 17:59:59 +10:00
Iampete1
3f84ba12c0 AC_PID: use set_and_defualt to set defualt values 2022-07-20 17:59:59 +10:00
Iampete1
88d9550214 AP_Filesystem: support including defualts in packed param format 2022-07-20 17:59:59 +10:00
Iampete1
63e03622d4 AP_Logger: log default param values 2022-07-20 17:59:59 +10:00
Iampete1
5b290920a7 AP_Param: keep track of defualt values in linked list 2022-07-20 17:59:59 +10:00
Peter Barker
34f2599479 GCS_MAVLink: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
39ab6b727c AP_BLHeli: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
44cc3de7a6 SITL: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
695891365e AP_Vehicle: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
c00d712adc AP_Motors: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
e570737154 AP_GyroFFT: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker
659f801650 AP_Logger: remove unused includes 2022-07-20 17:32:24 +10:00
Pierre Kancir
52d9dc1471 AP_Soaring: make function const 2022-07-20 17:28:39 +10:00
Pierre Kancir
8b8ca504fc AP_Soaring: make PolarParams const reference 2022-07-20 17:28:39 +10:00
Pierre Kancir
f76d6ea739 AP_Soaring: fix initialization order to fix
https://github.com/ArduPilot/ardupilot/issues/21043
2022-07-20 17:28:39 +10:00
Andrew Tridgell
0731b5cfa0 AP_ICEngine: fixed RPM filter rate and plane.G_Dt
AP_ICEngine runs at 10Hz, so we need to use 10 for the filter.

As this runs in a constructor it also caused memoisation of the wrong
AP_Scheduler _loop_period_s which resulted in plane.G_Dt always being
1/50, which is a much more serious issue

this is a temporary fix, we need a better one soon
2022-07-20 07:33:37 +10:00
esaldiran
545cf0504a APM_Control: AP_YawController: update pid_info with integrator reset for logging purposes 2022-07-19 11:40:03 +01:00
esaldiran
9d8bf5004e AC_PID: update pid_info with integrator reset for logging purposes 2022-07-19 11:40:03 +01:00
Peter Barker
13b03f79db AP_HAL_ChibiOS: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Peter Barker
51466e04b0 AP_HAL: move from HAL_NO_SHARED_DMA to AP_HAL_SHARED_DMA_ENABLED
This allows hwdef files to manipulate this value
2022-07-19 18:02:26 +10:00
Andrew Tridgell
796653630c hwdef: support CUAV-6X and Holybro-6X with same firmware 2022-07-19 15:02:31 +10:00
Andrew Tridgell
97646f4164 AP_InertialSensor: support BOARD_MATCH() for IMUs 2022-07-19 15:02:31 +10:00
Andrew Tridgell
0e745d0ad3 hwdef: added BOARD_MATCH() support for IMUs
allow hwdef.dat to specify list of IMUs which match a specific board
type
2022-07-19 15:02:31 +10:00
Andrew Tridgell
b50d405f91 AP_BoardConfig: added board detection for FMUv6
support Holybro-6X and CUAV-6X for now, using IMU signatures
2022-07-19 15:02:31 +10:00
李孟晓
2822c30307 AP_Baro: added ICP201XX support 2022-07-19 15:02:31 +10:00
Peter Barker
d926aa2e11 AP_OSD: correct includes for AP_Arming change
This file was getting the copter-or-heli define from AP_Arming, which was getting it from AP_InertialSensor.  This broke when AP_Arming stopped getting AP_InertialSensor, so add the include.

Also takes the opportunity to stop including GCS.h
2022-07-19 12:27:26 +10:00
Peter Barker
f77d1812b8 AP_Arming: record only aggregate sensor consistency check times
All used sensors must be consistent with the primary sensor for 10 seconds, so we don't need to record times individually
2022-07-19 12:27:26 +10:00
Nikolay March
fa71a8ccf2 AP_HAL_ChibiOS: add BDShot for Holybro PH4-mini
Tested, working like its big Holybro Pixhawk4! (copied bdshot files)
And there no telem2 port(usart3), undef to relolve DMA.
I thought the copter stopped twitching like before, more stable!
2022-07-19 11:15:56 +10:00
Henry Wurzburg
2f90806f0a AP_HAL_ChibiOS: fix bootloaders to turn on switched supply during bootloader 2022-07-19 10:34:47 +10:00
Peter Barker
e4ce4ebed3 AP_InertialSensor: remove un-needed methods 2022-07-19 10:30:36 +10:00
Peter Barker
01751fba60 AP_GPS: move defaulting of AP_GPS_UBLOX_ENABLED to AP_GPS_config
Addition of this define crossed with another PR which created the config.h file
2022-07-19 10:14:18 +10:00
Leonard Hall
f8e74d1da3 SITL: Make Yaw control scale with aircraft size 2022-07-19 09:24:45 +10:00
Peter Barker
9acf4c88c8 AP_Generator: add AP_GENERATOR_RICHENPOWER_ENABLED 2022-07-19 09:09:05 +10:00