Commit Graph

39664 Commits

Author SHA1 Message Date
Peter Barker 35ea916adf AP_Relay: change parameter name from relay to instance 2020-02-05 10:09:54 +11:00
Peter Barker 47b9cb2e28 AP_Relay: tidy, reduce flash usage 2020-02-05 10:09:54 +11:00
Peter Hall 3a58aeb6c6 AR_WPNav: make get_stopping_location public 2020-02-05 10:09:54 +11:00
Peter Hall 5b4a6eaf52 Rover: use AR_WPNav get stopping location 2020-02-05 10:09:54 +11:00
Peter Barker df798860f6 waf: remove vestiges of waf-run coverage 2020-02-05 10:09:54 +11:00
Peter Barker 78711f786d Tools: autotest: remove vestiges of waf-run coverage 2020-02-05 10:09:54 +11:00
Henry Wurzburg dffed8e008 AP_OSD: distance total fix for slow vehicles 2020-02-05 10:09:54 +11:00
Willian Galvani 61aaa17d2d Sub: Create MOTOR_DETECT mode
This mode attempts to detect the direction of all motors and adjust parameters appropriately.
2020-02-05 10:09:54 +11:00
Willian Galvani 8ad195dd51 APMotors_6DOF: Implement motor_is_enabled(), get_motor_angular_factors() and set_reversed(); 2020-02-05 10:09:54 +11:00
Peter Hall 1e02cbe009 AP_Windvane: caculate vehicles current tack 2020-02-05 10:09:54 +11:00
Peter Hall 90382a886f Rover: Sailboat tacking improvements 2020-02-05 10:09:54 +11:00
Randy Mackay 1d21d1fde4 Rover: fix init of struct published to OSD 2020-02-05 10:09:54 +11:00
Peter Barker 929fbc3bba Tools: autotest: add two basic tests for radio failsafe 2020-02-05 10:09:54 +11:00
Peter Barker 3b6f7219fc Tools: autotest: add disarm_wait function 2020-02-05 10:09:54 +11:00
Willian Galvani ae8df5678a AP_Motors_6DOF: Add missing 'break' 2020-02-05 10:09:54 +11:00
Henry Wurzburg fb0b92cc94 AP_OSD: scale xtrack, add precision for distances <10 units 2020-02-05 10:09:54 +11:00
Patrick José Pereira 6c734b5006 AP_HAL_Linux: PCA9685: Check for device before accessing it
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-05 10:09:54 +11:00
Andy Piper 30c86eb768 Tools: support lldb debugging for sim_vehicle and autotest 2020-02-05 10:09:54 +11:00
mhefny 9d67a9423f SITL: adding Tricopter model in Webots 2020-02-05 10:09:54 +11:00
Peter Barker 4d6e7f7099 Tools: autotest: enable EK3 for ride-along
This will have SITL cross more code, even if we don't actually use the
EK3 output
2020-02-05 10:09:54 +11:00
Randy Mackay 586b1f3c8c GCS_MAVLink: allow proximity to send only upward facing distances
this removes the requirement that a horizontal proximity sensor be enabled
2020-02-05 10:09:54 +11:00
Henry Wurzburg fb66b8b961 Rover: publish nav data to OSD 2020-02-05 10:09:54 +11:00
Henry Wurzburg 0f0ceb6499 AP_OSD: formatting fixes 2020-02-05 10:09:54 +11:00
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