Commit Graph

38891 Commits

Author SHA1 Message Date
Peter Barker 57528b94cf GCS_MAVLink: allow complete() call on subclasses to fail
Also terminate uploads if any error occurs fetching items
2019-08-07 12:07:59 +10:00
Peter Barker cfd7e05257 Tools: build_binaries.py: correct comment on common_boards call 2019-08-07 11:54:04 +10:00
Peter Barker 066a382a3d Tools: build_binaries.py: add omnibusf4 to build target list 2019-08-07 11:54:04 +10:00
Peter Barker 05a48928f8 Tools: autotest: assume Tracker has AP_Stats 2019-08-07 07:57:46 +09:00
Peter Barker e5ea748e7f Tracker: integrate AP_Stats library 2019-08-07 07:57:46 +09:00
Peter Barker d68e8f4cfb Tools: autotest: wait for any message on link before requesting mission count 2019-08-07 08:39:53 +10:00
Randy Mackay 1b533295a8 AR_AttitudeControl: minor comment fixes 2019-08-06 20:00:05 +09:00
Peter Hall 65d8047165 AR_AttitudeControl: fix sailboat heel PID 2019-08-06 20:00:05 +09:00
Peter Barker d99c836360 Tracker: tidy compass offset saving 2019-08-06 17:48:42 +09:00
Peter Barker f896af6800 Tools: autotest: increase timeout waiting for MISSION_COUNT 2019-08-06 18:15:26 +10:00
Randy Mackay 1ef6204c1d Rover: add Randy to maintainer list comment 2019-08-06 17:11:34 +09:00
Peter Barker acf6cb8d75 Tools: autotest: rename clear_mission to clear_mission_using_mavproxy 2019-08-06 17:05:57 +10:00
Peter Barker bca35ac469 Tools: autotest: stop trying to arm Heli in throw mode 2019-08-06 17:05:41 +10:00
Peter Barker c0e8d319c6 Copter: make surface tracking adjust_climb_rate take a float
Its callers all pass in floats and we return a float, so stop going via
an int16_t
2019-08-06 14:09:09 +09:00
Peter Barker b0428f0fe8 Copter: make surface_tracking a class, various functions methods 2019-08-06 14:09:09 +09:00
Peter Barker 6896b7b302 Tools: autotest: improve tests of MISSON_ITEM compatability layer
Tools: autotest: test returned MISSION_ITEM has correct mission_type

Tools: autotest: correct spelling on mission

Tools: autotest: add sanity check for sequence number on returned items

Tools: autotest: add test that we MISSION_ACK for bad MISSION_ITEM seq

Tools: autotest: improve debug on MISSION_COUNT assertion

Tools: autotest: validate returned mission type
2019-08-06 13:58:44 +10:00
Peter Barker 4b012ab62b GCS_MAVLink: deny upload of non-MISSION items if not doing mavlink2 2019-08-06 13:58:44 +10:00
Peter Barker 4e95832433 GCS_MAVLink: send mission acks for bad MISSION_ITEM requests 2019-08-06 13:58:44 +10:00
Peter Barker afd623a6fa GCS_MAVLink: use send_message to send mission items
It is less error-prone to use this new send_message function.

In particular, one of the parameters to these functions was using the
wrong constant when sending a mission item message.
2019-08-06 13:58:44 +10:00
Peter Barker 8fc6e16a4a GCS_MAVLink: fill missing seq and type fields in MISSION_ITEM
GCS_MAVLink: fill mission type in return MISSION_ITEM packets

GCS_MAVLink: fill in return sequence number for MISSION_ITEM messages
2019-08-06 13:58:44 +10:00
Peter Barker 16503f7f25 Tools: autotest: add test for Plane reposition 2019-08-06 12:52:09 +10:00
Peter Barker b2d9d7b6a0 AP_Logger: const-struct many structures, use temp for navekf object 2019-08-06 11:45:04 +10:00
Randy Mackay 13aaf4375b Rover: remove Dodge avoidance
this has been replaced with BendyRuler OA Path Planning
2019-08-06 10:40:00 +09:00
Andrew Tridgell 7fbe7de984 Tools: updated omnibus bootloaders 2019-08-06 11:22:52 +10:00
Henry Wurzburg b6518b6b46 AP_HAL_ChiibOS: change omnibusf4 board type to be unique 2019-08-06 11:20:11 +10:00
murata 0b1987ae36 AP_RangeFinder: Use common hexadecimal to character number conversion method 2019-08-06 10:14:12 +10:00
murata e4455491aa AP_GPS: Use common hexadecimal character to number conversion method 2019-08-06 10:14:12 +10:00
murata a39228c453 AP_Common: Make hexadecimal character number conversion method common 2019-08-06 10:14:12 +10:00
Peter Barker 0dfb1e858c Tools: autotest: remove ineffective sub parameter
This would be SIM_BARO_RND.

Adding randomness by default may make autotests non-repeatable.
2019-08-06 09:39:24 +10:00
Pierre Kancir 1a71519e17 AP_HAL_SITL: add missing header 2019-08-06 09:37:30 +10:00
Pierre Kancir bb13a75e30 Tools: check for feenableexcept on WAF 2019-08-06 09:37:30 +10:00
Pierre Kancir 17c0cf8d5c AP_Common: check for feenableexcept on WAF 2019-08-06 09:37:30 +10:00
Andrew Tridgell 1b775c96f5 Plane: added rangefinder correction by terrain data
allows for landing approach with terrain changes
2019-08-06 09:36:02 +10:00
Bill Geyer c8b547a8e4 Copter: tradheli-remove snprintf statements 2019-08-06 08:24:59 +09:00
Bill Geyer fbf2b62300 AP_Motors: Tradheli - Make H3-120 swashplate the default 2019-08-06 08:24:59 +09:00
Bill Geyer 7ecc368d4f AP_Motors: tradheli - remove white space in param values 2019-08-06 08:24:59 +09:00
bnsgeyer 5eb5277f4c Copter: tradheli-converts swashplate to H3-120 on upgrade based on old params 2019-08-06 08:24:59 +09:00
Randy Mackay 488d1ab60a AC_Avoidance: replace Write_OA with Write_OABendyRuler and Write_OADijkstra 2019-08-06 08:15:45 +09:00
Randy Mackay b666b172c4 AP_Logger: replace Write_OA with Write_OABendyRuler and Write_OADijkstra 2019-08-06 08:15:45 +09:00
Randy Mackay f5a307fb13 AR_WPNav: add speed_min parameter
Should be set to boat's plane speed and ensure vehicle does not slow below this speed in corners
2019-08-05 17:04:43 -06:00
Peter Barker 61ed6e07eb AP_NavEKF3: shorten EKF3 initialisation send-text string
Now:
pbarker@bluebottle:~/rc/ardupilot(master)$ echo -n "EKF3 IMU1 buffers IMU=11 OBS=4 OF=10, dt=0.0120" | wc
      0       7      47
pbarker@bluebottle:~/rc/ardupilot(master)$

Closes #11952
2019-08-05 19:50:32 +10:00
Peter Barker cc742dbfc4 waf: make unused variables an error on C as well as C++ source files 2019-08-05 18:31:58 +10:00
Peter Barker 0805547ba6 Tools: autotest: break out roundtrip_fencepoint_protocol method 2019-08-05 18:31:27 +10:00
Peter Barker 44ccbcf78a Tools: autotest: rename send_clear_mission to clear_mission 2019-08-05 16:49:58 +10:00
Peter Barker 12b9928a56 Tools: autotest: break out a load_fence function 2019-08-05 16:37:08 +10:00
Peter Barker 6347febc9a Sub: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker b7b67f523d Plane: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker 58adb8d7c4 Rover: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker 6f4167b85b Copter: pass format string through to check_failed 2019-08-05 14:18:05 +10:00
Peter Barker 95b8c12454 AP_Arming: mark check_failed as taking a format string 2019-08-05 14:18:05 +10:00