Commit Graph

39835 Commits

Author SHA1 Message Date
Peter Barker 1609b4ccb8 Tools: autotest: correct get_distance_int 2020-02-05 10:10:37 +11:00
Peter Barker 95c18806cd autotest: correct CRAMS field altitude 2020-02-05 10:10:37 +11:00
Andrew Tridgell 4638c57819 AP_Motors: enable docs for hover thr learning in plane 2020-02-05 10:10:37 +11:00
chobits 491ac8f1a7 Copter: do not speed up EKF failsafe if optflow works 2020-02-05 10:10:37 +11:00
Randy Mackay 59f2b42bd9 AP_SmartRTL: fixup compile error
fix typo introduced by me attempting a minor fixup before merging
2020-02-05 10:10:37 +11:00
Peter Barker 2deea7835f AP_Logger: correct uninitialised value when logging all rally points 2020-02-05 10:10:37 +11:00
Peter Barker 091d3e042b autotest: make dataflash-over-mavlink test more accomodating
Saw <100kB/s on autotest server, so can't look for minimum 100kB/s.

Also fixed disarmed-at-end-of-test
2020-02-05 10:10:37 +11:00
Henry Wurzburg 6f5d9a686e AP_SmartRTL: give warning buffer is about to fill-up 2020-02-05 10:10:37 +11:00
Henry Wurzburg edc7fefe2a AP_Follow: hide params not used by Rover 2020-02-05 10:10:37 +11:00
Randy Mackay 684a24b510 Copter: add pre-arm check of PILOT_SPEED_UP param 2020-02-05 10:10:37 +11:00
Andrew Tridgell e9e397f548 autotest: allow --moddebug to sim_vehicle.py
helps people debugging install
2020-02-05 10:10:37 +11:00
Randy Mackay 9f5d629503 GCS_MAVLink: add comment above set-message-interval 2020-02-05 10:10:37 +11:00
Randy Mackay b3fbceccb2 GCS_MAVLink: minor fix to set_message_interval 2020-02-05 10:10:37 +11:00
Tatsuya Yamaguchi ce588f004d AP_Scripting: add set_message_interval binding 2020-02-05 10:10:37 +11:00
Tatsuya Yamaguchi 48307e2268 GCS_MAVLink: add set_message_interval functions 2020-02-05 10:10:37 +11:00
Randy Mackay 9cb36fc1de Copter: 3.6.11 release notes 2020-02-05 10:10:37 +11:00
Randy Mackay 750a526109 Rover: fix version to be 4.0.0 2020-02-05 10:10:37 +11:00
Randy Mackay 37f0a101cb Rover: 4.0.0-rc1 release notes 2020-02-05 10:10:37 +11:00
Andy Piper 8afa87b32d Tools: add --upload-port option to waf 2020-02-05 10:10:37 +11:00
Andrew Tridgell 4e799be144 AP_Scheduler: use fill_nanf() on each scheduler function 2020-02-05 10:10:37 +11:00
Andrew Tridgell 161154bf05 AP_NavEKF2: fixed build
broken by recent common variable change
2020-02-05 10:10:37 +11:00
Andrew Tridgell 8984a8fa85 HAL_SITL: pre-fill stack on each loop with NaN
this allows us to catch use of uninitialised stack variables in SITL
without having valgrind running
2020-02-05 10:10:37 +11:00
Andrew Tridgell b1e0299a0f AP_NavEKF3: use parent class for intermediate static variables
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2020-02-05 10:10:20 +11:00
Andrew Tridgell da7dc71195 AP_NavEKF2: use parent class for intermediate static variables
this makes the code faster as well as using less memory when both EK2
and EK3 are enabled
2020-02-05 10:10:20 +11:00
IamPete1 b5e78f9260 AP_Motors: add reversed tricopter option 2020-02-05 10:10:20 +11:00
Peter Barker 3939a24f95 AP_ADSB: move is_valid_octal to is_valid_callsign and add tests for it 2020-02-05 10:10:20 +11:00
Peter Barker 6e4813cc92 AP_Math: move is_valid_octal into adsb
This doesn't ensure the value is octal digits - there's more magic in
it.
2020-02-05 10:10:20 +11:00
mhefny 919208c47c SITL: removed unnecessary files of webots 2020-02-05 10:10:20 +11:00
Peter Barker dae920634f AP_Baro: exclude Sub pressure transducers from non-sub builds 2020-02-05 10:10:20 +11:00
Andrew Tridgell b142255a4c Tools: removed HAVE_OCLOEXEC check 2020-02-05 10:10:20 +11:00
Andrew Tridgell f5cd193f71 AP_Common: removed fcntl overrides
not needed with AP_Filesystem, and fixes lots of warnings with newer
compilers
2020-02-05 10:10:20 +11:00
Andrew Tridgell 6ebfbb4b94 AP_HAL: fixed build on g++ 7.3 for stm32
the system maths headers don't like our maths defines, but are happy
if we include math.h first
2020-02-05 10:10:20 +11:00
Henry Wurzburg df32ec154f AP_OSD: add current averaging filter to reduce jitter (~5 sample timeconstant) 2020-02-05 10:10:20 +11:00
Randy Mackay 920f3e54c0 Copter: restore range finder updates to 20hz 2020-02-05 10:10:20 +11:00
Randy Mackay dbaf6c470d Copter: upward surface tracking never closer than avoidance margin 2020-02-05 10:10:20 +11:00
Randy Mackay 633fd0f6c9 AC_Avoidance: add enabled and margin accessors 2020-02-05 10:10:20 +11:00
Randy Mackay 3fe61476bf Copter: add upward facing surface tracking 2020-02-05 10:10:20 +11:00
Randy Mackay f188f7e05e RC_Channels: define surface tracking auxiliary function 2020-02-05 10:10:20 +11:00
Randy Mackay 972c916f1b Copter: surface tracking always includes ekf alt error when setting target rangefinder alt 2020-02-05 10:09:54 +11:00
Randy Mackay 7d66b904ef Copter: rangefinder glitch detection moved to read_rangefinder 2020-02-05 10:09:54 +11:00
Randy Mackay e4ccb10524 Copter: surface tracking format fixes 2020-02-05 10:09:54 +11:00
Randy Mackay c7d8f60469 Copter: move surface tracking implementation to surface_tracking.cpp 2020-02-05 10:09:54 +11:00
Randy Mackay de27b5c845 Copter: increase read_rangefinder to 50hz 2020-02-05 10:09:54 +11:00
Peter Barker cf7c77c544 Sub: call periodic fence update function 2020-02-05 10:09:54 +11:00
Peter Barker ccccb82eea Copter: call periodic fence update function 2020-02-05 10:09:54 +11:00
Peter Barker 501e8e11b6 Rover: call periodic fence update function 2020-02-05 10:09:54 +11:00
Peter Barker 27fa9e3f4e Sub: initialise AC_Fence library 2020-02-05 10:09:54 +11:00
Peter Barker 3ebece5507 Copter: initialise AC_Fence library 2020-02-05 10:09:54 +11:00
Peter Barker 6995bb3acd Rover: initialise AC_Fence library 2020-02-05 10:09:54 +11:00
Randy Mackay 1edac100ac AC_Avoid: add support for complex fence types
AP_OABendyRuler: support exclusion polygons

AP_OADijkstra: support exclusion polygons

AC_Avoid: adjust_velocity supports exclusion polygons

AC_Avoidance: handle fence::get_boundary_points returning nullptr instead of setting num_points to zero

AC_Avoidance: Dijkstra's works with only exclusion polygons

AC_Avoidance: Dijkstra: check for fence counts instead of polyfence validity

We really only care whether fences can be returned - and they won't be
returned unless they are valid

AC_Avoidance: BendyRuler: just try to get inclusion fence rather than checking validity

AC_Avoidance: BendyRuler supports exclusion circles

AC_Avoid: Dijkstra support for exclusion circles

AC_Avoid: BendyRuler support for inclusion circles

AC_Avoid: stop an inclusion/exclusion circular fences

AC_Avoid: stop at inclusion/exclusion circular fences

AC_Avoid: fixes to Dijkstra's use of inclusion/exclusion circles and polygons

AP_Avoidance: take semaphores when interacting with AHRS and polyfence

AC_Avoid: Dijkstra's fix for some_fences_enabled inclusion circles
2020-02-05 10:09:54 +11:00