Commit Graph

45203 Commits

Author SHA1 Message Date
Andrew Tridgell
db76eebd85 AP_HAL_Linux: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell
95c0852b13 AP_HAL: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell
e54fc4b0de AP_HAL_ChibiOS: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell
e02047861a AP_GPS: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell
0f5a75f5b9 AP_BoardConfig: convert to using hal.serial() instead of hal.uartX 2020-12-15 10:32:46 +11:00
Andrew Tridgell
8678759da4 AP_HAL: added hal.serial() access to uarts
this gives access to serial ports in the SERIALn_ order. It is inlined
by the compiler so using hal.uartB and hal.serial(3) generates
idential code on stm32 (tested on H7).

This is a step towards eliminating hal.uartX completely and the
horrible uartB ordering
2020-12-15 10:32:46 +11:00
Jaaaky
4ec1c2ea67 AP_IOMCU: Remove duplicate includes from AP_IOMCU.cpp 2020-12-15 10:01:54 +11:00
Andrew Tridgell
8b8029fdfe AP_Param: cope better with flooding the save queue with one param 2020-12-14 18:53:02 +11:00
Andrew Tridgell
5a8acea0dd AP_Param: fixed lockup in scripting due to save queue
this is a quick fix for a lockup in scripting due to the mission API
holding the scheduler semaphore when it is updating the mission count
parameter
2020-12-14 18:53:02 +11:00
Andrew Tridgell
bab1bff2b9 Tools: added f303-M10070 bootloader 2020-12-14 16:31:03 +11:00
Habibullah Oladepo
739fec001f Plane: Fix typos in Parameters.cpp 2020-12-13 10:51:38 -08:00
Andrew Tridgell
3cf71d11a9 AP_Periph: mark version as 1.3dev 2020-12-13 10:32:30 +11:00
Andrew Tridgell
52f66f3654 AP_Periph: updated release notes for 1.2.0beta1 2020-12-13 10:31:35 +11:00
Tom Pittenger
4b47ddf556 AP_Periph: add battery monitor to AP_Periph README 2020-12-13 09:35:28 +11:00
Phillip Kocmoud
ce87b62dcc AP_Periph: Add alternate ordering of NCP5623 LED colors 2020-12-12 14:57:35 +11:00
Peter Barker
7449b3eea4 AP_HAL_SITL: fix help output 2020-12-12 10:01:20 +11:00
Arsh
4ae51c5aa5 README: fixes some grammatical errors 2020-12-11 13:27:15 -08:00
Randy Mackay
a2d6ec4bec Rover: simple mode handles two paddle input 2020-12-11 17:04:28 +09:00
Tom Pittenger
04f6b2e26e Plane: remove unnecessary ::cork() in init 2020-12-11 17:48:11 +11:00
Paul Riseborough
8f32430294 AP_NavEKF3: Fix white spaces 2020-12-11 15:21:41 +11:00
Paul Riseborough
bdc202378a AP_NavEKF3: fix white space 2020-12-11 15:21:41 +11:00
Paul Riseborough
ed17d8e48f AP_NavEKF3: Improve parameter display names 2020-12-11 15:21:41 +11:00
Paul Riseborough
4cf78c34e7 Tools: Add autotest for copter wind estimation and baro correction 2020-12-11 15:21:41 +11:00
Paul Riseborough
171f0b399f AP_NavEKF3: Remove commented code 2020-12-11 15:21:41 +11:00
Andrew Tridgell
b86c014400 AP_NavEKF3: rename drag parameters to start with EK3_DRAG_ 2020-12-11 15:21:41 +11:00
Andrew Tridgell
3e2ff71750 AP_Baro: rename params to suit new BARO param naming 2020-12-11 15:21:41 +11:00
Paul Riseborough
a3b5901218 autotest: Fix failing copter fly_square test
This test should be flown in ALT_HOLD, not  STABILIZE as that is better mode to test the record waypoint function becasue it removes the need to fine tune the RC3 value to match thrust/weight variation as the hover thrust is not learned fast enough at the start of the test.
2020-12-11 15:21:41 +11:00
Paul Riseborough
47d4506e68 AP_NavEKF3: Add drag and sideslip innovation logging 2020-12-11 15:21:41 +11:00
Paul Riseborough
b258cb0539 SITL: Add momentum drag to Z axis to work around thrust model deficiencies 2020-12-11 15:21:41 +11:00
Paul Riseborough
e835da41fa Tools: Define momentum drag 2020-12-11 15:21:41 +11:00
Paul Riseborough
a907c10733 SITL: Add momentum drag to multicopter model 2020-12-11 15:21:41 +11:00
Andrew Tridgell
abd3ae8f3b Copter: added mavlink reporting of airspeed and wind
when we have EKF3 estimation available
2020-12-11 15:21:41 +11:00
Andrew Tridgell
b7f68e87b4 SITL: added barometer wind coefficients 2020-12-11 15:21:41 +11:00
Andrew Tridgell
567de3047b AP_Baro: added modelling of baro wind effects in SITL 2020-12-11 15:21:41 +11:00
Andrew Tridgell
5fc68a1ce5 autotest: adjust for new baro SITL param names 2020-12-11 15:21:41 +11:00
Andrew Tridgell
e552fd7e5a AP_Baro: adjust for new baro params in SITL 2020-12-11 15:21:41 +11:00
Andrew Tridgell
3456bdb4eb SITL: added a separate param class for SITL baro params
makes it easier to add more
2020-12-11 15:21:41 +11:00
Andrew Tridgell
9563c1ed33 AP_Baro: rename wind coefficient params to be clearer 2020-12-11 15:21:41 +11:00
Paul Riseborough
4884476c09 AP_NavEKF3: Formatting and comment fixes 2020-12-11 15:21:41 +11:00
Andrew Tridgell
be4d10a95e AP_NavEKF3: rework parameter handling
and fixed indentation
2020-12-11 15:21:41 +11:00
Andrew Tridgell
1c1c067dee AP_Baro: rework to separate out wind coefficient params
- disable on low flash boards
 - add an enable parameter per baro for wind coeffients
2020-12-11 15:21:41 +11:00
Paul Riseborough
5da62aeaa2 AP_NavEKF3: Fix CI build errors 2020-12-11 15:21:41 +11:00
Paul Riseborough
0d2c235027 AP_NavEKF3: Fix #define typo 2020-12-11 15:21:41 +11:00
Paul Riseborough
ab05e8ed4a AP_NavEKF3: Update param descriptions 2020-12-11 15:21:41 +11:00
Paul Riseborough
4f4a2f446d AP_NavEKF3: Remove unsupported parameter unit descriptions 2020-12-11 15:21:41 +11:00
Paul Riseborough
0be0498801 AP_Baro: Add static pressure positoin error correction 2020-12-11 15:21:41 +11:00
Paul Riseborough
3a0105fcc3 AP_AHRS: Add accessor function for body frame airspeed vector 2020-12-11 15:21:41 +11:00
Paul Riseborough
b372d62f35 AP_NavEKF2: Add accessor function for body frame airspeed vector 2020-12-11 15:21:41 +11:00
Paul Riseborough
c9ab4b18b0 AP_NavEKF3: Add multicopter wind estimation 2020-12-11 15:21:41 +11:00
Peter Barker
ab444e1d26 RC_Channel: correct function initialisation 2020-12-11 15:21:22 +11:00