Andrew Tridgell
e884e4c5ac
AP_Math: added fixedwing_turn_rate() helper
4 years ago
Yash Vadi
b450740fb0
AP_Button: update BTN_FUNCx param descriptions
4 years ago
Andrew Tridgell
35149ae8b2
AP_Scripting: allow scripting startup with no sdcard
...
as scripts can be in ROMFS we should still create the thread without
the scripts directory
4 years ago
Peter Barker
9932aa99f7
GCS_MAVlink: return identical seq in MISSION_CURRENT if possible after set
...
// because MISSION_SET_CURRENT is a message not a command,
// there is not ACK associated with us successfully changing
// our waypoint. Some GCSs use the fact we return exactly the
// same mission sequence number in this packet as an ACK - so
// if they send a MISSION_SET_CURRENT with seq number of 4
// then they expect to receive a MISSION_CURRENT message with
// exactly that sequence number in it, even if ArduPilot never
// actually holds that as a sequence number (e.g. packet.seq==0).
4 years ago
Andrew Tridgell
14791c335b
HAL_ChibiOS: fixed build of f3 boards without PWM out
4 years ago
Andrew Tridgell
9d87645c6e
AP_IOMCU: fixed event handling bug in IOMCU code
...
if a a message send fails to IOMCU then we were discarding all
currently pending non-recurring events. This means that states like
oneshot enable would be lost if the IOMCU reset.
We now re-trigger all events that have not yet been handled
4 years ago
Andrew Tridgell
9126579b77
AP_IOMCU: added memory to debug code
4 years ago
Andrew Tridgell
243cf2199d
HAL_ChibiOS: disable shared DMA on IOMCU
...
this saves about 600 bytes of ram
4 years ago
Andrew Tridgell
bf999f701f
AP_InertialSensor: fixed ICM-20602 y offset bug
...
this works around a bug in the ICM-20602 that can cause the Y facttory
offset register to change unexpectedly. We don't know what triggers
this.
The fix is to save the factory offset at boot and restore it if it
changes. We log a message describing the change, but don't mark the
IMU unhealthy as this happens too often and we don't want to fallback
to a 2nd less good quality IMU (eg. MPU6000 on MatekH743)
4 years ago
Andrew Tridgell
4cddf37984
AP_InertialSensor: log unexpected register changes
...
when the register checking code finds an error we will log what
register changed and to what value
4 years ago
Andrew Tridgell
c23f61b79a
HAL_ChibiOS: set internal error on panic
4 years ago
Andrew Tridgell
f250c4d684
AP_InertialSensor: added an internal error for panic
...
ensure users cannot arm while in a panic
4 years ago
Andrew Tridgell
7010eae9e8
AP_HAL: remember details of register check fails
...
this allows for logging of register resets
4 years ago
Andrew Tridgell
85ef6b7ac6
AP_InertialSensor: added optional logging of register changes
4 years ago
Andrew Tridgell
eec05c1f48
HAL_ChibiOS: fixed a race and null ptr deref in dshot
...
if a dshot is cancelled then the waiter can be nullptr
4 years ago
murata
dee040b14a
AP_Notify: Change division to multiplication
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
48ab08fb67
AP_ESC_Telem: Fix copy & paste typo
4 years ago
Andy Piper
b102391163
AP_HAL_ChibiOS: don't send rcout events without rcout thread
4 years ago
Andrew Tridgell
f7098c1635
AP_ROMFS: added crc check in ROMFS decompression
4 years ago
Andrew Tridgell
1c74f14162
AP_ROMFS: fixed range check in tinflate
...
this could cause valid compressed data to fail decompression
4 years ago
Sebastian Quilter
b4119aa07b
AP_OSD: remove font bins from gitignore
4 years ago
Sebastian Quilter
bea8bf3afb
AP_OSD: Add draw_vtx_power()
4 years ago
Sebastian Quilter
e44eb47143
AP_OSD: Update fonts to include mW char
4 years ago
Peter Barker
a3dcf5a6ff
AP_NavEKF: move GSF logging from EKF files into GSF files
4 years ago
Peter Barker
65b780fad5
AP_NavEKF3: move GSF logging from EKF files into GSF files
4 years ago
Peter Barker
d668243d1e
AP_NavEKF2: move GSF logging from EKF files into GSF files
4 years ago
Peter Barker
a17a8faf42
AP_Logger: move GSF logging from EKF files into GSF files
4 years ago
Peter Barker
cfe9dc32d1
GCS_MAVLink: only send distance_sensor messages if valid data seen
...
In the case you only have a forward-pointing LIDAR we'd send messages
for each of the other orientations from proximty's horizontal-distances
array, chewing up bandwidth and processing time.
4 years ago
Peter Barker
9a66a1564c
AP_Proximity: only send distance_sensor messages if valid data seen
...
In the case you only have a forward-pointing LIDAR we'd send messages
for each of the other orientations from proximty's horizontal-distances
array, chewing up bandwidth and processing time.
4 years ago
Andy Piper
fcd35ba0f8
AP_Vehicle: move AP_Vehicle to AP_Vehicle
4 years ago
Andy Piper
8df8898464
RC_Channel: move AP_VideoTX to AP_VideoTX
4 years ago
Andy Piper
7039d67474
AP_VideoTX: move AP_VideoTX to AP_VideoTX
4 years ago
Andy Piper
74318dd0dd
AP_Vehicle: move AP_VideoTX to AP_VideoTX
4 years ago
Andy Piper
dd310fd12f
AP_RCProtocol: move AP_VideoTX to AP_VideoTX
4 years ago
Andy Piper
d97079e53b
AP_RCTelemetry: move AP_VideoTX to AP_VideoTX
4 years ago
Peter Barker
c5e62eb6e4
GCS_MAVLink: schedule current waypoint rather than immediate send
...
This message may not fit in our outgoing buffer
4 years ago
Patrick José Pereira
0e76006dc5
SRV_Channel: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
300a14aaae
SITL: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
ba2adac869
GCS_MAVLink: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
3b0dac3198
AP_NavEKF3: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
4f81aa82e2
AP_LeakDetector: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
d749fce378
AP_LandingGear: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
1038581bcb
AP_HAL_SITL: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
9965cbb79a
AP_Generator: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
a0172fd2ca
AC_Fence: emit a FENCE_STATUS message if we newly-breach the fences
...
This should resolve a problem in autotest where we don't detect the
fence as being breached as ArduPilot never announces the fact it has
breached - it just changes mode to RTL but the interval on the
FENCE_STATUS message never aligns with the time the vehicle is breached.
4 years ago
Mirko Denecke
edc2b0c94e
AP_HAL_ChibiOS: fix copy and paste typo
4 years ago
Andrew Tridgell
17031707e3
AP_Scripting: added pcall example
...
this shows how to catch errors in scripts to make them robust against
runtime errors
4 years ago
Paul Riseborough
342e6b35fa
AP_NavEKF3: Fix use of incorrect ballistic coefficient parameter
4 years ago
Paul Riseborough
7370cd9f00
AP_NavEKF3: Fix typo and update parameter description
4 years ago
Randy Mackay
0c9559db6d
AP_Motors: fixup octaquad CW_X motor directions
4 years ago