Andy Piper
7039d67474
AP_VideoTX: move AP_VideoTX to AP_VideoTX
2021-02-23 11:43:32 +11:00
Andy Piper
74318dd0dd
AP_Vehicle: move AP_VideoTX to AP_VideoTX
2021-02-23 11:43:32 +11:00
Andy Piper
dd310fd12f
AP_RCProtocol: move AP_VideoTX to AP_VideoTX
2021-02-23 11:43:32 +11:00
Andy Piper
d97079e53b
AP_RCTelemetry: move AP_VideoTX to AP_VideoTX
2021-02-23 11:43:32 +11:00
Peter Barker
c5e62eb6e4
GCS_MAVLink: schedule current waypoint rather than immediate send
...
This message may not fit in our outgoing buffer
2021-02-23 11:27:22 +11:00
Patrick José Pereira
0e76006dc5
SRV_Channel: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
300a14aaae
SITL: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
ba2adac869
GCS_MAVLink: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
3b0dac3198
AP_NavEKF3: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
4f81aa82e2
AP_LeakDetector: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
d749fce378
AP_LandingGear: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
1038581bcb
AP_HAL_SITL: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
Patrick José Pereira
9965cbb79a
AP_Generator: Simplify boolean expression
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-23 10:30:05 +11:00
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.
2021-02-23 08:28:02 +09:00
Mirko Denecke
edc2b0c94e
AP_HAL_ChibiOS: fix copy and paste typo
2021-02-23 08:15:50 +09:00
Andrew Tridgell
17031707e3
AP_Scripting: added pcall example
...
this shows how to catch errors in scripts to make them robust against
runtime errors
2021-02-23 09:59:37 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
bbb6bbedf4
Copter: 4.0.7 release notes
2021-02-23 08:03:21 +11:00
Andrew Tridgell
ee2f7eac80
Plane: prepare for 4.0.9
2021-02-23 08:03:12 +11:00
Andrew Tridgell
20da92c8a1
Tools: revert IO firmware
...
this is a temporary fix until the full cause of the IOMCU issue is
found
2021-02-22 19:52:05 +11:00
Paul Riseborough
342e6b35fa
AP_NavEKF3: Fix use of incorrect ballistic coefficient parameter
2021-02-22 13:21:03 +09:00
Paul Riseborough
7370cd9f00
AP_NavEKF3: Fix typo and update parameter description
2021-02-22 13:21:03 +09:00
Peter Barker
4d9cfdaaa8
Vagrant: create a bionic64-desktop VM
...
The focal-desktop appears to have a problem where directories are
considered to be in-use when being deleted. Not reproduced by me, but
reliably by a Windows user.
2021-02-22 15:00:38 +11:00
Randy Mackay
0c9559db6d
AP_Motors: fixup octaquad CW_X motor directions
2021-02-22 11:00:44 +09:00
Andy Piper
fa1bed9735
Tools: rebuild iomcu firmware
2021-02-22 07:07:43 +11:00
Peter Barker
44ec74030e
autotest: recover from flip in althold to remove stabilise throttle problem
2021-02-21 23:11:26 +11:00
Peter Barker
a4a5d52c35
autotest: extend time allowed for RTL for simplemode test
2021-02-21 22:45:06 +11:00
Peter Barker
9120882e9e
autotest: print name of open dataflash log when test exception caught
...
The stack trace is already extremely useful... but mapping back to the
relevant dataflash log is a bit of a pain.
Adding more stuff to this method in the future might be good, too.
2021-02-21 21:35:35 +11:00
Peter Barker
adf44f3b2b
autotest: make and declare sim_vehicle.py flake8-clean
2021-02-21 21:35:17 +11:00
Peter Barker
98451e499a
autotest: make and declare balancebot flake8-clean
2021-02-21 21:35:17 +11:00
Peter Barker
b5f490aff4
autotest: make fly_proximity_avoidance_test_alt_no_avoid more reliable
2021-02-21 17:44:10 +11:00
Andrew Tridgell
c913d8134d
Plane: use ahrs.groundspeed() instead of gps call
...
this fixes a zero of integrator when dead-reckoning after GPS has died
2021-02-21 09:13:31 +11:00
Peter Barker
1afa0a7ff2
GCS_MAVLink: remove unused member
...
and a bogus comment
2021-02-20 21:48:25 +11:00
Andrew Tridgell
7af20e9ea3
HAL_ChibiOS: increase H7 serial buffer sizes
...
this takes better advantage of the new UART code. Log download over
USB gets to 730 kbyte/s. For comparison, with the 4.0 code on the same
H7 we get about 300 kbyte/s
2021-02-20 20:49:45 +11:00
Andrew Tridgell
3b88a3273b
HAL_ChibiOS: adjust up uart tx stack size
...
lowest was showing 80 bytes free, which is too close to the 64 byte
level where we trigger an internal error
2021-02-20 14:37:11 +11:00
Andrew Tridgell
5e0f175223
HAL_ChibiOS: adjust UART buffer sizes for new UART code
...
this gains about 20k of RAM, and has almost no impact on log download
speed at 921600 on a F427. The improved threading means we can afford
to have smaller buffers
2021-02-20 14:37:11 +11:00
Andy Piper
4e61ba2dc8
AP_HAL_ChibiOS: reduce stack sizes for rcout, uart_rx and storage.
2021-02-20 14:37:11 +11:00
Andy Piper
94de238751
AP_HAL_ChibiOS: disable RCOUT thread on iomcu and rebuild iomcu.
2021-02-20 14:37:11 +11:00
Andy Piper
f9c5f9be00
AP_HAL_ChibiOS: make dshot DMA unlock event driven in order to allow unlocking from rcout thread
...
refactor rcout into separate thread and process all dshot requests there
move uart DMA completion to event model
process dshot locks in strick reverse order when unlocking
convert Shared_DMA to use mutexes
move UART transmit to a thread-per-uart
do blocking UART DMA transactions
do blocking dshot DMA transactions
trim stack sizes
cancel dma transactions on dshot when timeout occurs
support contention stats on blocking locking
move thread supression into chibios_hwdef.py
invalidate DMA bounce buffer correctly
separate UART initialisation into two halves
cleanup UART transaction timeouts
add @SYS/uarts.txt
move half-duplex handling to TX thread
correct thread statistics after use of ExpandingString
set unbuffered TX thread priority owner + 1
correctly unlock serial_led_send()
don't share IMU RX on KakuteF7Mini
observe dshot pulse time more accurately.
set TRBUFF bit for UART DMA transfers
deal with UART DMA timeouts correctly
don't deadlock on reverse ordered DMA locks
change PORT_INT_REQUIRED_STACK to 128
2021-02-20 14:37:11 +11:00
Andy Piper
c388fd9214
AP_Filesystem: add @SYS/uarts.txt
2021-02-20 14:37:11 +11:00
Andy Piper
a07b238c7d
AP_HAL: add PRIORITY_RCOUT
...
don't allow UART copies
add @SYS/uarts.txt
2021-02-20 14:37:11 +11:00
Peter Barker
d4aef2dba8
autotest: stop using MAVProxy to change mode
2021-02-20 00:03:24 +11:00
Peter Barker
05c9b79a5e
autotest: make and declare quadplane.py flake8-clean
2021-02-20 00:02:33 +11:00
Peter Barker
c13d229877
autotest: use self.set_current_waypoint rather than "wp set" to set current wp
2021-02-19 12:25:40 +11:00
Peter Barker
148e2e751f
autotest: add set_current_waypoint
2021-02-19 12:25:40 +11:00
Iampete1
bf7920f2d7
AP_Scripting: use helper for not supported error saving 1K of flash
2021-02-18 15:12:58 -07:00
Peter Barker
b7044d3708
autotest: remove use of global expect_list
2021-02-18 18:18:30 +11:00
Peter Barker
2d17f019b6
autotest: remove pointless manipulation of expect list
...
start_sitl and start_mavproxy already do this stuff
2021-02-18 18:18:30 +11:00
Peter Barker
dcc04ccd09
autotest: stop using MAVProxy to change modes
2021-02-18 17:38:52 +11:00
Peter Barker
2c1df16442
autotest: increase button message timeout to allow for Valgrind speed
2021-02-18 17:04:16 +11:00
Peter Barker
ad06a616b8
autotest: adjust for low log transfer rate under valgrind
2021-02-18 17:04:16 +11:00