bnsgeyer
694075768f
Copter: tradheli update conversion
2020-02-05 10:09:20 +11:00
bnsgeyer
5898986b0a
AP_Motor: tradheli align swash params btwn frames and fix metadata
2020-02-05 10:09:20 +11:00
Peter Barker
fef085a1c8
Tools: autotest: allow tracker to be armed between tests
2020-02-05 10:09:20 +11:00
Peter Barker
f48a601d84
Tools: autotest: tidy handling of armed-at-end-of-test handling
2020-02-05 10:09:20 +11:00
Peter Barker
7fd52a12cf
Tools: autotest: remove switch position assumption from takeoff
2020-02-05 10:09:20 +11:00
Peter Barker
5871cdad23
AP_Math: remove unit_mod concept from wrap functions
...
devcall decided it would be clearer to have non-shared implementation
for the _cd variants
2020-02-05 10:09:20 +11:00
Peter Barker
5e9aaca8df
AP_NavEKF2: initialise Kfusion stack variable to fix compilation
...
This fixes the compilation, as previous patches have done.
2020-02-05 10:09:20 +11:00
Peter Barker
ec991969c7
AP_HAL_ChibiOS: correct include of mavlink header for analog debug
2020-02-05 10:09:20 +11:00
Andrew Tridgell
c6dade50c5
Tools: added script for creating apj file from *.bin
...
useful when you have a binary firmware and want to be able to upload
it with uploader.py
2020-02-05 10:09:20 +11:00
liang
9c44ebaced
AP_Baro: LPS22H: correct formatting
2020-02-05 10:09:20 +11:00
Peter Barker
58c69d0252
Tools: autotest: test for vehicle armed after test passes
...
postcondition of any test is that it leaves the vehicle disarmed
2020-02-05 10:09:20 +11:00
Andrew Tridgell
de12430977
AP_NavEKF2: fixed build with g++ 9.1
...
this is a false positive, but the cost of clearing this array is low,
and it saves a much more complex fix
2020-02-05 10:09:20 +11:00
Peter Barker
36ac689838
travis: run unit tests
2020-02-05 10:09:20 +11:00
Peter Barker
2f1bb8279f
Tools: add entry for running unit tests to build_ci.sh
2020-02-05 10:09:20 +11:00
Peter Barker
bc9d6815e7
gtest: reference commit adding override keywords / use updated gtest
2020-02-05 10:09:20 +11:00
Peter Barker
f3ddc9d17b
waf: cope with new format of gtest submodule
2020-02-05 10:09:20 +11:00
Peter Barker
8106424611
waf: add suggest-override even when building in uavcan
2020-02-05 10:09:20 +11:00
Andrew Tridgell
4802494d9d
Rover: updated release notes for 3.5.2
2020-02-05 10:09:20 +11:00
murata
6de2311689
AP_Radio: Change direct value to define name
2020-02-05 10:09:20 +11:00
murata
a74123148b
AP_Compass: Change direct value to define name
2020-02-05 10:09:20 +11:00
Andrew Tridgell
5d67618968
AP_NavEKF2: added comment (review request)
2020-02-05 10:09:20 +11:00
Andrew Tridgell
164813bcc2
AP_NavEKF2: moved some of the intermediate vars to the stack
...
this keeps stack frames below 1k, while giving faster access to the
variables and saving more memory
2020-02-05 10:09:20 +11:00
Andrew Tridgell
6ffffff8c6
AP_NavEKF3: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
2020-02-05 10:09:00 +11:00
Andrew Tridgell
a48d97c307
AP_NavEKF2: moved intermediate variables to common memory
...
this moves intermediate variables from being per-core to being common
between cores. This saves memory on systems with more than one core by
avoiding allocating this memory on every core.
This is an alternative to #11717 which moves memory onto the stack. It
doesn't save as much memory as #11717 , but avoids creating large stack
frames
2020-02-05 10:08:10 +11:00
Andrew Tridgell
676ab60424
Tools: added UDP proxy code
...
very useful for fwding mavlink
2020-02-05 10:05:59 +11:00
Andrew Tridgell
23ae607c6c
Copter: fixed RC failsafe handling for no RC receiver
...
this stops us using uninitialised values in modes like circle which
can operate either with or without RC input. If we didn't have a RC
receiver attached then they would use a maximum yaw rate (which
produces quite a spectacular result for a tuned up racing quad)
2020-02-05 10:05:59 +11:00
Peter Barker
655a24ff26
AP_Periph: stop compiling in AP_Buffer
2020-02-05 10:05:59 +11:00
Peter Barker
cb1e73ac82
Plane: stop compiling in AP_Buffer
2020-02-05 10:05:59 +11:00
Peter Barker
74253337b7
Copter: stop compiling in AP_Buffer
2020-02-05 10:05:59 +11:00
Peter Barker
5ce16f81ff
AP_ADSB: use ObjectBuffer in place of AP_Buffer
2020-02-05 10:05:59 +11:00
Peter Barker
ed5848238c
AP_Buffer: remove as it is replaced with ObjectBuffer
2020-02-05 10:05:59 +11:00
Michael du Breuil
faf7b63091
Plane: Geofence, speed up the no fence checks if disabled
...
This just checks if we are going to early out on the fence because it's
disabled. This also saves us 60 bytes of flash space. This technically
is a behaviour change as it was possible to load the fence before while
disabled if there was an RC channel mapped to it. This defers that until
the fence will have an action. The advantage of this though is that it
speeds up the check that's done per loop in a quadplane for stick mixing
2020-02-05 10:05:59 +11:00
Michael du Breuil
a1abfbc222
Plane: Remove unused geofence enable reason
2020-02-05 10:05:59 +11:00
Michael du Breuil
68fac23aaa
Plane: Reduce size of GeoFenceState
...
Cuts it from 32 bytes to 28
2020-02-05 10:05:59 +11:00
Michael du Breuil
bfcd1da485
Plane: Remove unneeded state from geofence
2020-02-05 10:05:59 +11:00
Willian Galvani
8f6ca7bb8f
APMotors6DOF: add roll factor for motors 4 and 5 for SIMPLEROV_4 and SIMPLEROV_5
2020-02-05 10:05:59 +11:00
Willian Galvani
f5ba04d098
APMotors6DOF: add case for SIMPLEROV_3
2020-02-05 10:05:59 +11:00
Peter Barker
28c2179a97
Tools: autotest: send SIGTERM to processes before killing them
...
This allows coverage atexit functions to run
2020-02-05 10:05:59 +11:00
Peter Barker
552cc4be5c
AP_HAL_SITL: catch SIGTERM and exit with zero exit status
2020-02-05 10:05:59 +11:00
Andrew Tridgell
7ecbec5b96
HAL_SITL: added MotorBoat
2020-02-05 10:05:59 +11:00
Andrew Tridgell
be083aab1a
SITL: added a MotorBoat class
...
a sailboat with zero sail area
2020-02-05 10:05:59 +11:00
Randy Mackay
930dad1934
Copter: update 3.6.11-rc1 release notes
2020-02-05 10:05:59 +11:00
Randy Mackay
b083a3da34
Copter: 3.6.11-rc1 release notes
2020-02-05 10:05:59 +11:00
Lucas De Marchi
77a06de66f
AP_RangeFinder: update minimum fw version of TFMiniPlus
...
Version 2.0.3 has important fixes to avoid having the sensor to lock up.
Let's make sure we check for it and warn on console.
2020-02-05 10:05:59 +11:00
Andrew Tridgell
7d5c36113d
Copter: fixed EKF threshold for arming
...
when EKF failsafe is disabled by setting threshold to zero we need to
disable this arming check
2020-02-05 10:05:59 +11:00
Peter Hall
5b434e814a
APM_Control: AR_AttitudeControl: add description for new PID params
2020-02-05 10:05:59 +11:00
Andrew Tridgell
3538bd62c3
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2020-02-05 10:05:59 +11:00
Peter Barker
0da70fdc38
Tools: random Python cleanups based on lgtm analysis
2020-02-05 10:05:44 +11:00
Andrew Tridgell
d85a7e4c4b
AP_Logger: fixed use of old irqsave() API
2020-02-05 10:04:08 +11:00
Randy Mackay
65efc642ed
Rover: pre-arm check that WP_SPEED is positive
2020-02-05 10:04:08 +11:00