Commit Graph

46853 Commits

Author SHA1 Message Date
Peter Barker
f0094bac40 autotest: remove copied-in duplicate of pymavlink rotmat 2021-04-03 13:26:06 +11:00
Peter Barker
dfa342a79f autotest: correct rc-values-good debug 2021-04-03 08:59:14 +11:00
Peter Barker
7d9daccdf7 autotest: fix mavproxy switch test
The order in which we fix the environment means that we need to be
listening on the correct port for rc values - so just fix it in the test
2021-04-03 08:58:52 +11:00
Peter Barker
d384ba6585 autotest: increase time permitted for Copter to turn east
Sometimes they turn almost 360 which takes a while
2021-04-02 21:29:43 +11:00
Peter Barker
2c6bdd200c autotest: fix make_safe_filename for Valgrind
Valgrind treats this as a format string so the % is bad
2021-04-02 20:51:18 +11:00
Peter Barker
18ded114ae Tools: param_metadata; stop prettifying XML before emitting
indent is not available on our documentation server:

[build_parameters.py]
Traceback (most recent call last):
  File "./param_parse.py", line 422, in <module>
    do_emit(XmlEmit())
  File "./param_parse.py", line 415, in do_emit
    emit.close()
  File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
    etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Peter Barker
018b1425ce AP_AdvancedFailsafe: remove APM from description 2021-04-01 22:49:34 +11:00
Peter Barker
cee348d082 Tools: make and declare bisect-helper.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
ee79895a4e Tools: make and declare examples.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
79d34b3b64 Tools: make and declare build_binaries.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker
fff4aa8bde autotest: increase allowed time for climb_before_turn to get home 2021-04-01 19:11:31 +11:00
Josh Henderson
fb789a07ce AC_WP_Nav_OA: origin_loc & dest_loc should use _terrain_alt_oabak 2021-04-01 14:44:40 +09:00
Sergey Bokhantsev
ef95bf088c AP_Motors: Constrain get_throttle_hover value with allowed range 2021-04-01 13:06:02 +09:00
Peter Barker
f988064e48 Tools: add a tool to help determine best speedup for autotest 2021-04-01 11:27:17 +11:00
Peter Barker
d2c00f7b26 autotest: ensure RC thread is killed after each run_test
Every run_test starts a thread.  del is not being called.  So clean it
up in the caller
2021-04-01 11:00:54 +11:00
Peter Barker
500679ec5b autotest: correct creation of default parameters
Simulation won't start if nothing is connected to 5760 - so just connect
mavproxy there
2021-03-31 23:29:47 +11:00
Samuel Tabor
a301808e7a SITL: Add parsing of airspeed to SIM_JSON 2021-03-31 19:26:02 +11:00
Iampete1
0b8cdaf392 AP_Scripting: add mission command receve function, binding and example 2021-03-31 19:23:13 +11:00
Iampete1
849ad8c6de AP_Mission: support MAV_CMD_DO_SEND_SCRIPT_MESSAGE 2021-03-31 19:23:13 +11:00
Iampete1
82228469c8 AP_Scripting: add reset_remianing battery binding 2021-03-31 19:21:59 +11:00
Iampete1
9fdceeded3 AP_BattMoniter: add reset remaining per-instance rename existing to _mask 2021-03-31 19:21:59 +11:00
Iampete1
0fe38da522 GCS_MAVLink: rename battery reset function 2021-03-31 19:21:59 +11:00
Randy Mackay
d343c569c2 AP_Arming: check for only first compass being disabled
If only the first compass is disabled, users may expect other enabled compasses to be used but they won't be
2021-03-31 19:16:01 +11:00
Randy Mackay
64c4b6a42b AP_Compass: remove unused set_use_for_yaw 2021-03-31 19:16:01 +11:00
Ari Krupnik
c6bf7475f2 Rover: fixing typo in comment 2021-03-31 16:31:13 +11:00
Peter Barker
ba972b6b46 autotest: fix --map option 2021-03-31 16:30:25 +11:00
Peter Barker
d621fe0cde autotest: correct sub gripper mission
Ordinarily not run because gripper is disabled
2021-03-31 13:43:31 +11:00
Peter Barker
e8f96efe72 autotest: wait for stats initialisation before rebooting
If the RTC time we reset parameters (STAT_RESET) is zero then we reset all parameters.

In SITL we only set that time if we see a GPS due to the AP_RTC RTC_TYPES parameter default bitmask value of 1

So if you reboot SITL fast enough while STAT_RESET is zero you can see that STAT_BOOTCNT does not increase. Easily reproducible in SITL; start with -w and type reboot in several times before SITL sees the GPS come up and you can see STAT_BOOTCNT doesn't increase.

Fix is to ensure STAT_RESET is non-zero before rebooting.
2021-03-31 13:33:39 +11:00
Peter Barker
40bc087359 Blimp: correct compilation for do_aux_function sig change 2021-03-31 13:27:07 +11:00
Andrew Tridgell
46f35a6910 AP_Baro: work around bad WHOAMI read on DPS310
this fixes an issue with bad read of WHOAMI on a mRoPixracerPro. We
don't know how the sensor gets in a state where WHOAMI can't be read,
but toggling CS does fix it
2021-03-31 13:26:52 +11:00
Michelle Rossouw
ded488fd9f Blimp: Remove most commented out code and other cleanups 2021-03-31 12:27:07 +11:00
Andrew Tridgell
9683647fd1 waf: added blimp target 2021-03-31 12:27:07 +11:00
Michelle Rossouw
cd18e16ffb autotest: added blimp simulator type 2021-03-31 12:27:07 +11:00
Michelle Rossouw
7d42c3c834 SITL: Added simple blimp simulator 2021-03-31 12:27:07 +11:00
Michelle Rossouw
ac893b4013 AP_Vehicle: added blimp vehicle type 2021-03-31 12:27:07 +11:00
Michelle Rossouw
8bc0f100a2 AP_Param: added blimp frame type 2021-03-31 12:27:07 +11:00
Michelle Rossouw
d06161e8ee AP_HAL_SITL: Added support for blimp simulator 2021-03-31 12:27:07 +11:00
Michelle Rossouw
b98bbcb678 Blimp: initial implementation of blimp vehicle type 2021-03-31 12:27:07 +11:00
Peter Barker
30ebe6cde9 autotest: augment test DO_AUX_FUNCTIION test for FAILED AND DENIED 2021-03-31 11:36:09 +11:00
Peter Barker
b245b027f7 Rover: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
cb8ca17035 ArduPlane: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
ce9800e597 ArduCopter: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
e5a8acb227 RC_Channel: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
115e895c82 GCS_MAVLink: return MAV_RESULT_FAILED from do_aux_function if invalid function 2021-03-31 11:36:09 +11:00
Peter Barker
30539ac8ac RC_Channel: add method on RC_Channels to execute aux function 2021-03-31 11:36:09 +11:00
Peter Barker
d4a0222f76 AP_Mission: allow an auxillary function to be triggered as a DO command 2021-03-31 11:36:09 +11:00
Peter Barker
b2f47ba367 autotest: add test for auxilliary functions in missions 2021-03-31 11:36:09 +11:00
Peter Barker
b55094fef4 autotest: Test triggering Auxillary Functions via mavlink 2021-03-31 11:36:09 +11:00
Peter Barker
2d61ded1f3 GCS_MAVLink: add option to execute auxillary functions via mavlink 2021-03-31 11:36:09 +11:00
Manny Rodriguez
369e11c662 Tools: added name to GIT_Success.txt
from tutorial (https://ardupilot.org/dev/docs/git-branch.html), step #6
2021-03-31 08:28:41 +09:00