Iampete1
2f7f187e18
AP_Avoidance: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
d423f483a6
AP_AHRS: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
cb6e6c82e5
AP_ADSB: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
6875ef17a0
APM_Control: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
ac1b8ab7be
AC_WPNav: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
22aa09d125
AC_PrecLand: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
8d216fbce3
AC_PID: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
aa6a908f8e
AC_InputManager: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
e141731146
AC_Fence: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
e78d5cd793
AC_Avoidance: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
e3ab7ed234
AC_Autorotation: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
7c4f48887a
AC_AutoTune: params always use set method
2022-08-03 13:43:48 +01:00
Iampete1
07d96361ed
AC_AttitudeControl: params always use set method
2022-08-03 13:43:48 +01:00
Tamas Nepusz
8959d35b91
AP_NavEKF3: add EK3_GPS_VACC_MAX as a threshold that decides whether to use GPS as altitude source depending on vAcc
2022-08-03 17:57:05 +10:00
Peter Barker
b468c49a39
AP_Arming: use prearm-display-timeout in milliseconds instead of counter
2022-08-03 17:12:51 +10:00
Andy Piper
f666c71676
AP_Motors: add BF/X cinelifter octaquad configuration
2022-08-03 17:06:38 +10:00
Andy Piper
9753f36dd1
AP_BLHeli: make ESC debug easier to see
2022-08-03 17:06:38 +10:00
Andy Piper
3f103f2fe3
AP_HAL_ChibiOS: hwdef for KakuteH7v2
2022-08-03 17:06:38 +10:00
Andy Piper
8855a54720
AP_InertialSensor: use filtered data in BMI270 and implement fifo reset
...
increase gyro ODR to 3.2Khz to allow higher AAF
use OSR4 on accel filter to achieve nominal 188Hz
2022-08-03 17:06:38 +10:00
Andy Piper
affbd5e278
AP_HAL_ChibiOS: hwdef for KakuteH7Miniv2 (1.3)
2022-08-03 17:06:38 +10:00
Andy Piper
1ff3ee7a12
AP_HAL_ChibiOS: allow undef of SPI devices
2022-08-03 17:06:38 +10:00
Andy Piper
7fc5a7135a
AP_HAL_ChibiOS: make sure bootloader reserves space for storage
...
Fixes bug introduced by #19769
2022-08-03 16:55:51 +10:00
chobits
6ed07bd67e
hwdef: KakuteH7 bluetooth switch
2022-08-03 13:59:08 +10:00
mfe-xiao
169b7df614
HAL_ChibiOS: hwdef: add README.md for PixSurveyA1
2022-08-03 09:05:04 +10:00
Andrew Tridgell
a0902e39fe
AP_RangeFinder: default orientation to NONE for AP_Periph
...
this removes a setup step for AP_Periph rangefinders
2022-08-03 09:04:25 +10:00
Andrew Tridgell
2ee111cf7b
hwdef: added ADC pin comments for 6X
2022-08-03 09:01:31 +10:00
Andrew Tridgell
f5026f2462
hwdef: setup default power pins for Holybro Pixhawk6C
2022-08-03 09:01:31 +10:00
Andrew Tridgell
4585c9fdc1
AP_EFI: prevent flood of Lutan serial port
...
send request at max 5Hz
2022-08-03 08:27:12 +10:00
Andrew Tridgell
273fe51a71
hwdef: switched to pixracer LED scheme for Pixhawk6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
f47585b235
hwdef: disable I2C DMA on Pixhawk6C and enable compass compensation
2022-08-02 17:26:46 +10:00
Andy Piper
155d436807
AP_InertialSensor: support for fast sampling rates on ICM-42xxx series
...
thoughtfully set anti-aliasing filters on ICM-42xxx series
2022-08-02 17:26:46 +10:00
Andrew Tridgell
696cd1a19b
hwdef: added compass compensation for 3 boards
...
use the new compass heater compensation for 4 compasses across 3
boards
2022-08-02 17:26:46 +10:00
Andrew Tridgell
b6bcd6346d
AP_Compass: switch to a general method of heater compensation
...
this allows any board to easily setup heater compensation for an
internal compass. The offsets are in body frame (previously in sensor
frame) and are sensor specific using bus device IDs
2022-08-02 17:26:46 +10:00
Andrew Tridgell
3ee42f3d20
hwdef: added missing ADC channel on Pixhawk6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
949ef22ed6
hwdef: disable I2C DMA on Pixhawk6X
...
this prevents an issue with the BMI088 and external compass on GPS1
2022-08-02 17:26:46 +10:00
Andrew Tridgell
01e6809942
hwdef: fixed rotation of bmi088 on Holybro6X
2022-08-02 17:26:46 +10:00
Andrew Tridgell
2582d5fad5
AP_InertialSensor: re-enable notch filter on 42688
...
thanks to Andy for pointing out this is for an internal resonance
2022-08-02 17:26:46 +10:00
Andrew Tridgell
8a6b8fc486
AP_InertialSensor: enable 180Hz LPF on ICM42670
2022-08-02 17:26:46 +10:00
Andrew Tridgell
5b579aebce
AP_InertialSensor: enable AAF at 488Hz for gyro+accel on ICM42688
...
this should improve vibration handling
2022-08-02 17:26:46 +10:00
Andrew Tridgell
5bde9b0e7c
AP_InertialSensor: added support for ICM42670 IMU
2022-08-02 17:26:46 +10:00
Andrew Tridgell
df9ac156c4
hwdef: fixed orientation of Pixhawk6X ICM42670
2022-08-02 17:26:46 +10:00
Andrew Tridgell
9911fd76f4
AP_BoardConfig: allow for BMI088 for Holybro 6X
...
and tighten check on CUAV-X6 and Holybro-6X to check all 3 IMUs
2022-08-02 17:26:46 +10:00
Andrew Tridgell
6845f2e24d
hwdef: use right name for ICM42670 SPI device
2022-08-02 17:26:46 +10:00
Iampete1
223b005d29
SITL: SIM_Buzzer: hide params if not WITH_SITL_TONEALARM
2022-08-02 10:49:11 +10:00
Iampete1
e511f72294
AP_LandingGear: SITL: only set defualts is SITL pin is set avoiding enable via param conversion
2022-08-02 10:48:19 +10:00
Henry Wurzburg
530d59017a
AP_Logger: add increment on file rate limiting to allow <1Hz
2022-08-02 10:22:48 +10:00
Henry Wurzburg
b7f49db1f7
AP_NavEKF3: Add streaming log verbosity level parameter
2022-08-02 10:21:39 +10:00
Henry Wurzburg
022987e4d3
RC_Channel: add AUX switch to pause logging of streamed entries
2022-08-02 10:15:08 +10:00
Henry Wurzburg
a395b3d2a8
AP_Logger: add AUX switch to pause logging of streamed entries
2022-08-02 10:15:08 +10:00
Andrew Tridgell
0ededd7c62
AP_AHRS: use wind from simulation if available with EKF type 10
2022-08-02 07:49:34 +10:00
Andrew Tridgell
8cc5172ff3
SITL: fill in wind from flightaxis
2022-08-02 07:49:34 +10:00
Peter Barker
aeb24d4978
AP_AHRS: remove method casting active EKF type for logging
...
logging is now done internally
2022-07-29 11:05:19 +10:00
Iampete1
7683b36e3b
SITL: set compass vector after loading defualts
2022-07-28 16:51:33 +10:00
Iampete1
fcab0c70a2
AP_Param: allow init of all Vector3f values to single float
2022-07-28 16:51:33 +10:00
Iampete1
98d9f07507
AP_InertialSensor: defualt accel scale vector to 1.0
2022-07-28 16:51:33 +10:00
Iampete1
cdf930effe
AP_Compass: defualt diagonals vector to 1.0
2022-07-28 16:51:33 +10:00
Peter Barker
e89f4ea599
AP_Arming: add prearm check that we are using configured AHRS type
2022-07-28 15:53:13 +10:00
Peter Barker
4909866dd9
AP_AHRS: add prearm check that we are using configured AHRS type
2022-07-28 15:53:13 +10:00
Iampete1
2fc9cf97d4
AC_Fence: defualt to AP_FENCE_ENABLED 2, 1 disables dummy methods
2022-07-27 19:04:56 +10:00
Iampete1
bab866268f
RC_Channel: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
31bc6d9ec4
GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
a9310c3d18
AP_Vehicle: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
ed330fd026
AP_Proximity: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
94004db13f
AP_OSD: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
380d174e32
AP_Landing: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
ad59c62899
AP_Frsky_Telem: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
19ccf53fa6
AP_Filesystem: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
58d244d7a3
AP_Arming: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
4b6a0f0b4f
AC_Fence: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
5f31818658
AC_Avoidance: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
9dc318f0cc
AC_Fence: move to config file and rename from AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
1342fa4851
AP_Proximity: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
ed356d94cd
AC_Avoid: fix complilation with no fence
2022-07-27 19:04:56 +10:00
Iampete1
fa440d532a
AC_Fence: add dummy methods
2022-07-27 19:04:56 +10:00
Iampete1
6a6f3ec4e5
AC_Fence: add AC_FENCE define
2022-07-27 19:04:56 +10:00
Iampete1
9e86f4dc43
AP_Vehicle: add AC_Fence
2022-07-27 19:04:56 +10:00
Iampete1
5d5552aa93
RC_Channel: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
5fa29eb01a
GCS_MAVLink: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
520fc01739
AP_OSD: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
3942ee0811
AP_Landing: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
df3affc38c
AP_Frsky_Telem: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
cababad66b
AP_Filesystem: fix complation without fence
2022-07-27 19:04:56 +10:00
Iampete1
b3d0d4f33d
AP_Arming: fix complation without fence
2022-07-27 19:04:56 +10:00
bugobliterator
4852ac332d
AP_UAVCAN: add option bit for disabling Node Unhealthy check
2022-07-27 18:18:03 +10:00
bugobliterator
3c87062f27
AP_Common: add support for comparing BitMasks
2022-07-27 18:18:03 +10:00
bugobliterator
8e81ee0292
AP_HAL_SITL: add support for starting node in maintenance mode
2022-07-27 18:18:03 +10:00
bugobliterator
48f1e18161
AP_UAVCAN: add node healthy check
2022-07-27 18:18:03 +10:00
bugobliterator
34583d750d
AP_UAVCAN: include AP_CANManager header
2022-07-27 18:18:03 +10:00
bugobliterator
527f956786
AP_Arming: add support for separate dna_server instances for AP_UAVCAN
2022-07-27 18:18:03 +10:00
bugobliterator
7ff0af7a0d
AP_UAVCAN: add support for dna_server instance per driver
2022-07-27 18:18:03 +10:00
Peter Barker
cf915a0f35
GCS_MAVLink: ensure payload space for ACK before sending
...
Attempting to fix instance of the ACK not arriving on SITL reboot. We already have a lot of code around trying to get this out, but there's been at least once instance it hasn't.
2022-07-26 21:23:23 +10:00
Peter Barker
b4bee6a510
AP_GPS: correct compilation when all serial backends compiled out
2022-07-26 10:30:43 +10:00
Peter Barker
96b4945eb9
AP_GPS: move explanation of ublox rates into ublox header
2022-07-26 10:30:43 +10:00
Henry Wurzburg
dcde718f20
AP_Control: change I determination for Roll axis
2022-07-26 09:40:02 +10:00
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
Henry Wurzburg
ac6ae829e4
RC_Channel: Add docs for Mount_Lock option in parameter
2022-07-18 15:38:55 +01:00
Henry Wurzburg
fe51cf2ae7
RC_Channel: Add FFT tune doc to param
2022-07-18 15:38:55 +01:00
Andrew Tridgell
798ab5d859
AP_ICEngine: added option for throttle control while disarmed
...
this uses the passed in base throttle when disarmed
2022-07-18 20:55:56 +10:00
Peter Barker
d593727205
AP_RAMTRON: reduce scope for WITH_SEMAPHORE
2022-07-17 21:42:33 +10:00
Peter Barker
2c64922a14
AP_BoardConfig: use HAL_GCS_ENABLED in place of periph/example check
...
... periphs can have GCS too...
2022-07-17 09:33:11 +10:00
Peter Barker
5286ad45ad
AP_Common: AP_FWVersion doesn't need mavlink headers
2022-07-16 17:15:52 +10:00