Andrew Tridgell
2e18334165
HAL_SITL: fixed baudrate 0 set in SITL
...
this fixes MSP sensors in SITL with real uarts
4 years ago
Andrew Tridgell
7b6392fcb5
HAL_Empty: fixed build
4 years ago
Andrew Tridgell
d6c5fc36d8
HAL_Linux: only init serial(0)
...
we should not pre-init all uarts, it wastes memory if unused
4 years ago
Andrew Tridgell
19723e6e75
AP_HAL: make uart pointers private
...
this ensures they cannot be used by library or vehicle code, so we
will be able to remove them in future
4 years ago
Andrew Tridgell
195ec0316a
AP_HAL: fixed example fw for SERIAL naming
4 years ago
Andrew Tridgell
6249abaf8f
RC_Channel: fixed example firmware
4 years ago
Andrew Tridgell
5406699ec8
AP_SerialManager: removed unnecessary uart pointer in state structure
4 years ago
Andrew Tridgell
348dfeff6e
HAL_Linux: use a loop for serial tick
4 years ago
Andrew Tridgell
bf546f363d
HAL_ChibiOS: don't init serial 1 and 3
...
these should not be treated as special. Initialising them early just
wastes memory if the end up not being used
4 years ago
Andrew Tridgell
6df118e7b4
GCS_MAVLink: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
23e629715e
AP_SerialManager: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
cf187ff837
AP_HAL_SITL: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
db76eebd85
AP_HAL_Linux: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
95c0852b13
AP_HAL: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
e54fc4b0de
AP_HAL_ChibiOS: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
e02047861a
AP_GPS: convert to using hal.serial() instead of hal.uartX
4 years ago
Andrew Tridgell
0f5a75f5b9
AP_BoardConfig: convert to using hal.serial() instead of hal.uartX
4 years ago
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
4 years ago
Jaaaky
4ec1c2ea67
AP_IOMCU: Remove duplicate includes from AP_IOMCU.cpp
4 years ago
Andrew Tridgell
8b8029fdfe
AP_Param: cope better with flooding the save queue with one param
4 years ago
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
4 years ago
Phillip Kocmoud
ce87b62dcc
AP_Periph: Add alternate ordering of NCP5623 LED colors
4 years ago
Peter Barker
7449b3eea4
AP_HAL_SITL: fix help output
4 years ago
Paul Riseborough
8f32430294
AP_NavEKF3: Fix white spaces
4 years ago
Paul Riseborough
bdc202378a
AP_NavEKF3: fix white space
4 years ago
Paul Riseborough
ed17d8e48f
AP_NavEKF3: Improve parameter display names
4 years ago
Paul Riseborough
171f0b399f
AP_NavEKF3: Remove commented code
4 years ago
Andrew Tridgell
b86c014400
AP_NavEKF3: rename drag parameters to start with EK3_DRAG_
4 years ago
Andrew Tridgell
3e2ff71750
AP_Baro: rename params to suit new BARO param naming
4 years ago
Paul Riseborough
47d4506e68
AP_NavEKF3: Add drag and sideslip innovation logging
4 years ago
Paul Riseborough
b258cb0539
SITL: Add momentum drag to Z axis to work around thrust model deficiencies
4 years ago
Paul Riseborough
a907c10733
SITL: Add momentum drag to multicopter model
4 years ago
Andrew Tridgell
b7f68e87b4
SITL: added barometer wind coefficients
4 years ago
Andrew Tridgell
567de3047b
AP_Baro: added modelling of baro wind effects in SITL
4 years ago
Andrew Tridgell
e552fd7e5a
AP_Baro: adjust for new baro params in SITL
4 years ago
Andrew Tridgell
3456bdb4eb
SITL: added a separate param class for SITL baro params
...
makes it easier to add more
4 years ago
Andrew Tridgell
9563c1ed33
AP_Baro: rename wind coefficient params to be clearer
4 years ago
Paul Riseborough
4884476c09
AP_NavEKF3: Formatting and comment fixes
4 years ago
Andrew Tridgell
be4d10a95e
AP_NavEKF3: rework parameter handling
...
and fixed indentation
4 years ago
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
4 years ago
Paul Riseborough
5da62aeaa2
AP_NavEKF3: Fix CI build errors
4 years ago
Paul Riseborough
0d2c235027
AP_NavEKF3: Fix #define typo
4 years ago
Paul Riseborough
ab05e8ed4a
AP_NavEKF3: Update param descriptions
4 years ago
Paul Riseborough
4f4a2f446d
AP_NavEKF3: Remove unsupported parameter unit descriptions
4 years ago
Paul Riseborough
0be0498801
AP_Baro: Add static pressure positoin error correction
4 years ago
Paul Riseborough
3a0105fcc3
AP_AHRS: Add accessor function for body frame airspeed vector
4 years ago
Paul Riseborough
b372d62f35
AP_NavEKF2: Add accessor function for body frame airspeed vector
4 years ago
Paul Riseborough
c9ab4b18b0
AP_NavEKF3: Add multicopter wind estimation
4 years ago
Peter Barker
ab444e1d26
RC_Channel: correct function initialisation
4 years ago
Andrew Tridgell
ac4a05ffbf
AP_NavEKF3: fixed null dereference of airspeed
...
this caused a segfault in replay
4 years ago