Commit Graph

38565 Commits

Author SHA1 Message Date
Andrew Tridgell 63bec946d3 uavcan: submodule update 2019-06-06 12:19:13 +10:00
Peter Barker 4c4d37bd86 Sub: stop setting AC_Avoid in AC_WPNav; it uses singleton now 2019-06-06 11:47:22 +10:00
Peter Barker 5985579383 Copter: stop setting AC_Avoid in AC_WPNav; it uses singleton now 2019-06-06 11:47:22 +10:00
Peter Barker f2163fbc24 AC_WPNav: use singleton for getting AC_Avoid instance 2019-06-06 11:47:22 +10:00
Peter Barker 6047ef105e Tools: autotest: correct text MAVProxy-dedupe check in mission load
This failed to protect against multiple rapid calls to load_mission
2019-06-06 10:33:28 +10:00
Andrew Tridgell 2fb8aba1b2 autotest: use build path on faster filesystem 2019-06-06 09:10:32 +10:00
Andrew Tridgell a745bad5b0 Tools: cleanup autotest script 2019-06-06 08:42:47 +10:00
Andrew Tridgell d81bd6530c waf: use make -j on build of ChibiOS core
using number of jobs from waf
2019-06-06 08:29:06 +10:00
Willian Galvani 4b16271b3d Sub: Remove rangefinder support of control loops
The rangefinder handling doesn't handle sonar glitches like
locking on to reflections very well. We will remove the
rangefinder as an input to the controllers until we can do a
more robust implementation.
2019-06-05 11:54:45 -04:00
Andrew Tridgell 614a059819 HAL_ChibiOS: convert more boards to using new sensor config system 2019-06-05 18:54:40 +10:00
Andrew Tridgell 4a8c307720 AP_UAVCAN: fixed build error of F4 boards with CAN 2019-06-05 18:54:40 +10:00
Peter Barker c61412d2d1 Rover: correct get_distance_to_destination in loiter mode 2019-06-05 14:35:30 +09:00
Peter Barker 4c88a1e9de AP_RangeFinder: remove dangling update_instance declaration 2019-06-04 19:36:57 +09:00
Peter Barker 503aeba7b7 AP_RPM: remove dangling update_instance declaration 2019-06-04 19:36:57 +09:00
Peter Barker d617904726 AP_Proximity: remove dangling update_instance declaration 2019-06-04 19:36:57 +09:00
Tatsuya Yamaguchi 18a43601cd RangeFinder: Add up to 10 RangeFinder logs 2019-06-04 19:11:11 +10:00
Peter Barker be9df7f600 AP_Logger: add a README.md to help locating units/mults/fieldtypes 2019-06-04 19:00:11 +10:00
Peter Barker b644df14d0 AP_Logger: move documentation for fieldtypes, units and mults to top 2019-06-04 19:00:11 +10:00
Peter Barker 33daef2f33 Copter: merge ArduCopter.cpp and Copter.cpp 2019-06-04 10:41:26 +09:00
Bill Geyer 4492727878 Copter: tradheli-comments added to new Heli Acro code 2019-06-04 09:57:13 +09:00
ChristopherOlson e13ff6c398 Copter: Parameters TradHeli Acro - add description for setting of virtual flybar 2019-06-04 09:57:13 +09:00
ChristopherOlson 8d43e828cf Copter: TradHeli - minor code format fix 2019-06-04 09:57:13 +09:00
Bill Geyer 0c64cdc565 Copter: TradHeli - add virtual flybar to heli acro flight mode 2019-06-04 09:57:13 +09:00
1iggy2 220176f283 Plane: added octa I frame 2019-06-04 09:49:44 +09:00
1iggy2 3c4bac7c97 Copter: added I frame for octa 2019-06-04 09:49:44 +09:00
1iggy2 7323a5da9d AP_Motors: Added Octo I frame 2019-06-04 09:49:44 +09:00
ChristopherOlson fc84995fb9 AP_Motors:Heli - remove H_LAND_COL_MIN and replace with H_COL_MID 2019-06-04 09:48:03 +09:00
Peter Barker fb3f761fc7 AP_UAVCAN: fix redefinition of UAVCAN_NODE_POOL_BLOCK_SIZE warning 2019-06-04 10:25:15 +10:00
Peter Barker cbf6d44277 AP_RCProtocol: fix missing-declaration warning in example 2019-06-04 10:25:15 +10:00
Peter Barker 73c81519da AP_GPS: fix missing-declaration warning in example 2019-06-04 10:25:15 +10:00
Peter Barker 9ee0befb38 Tools: autotest: Copter: add avoidance test for beacon fence 2019-06-04 09:06:07 +09:00
Peter Barker 3008fe6eb5 Tools: autotest: Copter: add test for fence avoidance sliding 2019-06-04 09:06:07 +09:00
Peter Barker acdddb8b1f Copter: autotest: Copter: add test for proximity boundary avoidance 2019-06-04 09:06:07 +09:00
Peter Barker e9160cd9d5 AC_Avoid: correct iteration through edges 2019-06-04 09:06:07 +09:00
Peter Barker cd6e5b48a1 AC_Avoid: move check for zero-desired-velocity into adjust_velocity_polygon
This is the method which divides by the length of this vector; the
check belongs in here.
2019-06-04 09:06:07 +09:00
Vincent 3177d24429 AP_HAL: Make linux hardware define more readable 2019-06-04 10:00:09 +10:00
Peter Barker 3e098df65a Copter: move common proximity pre-arm checks up
It will not be possible to arm if a proximity sensor has been configured
but is not working after this patch.

The can't-arm-when-within-60cm-of-something check can still be disabled
with the PARAMETER arming check bit.
2019-06-04 08:45:34 +09:00
Peter Barker df3a7d32ea Rover: move common proximity pre-arm checks up 2019-06-04 08:45:34 +09:00
Peter Barker bb14ec1a2c AP_Arming: make proximity sensor checks common 2019-06-04 08:45:34 +09:00
Peter Barker 99c56c1770 GCS_MAVLink: fix MAV.txp log field
This was being promoted to an unsigned.
2019-06-04 09:05:37 +10:00
Andrew Tridgell a4c17a3913 Tools: move skip_board_waf after update_submodules in build_binaries
thanks to Peter for noticing this
2019-06-03 21:48:27 +10:00
Andrew Tridgell 1f98665699 moved build.Binaries ahead of build.All
ensure we get new builds out quickly
2019-06-03 17:59:28 +10:00
Andrew Tridgell 0b321eb84c Tools: speed up builds and report build time per build 2019-06-03 17:59:28 +10:00
Peter Barker 9f6b48b743 Copter: remove unneeded initialisation 2019-06-03 16:48:38 +09:00
斯东Stone 70c0ba5722 AP_RangeFinder: Fix typo in Benewake TFMiniPlus python tool 2019-06-02 23:40:21 -07:00
Peter Barker fa150bc982 Copter: remove loop-initialisation of output
Use brace initialisation instead.  This is the only loop in here which
loops over the max number of compasses vs the number of compasses.
2019-06-03 12:54:17 +09:00
Andrew Tridgell e9ed3540f1 AP_NavEKF2: constrain field by table after fusion
this should make for faster convergence
2019-06-03 12:21:29 +10:00
Andrew Tridgell 3835d2613e AP_NavEKF2: added EK2_MAG_EF_LIM parameter
this sets a limit on the difference between the earth field from the
WMM tables and the learned earth field inside the EKF. Setting it to
zero disables the feature. A positive value sets the limit in mGauss.
2019-06-03 12:21:29 +10:00
Andrew Tridgell 7206258587 AP_Compass: use new get_earth_field_ga() API 2019-06-03 12:21:29 +10:00
Andrew Tridgell be62bf32cb AP_Declination: added get_earth_field_ga() interface
this gives a more convenient API for getting the earth field as a
vector
2019-06-03 12:21:29 +10:00