Commit Graph

6308 Commits

Author SHA1 Message Date
Peter Barker 2dd392ec4b autotest: read pexpects while waiting for sim time
If we do not drain pexpects regularly the ardupilot process can become blocked on terminal IO
2021-11-07 09:59:12 +11:00
Peter Barker bb973ac913 autotest: print content of sitl /proc/PID/status on death
Mysterious death ofi Copter in CI - add more debug
2021-11-06 17:22:52 +11:00
Peter Barker f86b2c1051 autotest: add sanity check that sim time is updating 2021-11-06 17:22:52 +11:00
Randy Mackay 3b34087977 Tools: DeSET mapping boat default parameters
This frame will be added as a reference frame to the wiki
2021-11-05 22:42:12 +09:00
Peter Barker b6293acbce autotest: tweak how we make gps bad in fallback test 2021-11-05 23:18:11 +11:00
Andrew Tridgell f0a4e6e55b Tools: added Pixhawk5X bootloader 2021-11-05 14:30:43 +11:00
Andrew Tridgell 8a6a47aa3f Tools: autobuild Pixhawk5X 2021-11-05 14:30:43 +11:00
Andrew Tridgell dfd2686878 Tools: fixed uploader.py for px4 bootloader
by fetching ext flash info before we get IDs the bootloader is left in
a state where it accepts an erase and upload
2021-11-05 14:30:43 +11:00
Andrew Tridgell 350de066a5 Tools: recognise Auterion bootloader string 2021-11-05 14:30:43 +11:00
Peter Barker 8de7261c67 autotest: sim_vehicle.py: add --auto-offset-line
Simplifies spawning multiple instances.
2021-11-04 17:01:09 -07:00
Peter Barker e7b30a0085 sim_vehicle.py: correct setting of udpclient ports 2021-11-04 17:01:09 -07:00
Peter Barker 856fe6a1fb autotest: sim_vehicle: neaten sanity check for sysid 2021-11-04 17:01:09 -07:00
Peter Barker 4d5411b42f autotest: sim_vehicle: correct AP commandline for multicast/udpclient 2021-11-04 17:01:09 -07:00
Michael Day 93e6c1a920 Tools: sysid cannot be run together with auto-sysid
Added per @peterbarker suggestion
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-11-04 17:01:09 -07:00
Arash Negahdar d065515b2a Tools: Use a single MAVProxy instance in sim_vehicle
With the implementation of the 'alllinks' command in MAVProxy, and the
exposure of the SYSID parameter this becomes feasible

        Tools: Fix mcast handling
2021-11-04 17:01:09 -07:00
Arash Negahdar 49af90a70e Tools: Set SYSID based on instance number in sim_vehicle.py 2021-11-04 17:01:09 -07:00
Peter Barker 56dda4c07f autotest: fix race condition in Rover gcs mission test 2021-11-05 09:07:19 +11:00
Josh Henderson 32e628f267 Tools: size_compare_branches.py add -vehicle option 2021-11-04 19:57:27 +11:00
Buzz 854266dc78 ESP32: drop submodule and add script to get it as a clone and/or submodule
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Peter Barker d0872abdf9 autotest: FETtec tests: give vehicle a chance to realise ESCs are dead
Should remove the race condition where we disable an ESC but the vehicle
doesn't realise and lets the vehicle arm.

Also, waiting this long causes the ESCs to just go missing, not give a
telemetry failure
2021-11-02 09:39:17 +11:00
Buzz 228fafeffe Tools: add esp32 support
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
bugobliterator c6cacee960 Tools: update readme to include Hardfault debugging steps 2021-10-30 20:30:14 +11:00
bugobliterator 1a996aa6f9 Tools: fix crash logging using gdb dump 2021-10-30 19:24:57 +11:00
bugobliterator 6adfcd4957 waf: disable building CrashCatcher for non 2M boards 2021-10-30 19:24:57 +11:00
bugobliterator 94cb546ff0 Tools: add support for parsing crash dumps directly 2021-10-30 19:24:57 +11:00
bugobliterator eee7e6cadf waf: add defines for use in CrashCatcher Flash dump 2021-10-30 19:24:57 +11:00
bugobliterator 06725ed68a Tools: add crash_debugger script to fetch and parse HardFault crashes 2021-10-30 19:24:57 +11:00
bugobliterator c5dd02fb2b waf: compile in crash catcher library 2021-10-30 19:24:57 +11:00
Andy Piper 7daa276769 waf: stricter lua bindings build processing 2021-10-28 07:19:16 +11:00
Andrew Tridgell 8f591a853b Tools: run submodule fix 3 times 2021-10-27 06:24:41 +11:00
Andrew Tridgell e94fdac91f Tools: rename uLanding simulation to USD1 2021-10-26 15:31:12 +11:00
Peter Barker 76859c8386 Tools: add option to configure-all to write all hw configs out 2021-10-26 15:28:19 +11:00
Andy Piper 6672577f6e waf: make sure APM_BUILD_DIRECTORY is defined for APM_BUILD_COPTER_OR_HELI and lua 2021-10-26 11:42:12 +11:00
Iampete1 bc7c5c24da Tools: autotest: quadplane: reboot for tailsitters and allow longer time for disarm 2021-10-26 10:03:00 +11:00
IamPete1 1e09e79617 Tools: autotest: add copter tailsitter and params 2021-10-26 10:03:00 +11:00
Peter Barker 7f125312f3 autotest: disable flapping GroundEffectCompensation_takeOffExpected test
This test is flapping.  More often now.
2021-10-25 14:09:22 +11:00
Andrew Tridgell 8f90d6f83f git: added a easy script for fixing submodule issues
this fixes the DSDL DroneCAN issue. Run
Tools/gittools/submodule-sync.sh
2021-10-23 21:32:48 +11:00
Andrew Tridgell a50120cec3 CAN: switched to DroneCAN DSDL and libuavcan 2021-10-23 21:13:07 +11:00
Peter Barker 754192ff26 autotest: improve gps-for-yaw test
There are flag values in the mavlink definitions for this message, so
make sure we get something approaching the right number.
2021-10-21 12:09:21 +11:00
Peter Barker 5cf62e8fb3 autotest: tweak soaring test SOAR_VSPEED
This is right on the edge on master
2021-10-21 12:09:21 +11:00
Peter Barker b9a4902aa6 autotest: let system settle before annoying
Also fly in circles to avoid long flight home
2021-10-21 12:09:21 +11:00
Peter Barker fda0d16475 autotest: correct loiter-requires-position test for new SIM_GPS simulation
sitl_gps was sending out ubx packets even if the device was supposed to
be absent, allowing the EKF to get a lag and thus allocate its buffers.

The new sim doesn't do that, so we do need to direct the EKF to not use
the GPS.
2021-10-21 12:09:21 +11:00
Peter Barker 99126d3cc7 autotest: add autotest for getting yaw from moving-baseline GPS setup 2021-10-21 08:34:36 +11:00
Peter Barker 2f90abd7ea autotest: raise an exception in the case we don't load a parameters file 2021-10-21 08:34:36 +11:00
Andrew Tridgell bebb722d02 waf: improve error messages for lack of dsdlc and empy 2021-10-20 19:05:01 +11:00
Shiv Tyagi 20ce9ade07 Tools: scripts : parse blimp parameters 2021-10-20 14:22:48 +11:00
Randy Mackay 37dbbc7ed3 Tools: add AP_Torqeedo to ardupilotwaf.py 2021-10-19 01:30:51 -04:00
Andrew Tridgell 712df2eb03 Tools: auto-build QiotekZelotH743 2021-10-19 08:17:43 +11:00
QioTek 2fb3ceebb7 Tools: added QioTekZealotH743 bootloader 2021-10-19 08:17:43 +11:00
Peter Barker 7cea90df98 Tools: fix --accuracy option to check_replay.py
args is not in-scope when check_replay is being used as a library rather
than as a script
2021-10-19 08:15:15 +11:00