Commit Graph

5727 Commits

Author SHA1 Message Date
Peter Barker
fdbbcaa506 autotest: bump default speedups for several vehicles
These tests seem to run stabley on my box with essentially no speedup
limit
2021-03-24 14:46:48 +11:00
Peter Barker
6f2de67ead autotest: augment delay_sim_time debug 2021-03-24 14:46:48 +11:00
Peter Barker
d9501766c7 autotest: augment delay_sim_time debug 2021-03-24 08:57:03 +11:00
Peter Barker
3035f8dea3 Tools: fix decode_watchdog display of LR,FA and FICSR 2021-03-23 22:49:14 +11:00
Peter Barker
9f15689850 autotest: wait longer for prearm failure in IE24 autotest
we only emit prearm failures every 30 seconds - we just weren't waiting
long enough here
2021-03-23 20:34:47 +11:00
Andrew Tridgell
188e3d6974 AP_Bootloader: save some flash space
gets our largest F4 bootloaders under 16k again
2021-03-23 12:01:20 +11:00
Andrew Tridgell
5b7723d3d0 Tools: make configure_all.py smarter about AP_Periph builds 2021-03-23 12:01:20 +11:00
Andrew Tridgell
3590fe36e8 AP_Bootloader: support dual CAN 2021-03-23 12:01:20 +11:00
Andrew Tridgell
ef16eb56bb AP_Periph: support CAN redundancy
send and recv on multiple CAN interfaces
2021-03-23 12:01:20 +11:00
Andrew Tridgell
50d5fced54 AP_Periph: fixed ESC output
should be range, not angle
2021-03-23 12:01:20 +11:00
Andrew Tridgell
dda69bfcb0 AP_Periph: added ESC_PWM_TYPE
this allows for oneshot and dshot on AP_Periph ESCs
2021-03-23 12:01:20 +11:00
Andrew Tridgell
af64b86c9e AP_Bootloader: support STM32G4 2021-03-23 12:01:20 +11:00
Peter Barker
073a9e3390 autotest: fix frsky passthrough test
Mainly through polling much faster, but also allowing for statustexts in
different orders from frsky/statustext
2021-03-22 18:08:44 +11:00
WillyZehnder
9a8a20f1d2 Tools: environment_install: support Mint 20.1 Ulyssa
Support for Linux Mint 20.1 Ulyssa (currently last version)
based on Ubuntu 20.04 Focal implemented
2021-03-20 10:02:56 +11:00
Michael du Breuil
9abf91c86e AP_Periph: Allow skipping the BatteryInfo model_name
This saves a shocking amount of bandwidth. On a CubeOrange-periph
build sending just baro data and 2 battery info's this results in 25%
less bandwidth being used. (Also given that we still have a instance id,
and can get the CAN node's descriptor in the general case this is not
costing us any information).
2021-03-19 17:35:54 +11:00
Peter Barker
e567cca230 autotest: drain mav before receiving system_time in get_sim_time 2021-03-19 09:46:45 +11:00
Peter Barker
8901efd69d autotest: start and stop MAVProxy for alttype and surface tracking tests
autotest doesn't currently supply terrain tiles, so MAVProxy must be
started
2021-03-19 09:46:45 +11:00
Peter Barker
19e5351631 autotest: start and stop mavproxy for setpoint tests
These work in terrain frame - but autotest won't satisfy terrain
requests yet
2021-03-19 09:46:45 +11:00
Peter Barker
462ac255a3 autotest: start MAVProxy only as needed for testing 2021-03-19 09:46:45 +11:00
Peter Barker
4269cf52a2 autotest: split application of default parameters and defaultfile parameters
ensures all vehicles have LOG_DISARMED
2021-03-19 09:46:45 +11:00
Peter Barker
37efb1cbeb autotest: Copter sim passes default file instead of setting parms
We're now waiting for the vehicle simulation to provide us a heartbeat
for a non-generic frame before considering it good to fly.

Unfortunately, Copter relies on the parameter file to tell it which
frame to use - and we don't apply parameters from parameter files until
after we've checked the heartbeat.

Passing the file into ArduPilot on the commandline means we don't have
this problem.
2021-03-19 09:46:45 +11:00
Peter Barker
dbee2e5d71 autotest: ignore type=0 heartbeat packets on SITL start
Until ArduCopter allocates its motors backend we emit a generic type,
for which there is no mode map in pymavlink.

So don't consider the reboot complete until we see a valid heartbeat.
2021-03-19 09:46:45 +11:00
yaapu
ec15614e11 Tools:autotest: added frsky passthrough autotest for terrain message frame 0x500B 2021-03-18 21:43:48 +11:00
Pierre Kancir
3f204d976e Tools: split coverage script for easier update 2021-03-18 21:33:01 +11:00
Peter Barker
120167f799 autotest: fix fly_square mission
waypoint doesn't change until mission is running
2021-03-18 17:02:06 +11:00
Peter Barker
42eec13f5e autotest: adjust CAN test for lack of MAVProxy 2021-03-18 13:50:57 +11:00
Peter Barker
21c124ab47 autotest: tidy set_parameters
Remove commented code, add more to the verbose option
2021-03-18 11:29:45 +11:00
Stavros Korokithakis
f6fc6d22da autotest: Fix the climb-before-turn test 2021-03-18 07:37:21 +11:00
Pierre Kancir
311a4ed0c7 Tools: correct package_is_installed check 2021-03-17 21:32:30 +11:00
Pierre Kancir
881e42c337 Tools: Give a better chance on default install to get the right package version 2021-03-17 21:32:30 +11:00
roger
b02f868793 Tools: make build installation script compatible with most Linux distros
Signed-off-by: <73884126+ardugitter@users.noreply.github.com>
2021-03-17 21:32:30 +11:00
Samuel Tabor
36428f5074 Tools: Handle repeated add-param-file arguments to sim_vehicle.py. 2021-03-17 19:43:03 +11:00
Pierre Kancir
ebe841ba70 Tools: param_parse: validate empty description and fields 2021-03-17 18:54:53 +11:00
Kawamura
15421c16d1 Tools: add psutil for kill_tasks_psutil in sim_vehicle.py 2021-03-17 18:52:22 +11:00
Peter Barker
da52e5d08c autotest: set SYSID_MYGCS in tests which need it
This was still relying on heartbeats coming from MAVProxy.  As speedup
increased those heartbeats may not come fast enough - and they really
should be coming from autotest as that's who's doing the commanding.

autotest: set SYSID_MYGCS in AFS test

autotest: set SYSID_MYGCS before setGCSfailsafe
2021-03-17 16:02:45 +11:00
Peter Barker
216140b58d autotest: remove un-needed portion of reset_delay_item
Looks like this function evolved and this appendix remained
2021-03-17 14:17:39 +11:00
Lava Chemist
35815a5130 Tools: build_binaries.py : Add FlywooF745 2021-03-17 09:20:04 +11:00
Peter Barker
f7d8994ce1 autotest: move assert_mission_count up, use it 2021-03-17 00:23:05 +11:00
Peter Barker
30c9d4bcf4 autotest: remove pointless loiter switch 2021-03-16 23:33:51 +11:00
Peter Barker
0c7f3d20a4 autotest: fix attitude test
autotest: add a get_messages_frame method

Attempts to get a set of messages as close as reasonable in time.
2021-03-16 14:19:44 +11:00
Stavros Korokithakis
29043d62e9 Add FLIGHT_OPTION to climb before RTL 2021-03-16 11:58:47 +11:00
Lava Chemist
e614c9eeb2 Tools: add bootloader and board types 2021-03-16 11:27:23 +11:00
Peter Barker
4b3adb806c autotest: add test for tailsitter throttle 2021-03-16 10:41:44 +11:00
Hwurzburg
d15e01d390 Plane: fix DO_CHANGE_SPEED airspeed to impact only AUTO and GUIDED modes 2021-03-16 10:09:34 +11:00
Peter Barker
eb702b0f82 Tools: add support for ATTITUDE_QUATERNION 2021-03-13 09:44:12 +11:00
Peter Barker
0414929310 autotest: fix Heli spline waypoint test
Mission isn't round-tripped so make it non-strict
2021-03-13 09:35:22 +11:00
yaapu
3bfa07d35a Tools:autotest, frsky passthrough fix for long status text message test 2021-03-13 00:14:27 +11:00
bugobliterator
5074b6d336 autotest: add test case for GPS ordering
also fix flake8 issues
2021-03-12 16:32:36 +09:00
bugobliterator
48277b43e4 Tools: add autotest for checking GPS ordering 2021-03-12 16:32:36 +09:00
Siddharth Purohit
5657dad3e6 Replay: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00