Commit Graph

6726 Commits

Author SHA1 Message Date
Peter Barker 62fe90caa1 autotest: add more convenience methods for checking received data 2022-04-03 09:35:09 +10:00
Henry Wurzburg 3cc75ecd38 Tools: add blimp as vehicle option in sim_vehicle 2022-04-02 14:58:53 +11:00
Randy Mackay b6af126514 Tools: relax rover sprayer test
vehicle's speed is slightly lower when using SCurve navigation
2022-03-30 15:34:14 +09:00
Randy Mackay ea5e3a8ae0 Tools: rover autotests send position-target-global-int more slowly
SCurves do not work with very fast changes of target
2022-03-30 15:34:14 +09:00
Randy Mackay 8ff6972b7e Tools: rover autotest DriveRTL timeout increased by 10sec 2022-03-30 15:34:14 +09:00
Andy Piper 2e52496432 bootloaders: update spracing h7 extreme bootloader 2022-03-29 10:39:35 +11:00
bugobliterator df95b1ee13 Tools: modify scripts to allow vcan iface to have CANFD supported 2022-03-27 06:07:34 -07:00
bugobliterator 7770c960c9 waf: add support for CANFD in SITL 2022-03-27 06:07:34 -07:00
Peter Barker 05be2ac8c9 autotest: print mag cal progress messages when testing mag cal 2022-03-26 11:17:14 +11:00
Peter Barker 79098d1d10 autotest: correct diagnostic message symlink->link 2022-03-26 11:16:55 +11:00
Peter Barker 7a62b5429b autotest: add test for landing speed 2022-03-23 21:07:05 +11:00
Andrew Tridgell 3f865ba102 web: changed from '3DR' to 'SiK'
these radios have not been sold by 3DR for a long time
2022-03-23 19:23:17 +11:00
bugobliterator 7f5dc33e7e AP_Periph: allow can_printf as periph member method as well 2022-03-23 18:59:43 +11:00
Andrew Tridgell 33b7f8f46e Tools: rebuild IO firmware 2022-03-22 10:30:35 +11:00
Pierre Kancir 699651e306 Tools: add pexpect on Arch env 2022-03-22 09:08:06 +11:00
Pierre Kancir e704e84bf9 Tools: fix package install on Python2 2022-03-22 09:08:06 +11:00
bugobliterator 95b69ba1fd AP_Bootloader: add board type CubeOrangePlus 2022-03-20 07:23:10 -07:00
Peter Barker 6b48a8df02 Tools: correct antennatracker name in size_compare_branches.py 2022-03-20 21:46:45 +11:00
Andrew Tridgell 62db423758 Tools: update MatekL431 bootloaders 2022-03-19 12:06:04 +11:00
mateksys b3f7556ac2 Tools: add MatekL431 bootloader 2022-03-19 12:06:04 +11:00
Andrew Tridgell 994e1e0c0a AP_Periph: mark version as 1.4.0dev 2022-03-18 21:16:13 +11:00
Andrew Tridgell 59456b4f82 AP_Periph: updated release notes for 1.3.0 2022-03-18 21:14:07 +11:00
Andrew Tridgell 116c692e2b AP_Periph: rename ReleaseNotes.txt
be consistent with plane and copter
2022-03-18 21:14:04 +11:00
Peter Barker 4c8fc3bcaf waf: split AP_HAL_SITL and AP_SIM_ENABLED 2022-03-17 14:39:55 +11:00
Joshua Henderson fcb0538fef autotest: common check_mission_items_same loosen z to 1E-3 2022-03-16 18:41:52 +11:00
Peter Barker a19fa24ccd Tools: test_build_options.py: add bin mappings for all vehicles 2022-03-15 11:44:45 +11:00
Andy Piper 6c74c5d4da scripts: add KakuteH7 and KakuteH7-bdshot. 2022-03-15 10:18:58 +11:00
Andy Piper 38f7c306bc bootloaders: bootloader for KakuteH7-bdshot 2022-03-15 10:18:58 +11:00
Peter Barker 1a58b3b025 waf: disable airspeed on sitl_periph_gps 2022-03-15 08:52:37 +11:00
Peter Barker 573cb0494d autotest: set RL_AUTOLAND=1 for more tests 2022-03-14 09:52:41 +11:00
Andrew Tridgell 46a7f2cc4b autotest: adjust for RTL_AUTOLAND failure 2022-03-14 09:52:41 +11:00
bugobliterator 29673de4f3 AP_Periph: add parameters for setting up FD Bitrates 2022-03-11 18:13:54 +11:00
bugobliterator 47e710c21a waf: enable tao option for sitl_periph_gps 2022-03-11 18:13:54 +11:00
bugobliterator 1f6c380f69 AP_Bootloader: add value for extra argument in encode methods 2022-03-11 18:13:54 +11:00
bugobliterator 79f55e7aad waf: enable option for setting TAO state 2022-03-11 18:13:54 +11:00
Siddharth Purohit 8a8de73d89 AP_Periph: add support for CANFD trx 2022-03-11 18:13:54 +11:00
Siddharth Purohit 5e54871d82 ardupilotwaf: set flags for CANFD support as applicable 2022-03-11 18:13:54 +11:00
bugobliterator 068208e4d7 AP_Periph: add debug option for hold in bootloader after 15s 2022-03-11 18:13:54 +11:00
Peter Barker e94f28c81d Tools: build_options.py: make and assert it flake8-clean 2022-03-11 13:17:27 +11:00
Peter Barker bac20bd876 autotest: board_list.py: correct autobuild target name for Tracker
We're using the shortened name throughout
2022-03-11 09:46:43 +11:00
Peter Barker ee138e6b3c Tools: remove Solo Cubes and skyvipers from blacklist 2022-03-11 09:14:08 +11:00
Peter Barker 9eb5c93c55 Tools: board_list.py: build Sub binaries 2022-03-10 21:06:44 +11:00
Peter Barker a2057b752d Tools: build_options.py: fix syntax error 2022-03-10 18:56:01 +11:00
MallikarjunSE c690efb033 Tools: Rename board 2022-03-10 08:29:51 +11:00
Andrew Tridgell b9d96ad148 Tools: update runplanetest.py
added prearm check and cope with python3
2022-03-10 07:34:20 +11:00
Andrew Tridgell 431330c651 Tools: added SFO_Bay location 2022-03-10 07:34:20 +11:00
Andrew Tridgell 6fcf85edb8 autotest: more changes for plane disarm disallow 2022-03-09 17:13:45 +11:00
Andrew Tridgell a98e913a2a autotest: flake8 warning fixes 2022-03-09 17:13:45 +11:00
Andrew Tridgell e6bbd7f548 autotest: adjust for arming change in plane
expect disarm to fail when airmode on
2022-03-09 17:13:45 +11:00
Andrew Tridgell 693022d344 Tools: add AntennaTracker to builds list
for completeness, and time monitoring
2022-03-08 14:36:42 -08:00
Henry Wurzburg ca9e3e95a8 Tools: add build option for Rangefinders 2022-03-08 14:33:38 -08:00
Willian Galvani 1ab7eeb25f Tools: util.py: fix comment for reltopdir() 2022-03-08 14:29:29 -08:00
Michael Oborne a7a903e110 CPUInfo: add DSP 2022-03-08 14:26:57 -08:00
Andrew Tridgell 0853accea1 AP_Periph: fixed moving baseline yaw for single CAN peripherals
the AP_GPS_UAVCAN driver requires this param for auto-config of MB yaw
on DroneCAN GPS
2022-03-09 07:52:42 +11:00
Andrew Tridgell da950952a5 Tools: added HolybroG4_GPS bootloader 2022-03-09 07:51:35 +11:00
m 37abfb98dc autotest: Copter Pause/Continue in AUTO and GUIDED modes with SCurves 2022-03-08 13:12:36 +09:00
Peter Barker f2fe55b5da autotest: correct exception handling for Python 3.10 2022-03-07 19:36:05 +11:00
Andrew Tridgell 452121eca1 Tools: fixed env install for ubuntu 22.04 2022-03-07 11:58:20 +11:00
Peter Barker c27e3f0c35 test_build_options.py: emit size savings from disabling features 2022-03-05 21:27:25 +11:00
Peter Barker 3ad10d7077 Tools: convert test_build_options to an object 2022-03-05 21:27:25 +11:00
Peter Barker 3fa12152f6 autotest: add tests for high latency control protocol 2022-03-05 11:08:30 +11:00
Peter Barker cb6f9ea6a1 Tools: allow specification of AUTOBUILD_TARGETS in hwdef files 2022-03-03 09:03:17 +11:00
Iampete1 6ac661c6ce Tools: ardupilotwaf: add AP_CustomRotations 2022-03-02 18:16:42 +11:00
Andy Piper 587254e5a5 bootloaders: update BeastH7v2 bootloaders 2022-03-02 15:46:17 +11:00
Evgeniy 74bbf1bd9e Tools: BeastH7v2 board added 2022-03-02 15:46:17 +11:00
Andrew Tridgell 7470920dc6 Tools: switch compiler for new releases to 10.2
only sub stable and beta on old compiler
2022-03-02 11:25:09 +11:00
Peter Barker 1321a66d97 Replay: include cleanups 2022-03-01 11:21:33 +11:00
Andy Piper fdaaa589e5 waf: move external flash binaries to regular name to aid publishing 2022-03-01 11:15:52 +11:00
Henry Wurzburg b3af8221be Tools: clarify and simplify RC failsafe messages 2022-03-01 11:05:15 +11:00
Peter Barker 850227ffdb autotest: add test for THR_FAILSAFE==2 and throttle output 2022-03-01 10:29:37 +11:00
Peter Barker 122d97ece7 autotest: add comment clarifying what an error actually means 2022-02-28 12:47:57 +11:00
Peter Barker 7bb13e934d autotest: add support for multi-line log formats 2022-02-28 12:47:57 +11:00
Peter Barker f79c43eebd Tools: build_binaries.py: ensure existence of buildlogs dir
If buildlogs didn't exist then the sqlite database creation would fail.

This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
murata 53d8d9b58e Frame_params: Add DJI AGRAS MG-1 2022-02-26 08:28:45 +09:00
Peter Barker e6c1bc2402 autotest: fix MAVFTP test 2022-02-26 10:11:19 +11:00
Peter Barker 3f7e120a67 autotest: add test for terrain_check 2022-02-25 09:28:04 +11:00
Peter Barker 62efb470f6 autotest: change fly_terrain_mission test name 2022-02-25 09:28:04 +11:00
Andy Piper b10d6f6ce9 bootloaders: update SPRacingH7 bootloaders. 2022-02-24 10:19:07 +11:00
Andy Piper b32638b29e AP_Bootloader: allow flash to be unprotected from the bootloader 2022-02-24 10:19:07 +11:00
Peter Barker f199f8be10 autotest: add more parachute tests 2022-02-24 09:20:31 +11:00
Peter Barker e312c3de30 Tools: correct copying of binary files under Python3 2022-02-23 23:38:14 +11:00
Peter Barker e0e84880b2 Tools: add facility to print stack traces 2022-02-23 23:38:14 +11:00
Peter Barker 69e0e544d1 autotest: loosen constraints on AccelCal test 2022-02-23 18:50:28 +11:00
Andrew Tridgell 6b962ae48b CI: added ccache test 2022-02-23 12:36:59 +11:00
Andrew Tridgell ad88f3e1e8 waf: added --save-temps configure option
linking fails with this option, but the ii files are produced, which
is what is needed for diagnosing cache issues
2022-02-23 12:36:59 +11:00
Andrew Tridgell 335ab3aac1 AP_Periph: fixed build 2022-02-22 12:13:19 +11:00
Andrew Tridgell 1ba5e33474 AP_Bootloader: fix for include changes 2022-02-22 12:13:19 +11:00
Andrew Tridgell 94d02faf37 AP_Periph: fixed build for include changes 2022-02-22 12:13:19 +11:00
Andrew Tridgell d07d5a7082 waf: removed g++ command line differences between similar boards
don't put board name on g++ command line
2022-02-22 12:13:19 +11:00
Diego bcf3f22375 Tools: added name to GIT_Success.txt 2022-02-21 16:44:08 +09:00
Peter Barker 50c7576506 autotest: add log download tests for dataflash-over-mavlink
You can't download logs - but we should make sure that the codepaths are
at least crossed
2022-02-20 15:39:24 +11:00
Andrew Tridgell 2c50ea56e8 AP_Bootloader: raise timeout on FileRead calls
this is needed to make it possible to update firmware over 56k SiK
radios using CAN_FRAME
2022-02-19 18:24:56 +11:00
Peter Barker 001a06d17d autotest: add tests to a pair of lua scripts 2022-02-18 21:23:06 +11:00
Andrew Tridgell 3a59002bf1 Tools: updated CAN bootloaders for px4 fw update compat 2022-02-17 14:37:41 +11:00
Andrew Tridgell 16725f2dd4 AP_Bootloader: support ALT_BOARD_ID 2022-02-17 14:37:41 +11:00
Andrew Tridgell 432c2d1758 AP_Bootloader: support firmware update from px4 firmware
allows droncan_gui_tool to update px4 firmware with ArduPilot
bootloader
2022-02-17 14:37:41 +11:00
Bob Long bb30bb7b46 SITL: add locations of RealFlight airports 2022-02-17 10:12:50 +11:00
Peter Barker 17915faa98 autotest: add test for proximity sensors 2022-02-17 09:23:29 +11:00
Nathan Costa a867e04116 AP_Periph: airspeed add support for CAN/I2C switch and LED 2022-02-16 13:25:58 +11:00
Peter Barker c781897e52 Tools: powr_change.py also prints AccFlags changes 2022-02-16 10:07:56 +11:00
Peter Barker de1c2ed598 Tools: add powr_change.py
Simpler to work out what's gone wrong in a log this way:

pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$ ./powr_change.py /tmp/00000109.BIN
1644894818: Creating connection
2022-02-14 00:30:25.91:  +MAV_POWER_STATUS_BRICK_VALID +MAV_POWER_STATUS_SERVO_VALID
2022-02-14 00:33:15.46:  +MAV_POWER_STATUS_CHANGED
2022-02-14 00:33:34.96:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:33:35.06:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.86:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:16.96:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.46:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:38.56:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:40.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.45:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:41.55:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.85:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:45.95:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:47.15:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.25:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:48.35:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.75:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:49.85:  -MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:34:51.05:  +MAV_POWER_STATUS_PERIPH_OVERCURRENT
2022-02-14 00:38:01.89:  -MAV_POWER_STATUS_CHANGED
pbarker@bluebottle:~/rc/ardupilot/Tools/scripts(master)$
2022-02-16 10:07:56 +11:00
Andy Piper a34f8e1b8d scripts: add SPRacingH7 to manifest files and CI build 2022-02-15 11:32:52 +11:00
Andy Piper e88ad24ab5 bootloaders: add SPRacingH7 bootloader 2022-02-15 11:32:52 +11:00
Peter Barker 376d7ade50 autotest: use assert_receive_message to remove redundant code 2022-02-15 11:06:10 +11:00
Willian Galvani 77f9d4fdba Tools: scripts: build_ci.sh: validate firmware fwversion with firmware_version_decoder.py 2022-02-15 10:38:28 +11:00
Willian Galvani 55d8ba647c Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI 2022-02-15 10:38:28 +11:00
Peter Barker 0cd5bdebfb autotest: reduce Copter speed requirement in DO_CHANGE_SPEED 2022-02-15 08:29:10 +09:00
Peter Barker fdae5f3ccc autotest: correct wait_groundspeed method 2022-02-14 14:07:47 +11:00
Peter Barker dc312260de autotest: add test for DO_CHANGE_SPEED 2022-02-14 14:07:47 +11:00
Randy Mackay 61871b1d7b Tools: disable Plane Landing-Drift test 2022-02-12 08:28:44 +09:00
Randy Mackay 10f4500584 Tools: remove SPORT from autotests 2022-02-11 16:11:39 +09:00
Patrick José Pereira 4525627664 Tools: scripts: Update firmware version decoder
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-02-11 09:21:00 +11:00
Andrew Tridgell e56fbfd69b Tools: update IO firmware 2022-02-11 08:10:25 +11:00
Andy Piper 10d99a52eb AP_Bootloader: allow external flash load in middle 2022-02-09 12:47:55 +00:00
Andy Piper 960c0d0f8b scripts: allow more time for external flash verification
create ssbl uploader script for SPRacingH7
2022-02-09 12:47:55 +00:00
Andy Piper 3f7a726970 waf: add linker map on linking 2022-02-09 12:47:55 +00:00
Andy Piper f6c07df162 Tools: make CPUInfo test fairer, add data for external flash
fix CPUInfo on linux
make cache disabling optional in CPUInfo
2022-02-09 12:47:55 +00:00
Andy Piper 55db600c10 bootloaders: add DevEBoxH7v2 bootloader for external flash 2022-02-09 12:47:55 +00:00
Andy Piper 46ae9d2c34 autotest: TasksV1 -> TasksV2 2022-02-09 12:47:55 +00:00
Andy Piper 2beb9cfc7d waf: rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB 2022-02-09 12:47:55 +00:00
Peter Barker a7d3324759 autotest: increase timeout while under Valgrind 2022-02-09 22:20:31 +11:00
Peter Barker e3631aca91 autotest: print distance remaining while waiting for current wp 2022-02-09 19:27:21 +11:00
Peter Barker 13d5b00a22 autotest: increase timeout in Baro-Drift test
timeout was being hit on the autotest server

Also wait_disarmed isntead of wait for statustext You get a bit more information about what's going on this way
2022-02-09 19:27:21 +11:00
Peter Barker 410507d54d waf: include integer version of GIT_VERSION (hash) 2022-02-09 18:32:38 +11:00
Peter Barker a897fbc6db locations.txt: add KalaupapaCliffs and LakeGeorgeLookout
good for large differences in terrain vs home alt
2022-02-09 17:01:07 +11:00
Peter Barker c12e0fa3af autotest: reset rather than reboot if required on test fail 2022-02-09 17:01:07 +11:00
Samuel Tabor dbc63f7b0d autotest: Improve Landing-Drift 2022-02-08 13:25:17 +11:00
Peter Barker b45680c9ee Tools: update build_autotest.sh to reflect server content
these times have had to move out as our builds are taking a long time
now
2022-02-08 12:08:17 +11:00
Peter Barker a81a1fb19f Tools: build ArduPilot against all.xml not ardupilotmega.xml 2022-02-08 11:00:41 +11:00
Peter Barker d086b5e9fc autotest: add test for DO_CHANGE_ALTITUDE 2022-02-08 10:59:13 +11:00
Peter Barker b7df2bce5f Tools: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Joshua Henderson 2ea33324a0 AP_Periph: add define for BARO_ENABLE 2022-02-08 10:41:02 +11:00
Joshua Henderson de4727ed87 Bootloaders: add f405-MatekAirspeed 2022-02-08 10:41:02 +11:00
Gone4Dirt a11634e1e8 Tools: autotest: quadplane: add weathervane test 2022-02-08 10:38:16 +11:00
RuffaloVM 0a98561a9d Autotest : correct spelling on ardupilot 2022-02-07 21:20:48 +11:00
Peter Barker 6eba851b00 Revert "Tools: update reltopdir function to use relpath()"
This reverts commit 392911fc62.
2022-02-07 14:13:08 +11:00
Bill Geyer 12210f9066 Tools: tradheli-change param name from _VFF to _FF 2022-02-04 08:03:38 +09:00
Tatsuya Yamaguchi 08438c30a6 Tools: autotest for takeoff altitude 2022-02-03 21:33:05 +11:00
Willian Galvani 5cb1444b1d Tools: use path relative to current directory to load parameters 2022-02-02 08:37:17 -08:00
Joshua Henderson b3e78e1e8d ardupilotwaf: grouped_program use nested dicts 2022-02-02 19:36:39 +11:00
Joshua Henderson 0339f09b07 AP_Periph: use AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2022-02-02 18:45:59 +11:00
Willian Galvani 6e91ae554a Tools: use relative paths for parameter files 2022-02-01 17:35:26 +11:00
Willian Galvani 392911fc62 Tools: update reltopdir function to use relpath() 2022-02-01 17:35:26 +11:00
Willian Galvani 2b9d56c252 Tools: embed default.param files for Linux boards 2022-02-01 17:35:26 +11:00
Hwurzburg 9c91e3c793 Tools: update option names in BATTMonitor in prep for expansion 2022-02-01 12:35:03 +11:00
Marek Šuppa 49e88b7aea Tools: add missing comma to sim_vehicle.py
* Add missing comma in `sim_vehicle.py`.

Signed-off-by: mr.Shu <mr@shu.io>
2022-01-31 08:54:01 +09:00
Andrew Tridgell df9f4fcddc Tools: update IO fw with larger SBUS frame gap 2022-01-29 15:09:29 +11:00
Randy Mackay d1bf4f1c1e Tools: autotest for OpticalFlowCalibration 2022-01-29 08:26:12 +09:00
Bill Geyer 2d81e01b10 Tools: improve tradheli sitl default params 2022-01-26 22:15:09 -05:00
Andrew Tridgell c2dd7f4c9e AP_Periph: fixed LED setup call 2022-01-27 08:26:47 +11:00