Andrew Tridgell
3a4095fc7f
AP_NavEKF2: use common structure names
4 years ago
Andrew Tridgell
636fe783f4
AP_DAL: use common events and structures for EKF2 and EKF3
...
this facilitates --force-ekf2 and --force-ekf3
4 years ago
Andrew Tridgell
08291a15fb
HAL_SITL: avoid sitl command line processing for replay
...
avoids need for -- arguments for replay
4 years ago
Andrew Tridgell
019544ceb1
AP_Logger: allow for replay with both EKF enabled
...
even when one is disabled in the original log
4 years ago
murata
bbc673c668
AP_RangeFinder: Change rangefinder number 10 to A
4 years ago
Michael du Breuil
5e2093b105
Copter: Allow the user to specify the GCS failsafe timeout
4 years ago
Hwurzburg
5e8e088978
ArduPlane:Add safety limit on tailsitter VTOL transition throttle
...
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
4 years ago
Hwurzburg
6eca18c08b
GCS_MAVLink: add Board option to disable MAVftp in low mem bds/apps
4 years ago
Hwurzburg
6fe5ed36ce
AP_BoardConfig: add Board option to disable MAVftp in low mem bds/apps
4 years ago
Andrew Tridgell
9c74474196
GCS_MAVLink: setup baudrates for passthru serial ports
4 years ago
Andrew Tridgell
d0db3eef58
AP_SerialManager: added baudrates to get_passthru()
4 years ago
Michael du Breuil
53cbd86cbe
AP_Scripting: Fix the lua scheduling rate to be referenced from the
...
start of the update
This allows specifying a return value like "return update, 10" to run
at a near perfect 100Hz, where as before it would be run 10 ms after the
script had completed it's loop, which can be highly variable as the
script experiences interupts from the system, as well as needing the
script author to take responsibility for calculating the desired update
rate at the end. This was always intended to be fixed, but I pushed it
back during the initial development, however people are begining to run
scripts that have enough processing, or are rate sensitive enough that
we are now needing to start correcting this, or scripts will have to do
their best to guess the time, which will be inferior to us providing it.
As a note if you exceeded the time expected we will be rescheduling the
script immediately, thus it will have a schedule time in the past and
will be slotted in. This can't indefinetly starve other scripts as they
will still be slotted in, but if you request an update in 1 ms, but took
100ms to run we will simply slide you back into the queue 1ms after when
you started running.
4 years ago
Iampete1
42887891be
Plane: tailsitter: make sure alt target is abover current alt
4 years ago
Iampete1
f480f4e946
Plane: tailsitter: fix Qassist back - transision
4 years ago
Iampete1
c03de6bdbe
Plane: log Qassist state
4 years ago
Andrew Tridgell
5385f25868
AP_RSSI: handle init ordering with MSP
...
this fixes a nullptr dereference on startup when MSP asks for RSSI
data before the RSSI library is initialised
Fixes #15824
4 years ago
Paul Riseborough
248ef92ed7
AP_NavEKF2: Add velocity innovation check to use of EKF-GSF yaw
...
Only apply to non fly forward vehicle, eg copters, because magnitude of velocity innovation produced by plane launches is TBD.
4 years ago
Paul Riseborough
aaf558f593
AP_NavEKF3: Add velocity innovation check to use of EKF-GSF yaw
...
Only apply to non fly forward vehicle, eg copters, because magnitude of velocity innovation produced by plane launches is TBD.
4 years ago
Paul Riseborough
78e10e99f5
AP_NavEKF: Add accessor for yaw estimator velocity innovation length
4 years ago
Paul Riseborough
db86a5acc8
AP_NavEKF3: Don't update yaw estimator with bad GPS
4 years ago
Paul Riseborough
e5e8d0ba3c
AP_NavEKF2: Don't update yaw estimator with bad GPS
4 years ago
Andrew Tridgell
1250f62c88
Replay: fix for WriteV usage and cleanup unused code
4 years ago
Andrew Tridgell
e143257f8a
Replay: added GSF msgs to check_replay.py
4 years ago
Andrew Tridgell
5686dafeef
AP_NavEKF3: fixed logged core for GSF messages
4 years ago
Andrew Tridgell
a2f4b16cdc
AP_NavEKF2: fixed logged core for GSF messages
4 years ago
Andrew Tridgell
04f60001ff
AP_Logger: allow WriteV() to work within Replay
...
save formats for lookup by WriteV
4 years ago
Andrew Tridgell
e122d8ae8e
Replay: allow build with "./waf replay"
...
a bit easier to remember
4 years ago
Andrew Tridgell
03f2e853ce
AP_NavEKF3: fixed memory corruption on push before init
...
this fixes a bug that happens with VISION_SPEED_ESTIMATE from a
companion computer, which may come in before the EKF buffers are
allocated. That causes a push to an uninitialised ringbuffer which
triggers memory corruption
found using the new memory guard system
4 years ago
Andrew Tridgell
01cd678244
AP_NavEKF2: fixed memory corruption on push before init
...
this fixes a bug that happens with VISION_SPEED_ESTIMATE from a
companion computer, which may come in before the EKF buffers are
allocated. That causes a push to an uninitialised ringbuffer which
triggers memory corruption
found using the new memory guard system
4 years ago
yaapu
026ddfa679
AP_OSD: fix for sim_vehcile --osdmsp
4 years ago
Tom Pittenger
3b6513b932
Tools: add CubeBlack to list of AP_Periph supported boards
4 years ago
Peter Barker
32ba55e756
AP_DAL: move structure used for location references into cpp
...
Outside we get a copy per compilation unit.
4 years ago
Peter Barker
8c2c6141f7
AP_DAL: remove unused antenna_offset state
4 years ago
Pierre Kancir
f0b0e36dc6
.github: add chibios test with GCC 9
4 years ago
Tom Pittenger
3cf537deed
AP_BoardConfig: reorder the fixed-index enum
4 years ago
Tom Pittenger
e0e3c23a87
AP_HAL_ChibiOS/hwdef: fix misprint in comment
4 years ago
Michael du Breuil
960437d446
Tools: Add the SFML configuration flags as needed for joysticks
4 years ago
Michael du Breuil
350fe3ed8d
wscript: Add configure option for SFML joystick
4 years ago
Michael du Breuil
58ee8f62e2
AP_HAL_SITL: Support SFML joystick input
4 years ago
Michael du Breuil
892fb74c96
SITL: Add parameters for SFML_Joystick
4 years ago
Andrew Tridgell
c8e604a730
AP_Scripting: fixed gcc 9.x build
4 years ago
Andrew Tridgell
c14d19be68
AP_NavEKF3: fixed gcc 9.3 build error
...
gcc 9.3 doesn't like the use of get_accel(i) when array length is 1
4 years ago
Andrew Tridgell
7099bb6096
AP_NavEKF2: fixed gcc 9.3 build error
...
gcc 9.3 doesn't like the use of get_accel(i) when array length is 1
4 years ago
Andrew Tridgell
19c42ca0ed
AP_RCTelemetry: fixed build for gcc 9.x
4 years ago
Andrew Tridgell
c1dded0483
AP_DAL: fixed distance in rangefinder data
...
thanks to Paul for noticing
4 years ago
Andrew Tridgell
8c59575646
AP_OSD: support callsign display on OSD
...
use a file "callsign.txt" on the sdcard for callsign
4 years ago
Andrew Tridgell
c423bcca65
AP_OLC: fixed build of OSD on SITL
...
failed to link with constexpr, simple fix is to use defines, which
also scopes it inside the cpp
4 years ago
Peter Barker
a9a2c8c392
AP_HAL_SITL: only disown a sempahore once we're done with it
4 years ago
Peter Barker
545a086865
SITL: make ToshibaLED an 8-bit register device
4 years ago
Peter Barker
e21e55ba51
SITL: add I2CRegister::8Bit for 8-bit-quantity devices
4 years ago