Andrew Tridgell
b23afc4a9e
AP_Filesystem: disallow file operations from main thread while armed
...
this stops all file operations from the main thread while armed,
allowing for a 3s grace time on arming to allow for initial log
file creation
2021-06-09 15:08:28 +10:00
Andrew Tridgell
1279772d92
AP_Logger: disallow log creation in main thread when armed
...
this fixes an issue where the sd card fails in flight and then
re-mounts. When that happens the logging backend can trigger a new log
open. That causes filesystem operations in the main thread while
flying. That can cause long delays or even a watchdog.
Thanks to Giacomo for noticing this on his flying wing
2021-06-09 15:08:28 +10:00
Peter Barker
fd792bebf8
autotest: wipe SITL state after temperature cal test
...
ArduPilot internals are fiddling state that the autotest suite is
unaware of, so wipe the eeprom after the test
2021-06-09 14:14:06 +10:00
Peter Barker
79de738266
autotest: wait for a few seconds for arm-failure messages to appear
...
If prearms never come true then we try to arm the vehicle so it tells us
what is wrong. Since we no longer push statustexts hard, we have to
wait for the reasons to come out at normal clocked rates.
2021-06-09 14:13:54 +10:00
Peter Barker
6af6d2fc2a
autotest: add a progress message for looking for a message in a log
2021-06-09 14:13:31 +10:00
Peter Barker
6944ef6af1
autotest: fly each working Helicopter frame
2021-06-09 12:15:42 +10:00
Josh Henderson
757fc1d679
AC_WPNav: ensure that wp_radius greater than min
...
Co-authored-by: Murata,Katsutoshi <ma2maru@gmail.com>
2021-06-09 10:55:15 +09:00
Pierre Kancir
117ca8a6ef
AP_Rangefinder: make backend get_reading() pure virtual
2021-06-09 10:52:00 +09:00
Pierre Kancir
88b5ff8c6f
AP_Rangefinder: make get_temp const
2021-06-09 10:52:00 +09:00
chobitsfan
14c32f556c
Copter: fix build problem when log disabled
2021-06-09 09:34:13 +10:00
Randy Mackay
058d4299ad
Tools: update SITL tri and hexa gains
2021-06-08 19:11:32 +10:00
Andrew Tridgell
3be7f1ae23
autotest: removed tri from doesn't fly list
2021-06-08 19:11:32 +10:00
Andrew Tridgell
3a6bafc6a6
SITL: fixed order of rotations in tilt vehicles
...
tilt is in body frame, not rotated arm frame, so needs to be applied
2nd
2021-06-08 19:11:32 +10:00
Andrew Tridgell
0876cb9cd6
autotest: fixed defaults for tricopter
2021-06-08 19:11:32 +10:00
Peter Barker
ff048990d9
AP_OSD: correct format string issues
...
AP_OSD: remove spurious % in fmt string
AP_OSD: cast to (signed) to fix fmt string issue
AP_OSD: cast to (unsigned) to fix fmt string issues
2021-06-08 17:08:43 +10:00
Peter Barker
e06f937486
AP_OSD: add FMT_PRINT to write(...) call
2021-06-08 17:08:43 +10:00
arsh
45f1d03bda
autotest:Copter test fix for some frames
...
removed some lines
Whitespace messages removal
2021-06-08 16:50:37 +10:00
TunaLobster
2359de250d
AP_Scripting: add example of fixed wing doublets via scripting
2021-06-08 14:48:27 +10:00
Peter Barker
09e82e52e1
AP_HAL_ChibiOS: disable AP_EFI on MatekF405-Wing and omnibusf4pro
2021-06-08 14:08:34 +10:00
Peter Barker
e5fba1c8cc
AP_EFI: disable AP_EFI on MatekF405-Wing and omnibusf4pro
2021-06-08 14:08:34 +10:00
Randy Mackay
f8d39e65ec
AP_VisualOdom: pre_arm check fix for camera attitude
2021-06-08 12:55:17 +09:00
Randy Mackay
ab5d4da776
AP_AHRS: attitudes_consistent fix for roll-pitch difference calc
...
previously yaw difference would appear as roll, pitch differrences
2021-06-08 12:55:17 +09:00
Randy Mackay
b263a1d751
AP_Math: add Quaternion::roll_pitch_difference
2021-06-08 12:55:17 +09:00
Randy Mackay
4521334b06
Rover: THR logs X-axis accel
...
X-axis is forward-back acceleration which is what users may need for speed and throttle tuning
2021-06-08 12:53:08 +09:00
Andrew Tridgell
ac2080ff93
AP_ESC_Telem: don't send mavlink msgs if we've never data any data
2021-06-08 12:30:30 +10:00
Peter Barker
4abf854c45
AP_Common: remove weird cast of location object
2021-06-08 12:14:17 +10:00
李孟晓
27089b4d2b
AP_BattMonitor: Fix the comment of BATTx_OPTIONS
2021-06-08 11:16:19 +10:00
Andrew Tridgell
f150c312a6
Rover: fixed copying of filter objects
2021-06-08 11:14:52 +10:00
Andrew Tridgell
0ecc02c53a
Plane: fixed constructor of accel_ef filter
2021-06-08 11:14:52 +10:00
Andrew Tridgell
7fadbba086
AP_WindVane: fixed copying of filter objects
2021-06-08 11:14:52 +10:00
Andrew Tridgell
fbbb4a1183
AP_Soaring: fixed filter constructor calls
...
fixes valgrind error from copy of filter objects on the stack
2021-06-08 11:14:52 +10:00
Andrew Tridgell
a2d0f569c9
AP_WheelEncoder: fixed PID constructor calls
2021-06-08 11:14:52 +10:00
Andrew Tridgell
476e9fc15a
AC_PID: use CLASS_NO_COPY()
2021-06-08 11:14:52 +10:00
Andrew Tridgell
cd1f5ca494
Filter: use CLASS_NO_COPY
2021-06-08 11:14:52 +10:00
Andrew Tridgell
6c0c6a1f48
AP_Common: added CLASS_NO_COPY() macro
...
used to make it easy to forbid copy of classes
2021-06-08 11:14:52 +10:00
Iampete1
438ca0a6c4
Plane: tailsitter: increase severity level of failed transisisons.
2021-06-08 10:56:09 +10:00
Michel Pastor
30029f59db
AP_OSD_Screen: make BLH RPM fixed length
2021-06-08 10:40:44 +10:00
Peter Barker
31c345fc4b
Tools: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
ef2e273ee6
AP_Scheduler: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
102543684e
AP_Rally: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
fd4fb15e7d
AP_Mission: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
b681dc940a
AP_Logger: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
3ba57fed89
AP_HAL_ChibiOS: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
15cd41ca19
AP_GPS: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Peter Barker
c11a6bbb47
AP_Filesystem: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Josh Henderson
80a17cb97f
AP_BattMonitor: get Mavlink charge state
2021-06-08 09:27:13 +10:00
Josh Henderson
518666b5f0
GCS_MAVLink: Add battery_charge_state to Battery_Status message
2021-06-08 09:27:13 +10:00
Josh Henderson
8b83b49e0b
Rover: fix loiter_delay, cmd <0 sets a delay of 0 seconds
2021-06-07 21:27:19 +09:00
Andy Piper
96d0e8cf3f
AP_Motors: add comments to AP_MotorsUGV
2021-06-07 20:16:26 +09:00
Andy Piper
9eea3f1030
AP_BLHeli: add auto support to rover
2021-06-07 20:16:26 +09:00