Commit Graph

7533 Commits

Author SHA1 Message Date
Pierre Kancir
5bdc77a5b9 Tools: param_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir
4e2e4fa4d4 Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
Pierre Kancir
2cca370a74 Tools: ardupilotwaf: remove useless shebang on non exec files 2022-06-08 08:16:42 +09:00
Pierre Kancir
a8a578970b Tools: make printversion executable 2022-06-08 08:16:42 +09:00
Pierre Kancir
5628b8d230 Tools: fix executable permission and trailing whitespace 2022-06-08 08:16:42 +09:00
Andrew Tridgell
f0c3d5129c Tools: cope with change in cygwin build
copy both with and without exe extension
2022-06-07 11:20:03 +10:00
Pradeep
80e2533cf0 AP_Periph: node stats
- Added new config parameter object - STAT
 - init and update statistics
2022-06-07 09:57:32 +10:00
Pradeep
183352cdfe AP_Periph: choose node stats - build files
Added - AP_Stat library and AP_STATS_ENABLED build options
2022-06-07 09:57:32 +10:00
bugobliterator
a30f239069 bootloaders: update CubeOrange and related hardware bootloaders 2022-06-03 16:41:22 +10:00
bugobliterator
c4fe3dec91 bootloaders: update CubeOrangePlus bootloader with correct hwdef 2022-06-03 16:41:22 +10:00
bugobliterator
ca12a621cf bootloaders: update CubeOrangePlus bootloader to use H757 chipset 2022-06-03 16:41:22 +10:00
Andy Piper
f244866329 autotest: add test for FFT continuous averaging 2022-06-01 15:49:32 +01:00
Andrew Tridgell
8f2f770e93 Replay: support set source events 2022-05-31 09:17:37 +10:00
Ruffalo-sunghwan
d8dc73289d Tools: add name to GIT_Success.txt
RuffaloLavoisier (Jeon sunghwan)
2022-05-28 15:03:30 -07:00
Sion Vaughan-Thomas
12e3206ddd Tools: added board IDs for GreenSight boards 2022-05-27 05:51:24 +10:00
Peter Barker
a09e8527ff Tools: build_options.py: disable MSP, UAVCAN, Dummy and ExternalAHRS baro backends by default
Causes build errors as (e.g. ExternalAHRS is disable by default)
2022-05-26 21:45:45 +10:00
ES-Alexander
f6544ca25a Tools: uploader.py: exit with error on failure
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
2022-05-26 09:30:27 +10:00
Peter Barker
b99c4b3a89 build_options.py: enable baro backends by default 2022-05-25 18:17:49 +10:00
Peter Barker
069fdfae60 autotest: test SITL airspeed sensor backend 2022-05-25 17:52:44 +10:00
Peter Barker
0e9236a116 Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
Fixes redefinition on custom build server
2022-05-25 17:49:38 +10:00
Pierre Kancir
0e1297177b Tools: fix arch install script 2022-05-25 06:42:57 +10:00
Peter Barker
973b2d11a2 Tools: add parameters to test_build_options.py script
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker
e7d8ad4096 Tools: add baro backend drivers to build options 2022-05-22 12:11:45 +10:00
Peter Barker
c8bc8a8824 Tools: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Iampete1
d5e282c5a1 Tools: allow FBWB alt control option in LOITER 2022-05-22 12:09:43 +10:00
Andrew Tridgell
5e184e167c AP_Periph: allow peripherals to handle servos beyond 16 2022-05-22 12:07:37 +10:00
Andrew Tridgell
10d7a559d2 AP_Periph: 32 servo conversion 2022-05-22 12:07:37 +10:00
Peter Barker
24771ab2a4 autotest: fix DO_CHANGE_SPEED autotest
Recent airspeed fixes means we need to give the vehicle more time to achieve the initial airspeed
2022-05-20 09:56:31 +10:00
Randy Mackay
e1d7b81f9d Tools: update holybro s500 default params 2022-05-19 08:39:32 +09:00
Peter Barker
d6504bcaa8 autotest: remove hack to get dual-airspeed-autocal passing 2022-05-18 18:06:18 +10:00
bugobliterator
28f03e64bc AP_Bootloader: add CubeRed and CubeRed IO board types 2022-05-18 15:33:06 +10:00
Peter Barker
4240ad7ae9 autotest: update test for which entry is last in tasks table 2022-05-18 12:25:26 +09:00
Andrew Tridgell
985e24275a autotest: don't try to arm in RTL mode for quadplanes 2022-05-18 06:43:16 +10:00
Andrew Tridgell
895c57562c autotest: adjust DO_CHANGE_SPEED test for EAS2TAS corrections 2022-05-17 19:34:32 +10:00
Andrew Tridgell
7fb38f8b22 autotest: removed SIM_WIND_DELAY 2022-05-17 19:34:32 +10:00
Pierre Kancir
1090a881b0 Tools: environment_install: set python3 as default on ubuntu 2022-05-17 09:27:03 +10:00
Peter Barker
cebb57266d autotest: calibrate two airspeed sensors in-flight 2022-05-16 09:50:52 +10:00
Peter Barker
b8407a4bec autotest: adjust current wp reset 2022-05-15 21:17:50 +10:00
Andrew Tridgell
151f17d563 autotest: reset mission on takeoff for quadplanes 2022-05-15 21:17:50 +10:00
kenking2536
5e528ba7a1 Tools: install aarch64 ARM compiler if required
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-05-14 21:14:53 +10:00
Peter Barker
287573fff7 autotest: add test for large circle radii in NAV_LOITER_TURNS 2022-05-11 17:40:35 +10:00
Peter Barker
336079ddfa autotest: add test for compass error state logging 2022-05-10 19:46:40 +10:00
Andrew Tridgell
69508804b4 Tools: added Foxtech GreatShark parameters 2022-05-10 15:12:38 +10:00
Andrew Tridgell
38c3c965cb Tools: rename quadplane param files
follws convention used in MissionPlanner for frame file selection
2022-05-10 11:38:52 +10:00
Peter Barker
74ca672caf Tools: add build options for airspeed to custom build server 2022-05-10 09:02:51 +10:00
Andrew Tridgell
bc1ced0779 Tools: added FlyingMoonF427 bootloader 2022-05-08 18:41:39 +10:00
Andrew Tridgell
8cb1519034 Tools: added FlyingMoon407 bootloader 2022-05-08 18:41:39 +10:00
Andrew Tridgell
a27a76c4f5 Tools: added board IDs for FlyingMoon boards 2022-05-08 18:41:39 +10:00
QioTek
f5bae62dbb Tools: added QioTekAdeptF427 and F407 board ID
Tools: added QioTekAdeptF427 and F407 board ID
2022-05-08 06:55:49 +10:00
Andrew Tridgell
6bfaa3ef62 Tools: added notch params for quadplanes 2022-05-05 17:49:24 +10:00
Andrew Tridgell
ab9d13f5dd Tools: added SparkleTech airframes 2022-05-05 17:45:17 +10:00
Peter Barker
b659360d64 autotest: test DO_CHANGE_SPEED mission item for Plane 2022-05-05 10:48:35 +10:00
Andrew Tridgell
bd1df121f8 Tools: added MFD CrossWind VTOL parameters 2022-05-04 17:35:50 +10:00
Andy Piper
0fa0a27c77 autotest: add FFT averaging test.
add harmonic test for FFT averaging
reduce configuration for averaged FFT test
enable harmonic notch in-flight
2022-05-04 17:05:51 +10:00
Peter Barker
b2d811a444 autotest: add test for sensor health logging 2022-05-03 17:38:09 +10:00
Andrew Tridgell
b9366c50c8 Tools: treat brltty like modemmanager
on Ubuntu 22.04 brltty prevents use of serial radios
2022-05-03 10:09:12 +10:00
Iampete1
73dfcfb7d9 Tools: autotest: models: Callisto.json: add number of motors 2022-05-03 10:03:07 +10:00
Andy Piper
67aecea4c1 autotest: remove fast_loop tasks test 2022-05-03 08:20:13 +09:00
Andrew Tridgell
8c1c948e24 Tools: added frame parameters for two quadplanes 2022-05-03 08:52:40 +10:00
Rhys Mainwaring
6d7086a8ad Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh
- Ensure the spawned terminal has the same pwd as the calling script to allow SITL to resolve relative paths

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2022-05-02 11:28:12 +10:00
Mirko Denecke
4c727eca60 Tools: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Peter Barker
5b3a01ecb3 Vagrant: fixes for Jammy virtual machine 2022-05-02 08:05:00 +10:00
Oleksandr Shcherbatii
0cec5dccea Tools: Fix setup for Jammy 2022-05-02 08:05:00 +10:00
Andrew Tridgell
406de11fe9 AP_Periph: mark ESC DShot channels as digital
this allows them to get the right default MIN and MAX values on the
channels
2022-04-28 13:56:41 +10:00
Andrew Tridgell
5b5319f1b3 Tools: added MatekL431-DShot bootloader 2022-04-28 13:56:16 +10:00
Leonardo Garcia
0eb6ae365a AP_InertialSensor: Added BMI085 support
Fixed styling for 61125e2

Remove whitespace l202

Removed else
2022-04-27 18:37:39 +10:00
Andy Piper
8e0f83aaae Tools: iFlight Chimera 7 parameters 2022-04-27 17:51:56 +10:00
Andrew Tridgell
e00608d922 Tools: fixed type of max-gap in CAN fix2 script 2022-04-27 17:13:07 +10:00
Peter Barker
876cc77808 autotest: fix Rover syntax for Python2
Apparently ** is Python3-only
2022-04-24 14:21:45 +09:00
Agent-Birkhoff
275682be15 Tools: add name to Git_Test 2022-04-23 08:58:38 +09:00
Peter Barker
43b5f22c1a autotest: add test for avoidance resume-auto-or-loiter action 2022-04-21 06:59:39 +10:00
Andrew Tridgell
05bda89516 Tools: rebuild peripheral bootloaders
get longer timeout to make updating firmware remotely using CAN over
mavlink possible over slow links. This helps with supporting users
remotely
2022-04-20 12:27:29 +10:00
Andrew Tridgell
51fa26c505 Tools: added options to board_list.py
make it easier to rebuild all bootloaders for AP_Periph with:

  ./Tools/scripts/board_list.py AP_Periph --per-line | xargs -i ./Tools/scripts/build_bootloaders.py '{}'
2022-04-20 12:27:29 +10:00
Lee Yong Ler
c523aa3460 Tools: Update GIT_Success.txt 2022-04-19 19:28:46 +09:00
Peter Barker
1340132f6f autotest: add rangefinder test 2022-04-19 10:26:10 +10:00
Andrew Tridgell
35a2ca62ee Tools: added test script for checking for Fix2 missed frames
used to track down the F405 and L431 lost frames
2022-04-18 14:40:53 +10:00
Andrew Tridgell
227e82053a AP_Periph: fixed GPS dropout on F4 and L4 GPS nodes
we need more time for other threads on these nodes or we will end up dropping GPS frames
2022-04-18 14:40:53 +10:00
Peter Barker
ecd5cb21fc autotest: tidy richenpower test using new methods 2022-04-18 12:41:45 +10:00
Andrew Tridgell
ea3ff853c7 Tools: added MatekL431-Rangefinder bootloader 2022-04-17 17:40:04 +10:00
Andrew Tridgell
db9d796dd4 Tools: update for changed INS_NOTCH parameter name 2022-04-16 08:14:06 +10:00
Andrew Tridgell
fbc9b771d1 AP_Periph: updated release nodes for 1.3.1 2022-04-15 13:48:31 +10:00
Peter Barker
fe740681af autotest: test_build_options.py: undef variables before setting them 2022-04-15 12:37:26 +10:00
Willian Galvani
cb4f5ac578 Autotest: Sub: tweak params 2022-04-13 16:23:55 -03:00
Willian Galvani
c63d12b6c9 Autotest: Sub: fix sub tests for new althold implementation
With this implementation (same as copter's) 1450 is within the pilot deadzone,
which breaks the test.
2022-04-13 16:23:55 -03:00
Willian Galvani
81cd49213a Autotest: Sub: tighten default watch_altitude_maintened delta 2022-04-13 16:23:55 -03:00
Willian Galvani
e23e2cb63f Autotest: Sub: Add depth hold cases of large buoyancies and small inputs 2022-04-13 16:23:55 -03:00
Andrew Tridgell
69666d19ee Tools: fix cygwin build error 2022-04-13 18:30:18 +10:00
Peter Barker
c33f6f3a8d autotest: add tests to ensure we get BCN, RPM and PRX/PRXR log msgs 2022-04-13 16:22:19 +10:00
QioTek
56513a0761 Tools: added QioTekAdeptF427 board ID
Tools: added QioTekAdeptF427 board ID
2022-04-12 23:32:28 +10:00
Peter Barker
7474a31a83 waf: take ap_version.h int items from environment as we do str items
This will mean we take the integer version of GIT_VERSION from the env
too
2022-04-12 11:47:48 +10:00
Peter Barker
eb930f830b Tools: build_ci.sh: set consistent GIT_VERSION_INT in env
For consistent compiler output
2022-04-12 11:47:48 +10:00
Peter Barker
c805310152 Tools.py: add Volz, RobotisServo and FETTec to build_options.py
Allows for enabling/disabling on custom build server
2022-04-12 10:35:01 +10:00
Andy Piper
1072cc772d bootloaders: MatekF765-Wing-bdshot bootloader 2022-04-12 10:03:11 +10:00
Henry Wurzburg
98aec61899 Tools: add airspeed defaults to vehicle defaults files 2022-04-12 09:53:01 +10:00
Andy Piper
64743b73ca AP_Bootloader: change timeout on external flash init 2022-04-12 09:19:45 +10:00
Michel Pastor
ef1058e60c Tools: add revo-mini-sd bootloader 2022-04-12 09:17:03 +10:00
Lokesh Ramina
e2313cccc4 Tools: added CarbonixF405 board ID
CarbonixF405 a new board added
2022-04-11 12:58:48 +10:00
Peter Barker
870527a385 Tools: allow size-compare_branches.py on AP_Periph 2022-04-11 08:07:42 +10:00
Andrew Tridgell
2b2cac3f19 autotest: fixed annoying gdb pagination on reboot 2022-04-08 09:00:22 +10:00
Andrew Tridgell
08e22095a9 Tools: added script to make using a crash_dump.bin easier 2022-04-07 18:11:10 +10:00
Peter Barker
7c526d52fe autotest: correct streaming-boolean bug for parsing of log structures from code 2022-04-06 21:54:15 +10:00
Peter Barker
55d0cf4b03 autotest: add diagnostics for log parse issues 2022-04-06 21:54:15 +10:00
Peter Barker
9f7ae1ee96 autotest: extract ids and message infos per-file, not on aggregate
Will allow for better diagnostics when something goes wrong
2022-04-06 21:54:15 +10:00
Andrew Tridgell
10d7ea9358 Tools: recognise "AUTOBUILD_TARGETS None"
and make for easier testing on command line
2022-04-06 14:13:44 +10:00
Peter Barker
582eed12bf autotest: correct extraction of fields from LogWrite messages 2022-04-05 17:57:40 +10:00
Peter Barker
934a125875 Tools: add script which tells you how Copter.ap changes over time
This is a global state object which we really want to get rid of - but
while we have it it does contain some useful state.

pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$ ./Tools/scripts/du32_change.py ~/rc/log32.bin
1648874490: Creating connection
Original armed_with_airmode_switch: 0
Original auto_armed: 0
Original compass_mot: 0
Original gps_glitching: 0
Original in_arming_delay: 1
Original initialised: 1
Original initialised_params: 1
Original land_complete: 1
Original land_complete_maybe: 1
Original land_repo_active: 0
Original logging_started: 1
Original motor_interlock_switch: 0
Original motor_test: 0
Original new_radio_frame: 1
Original pre_arm_check: 1
Original pre_arm_rc_check: 1
Original prec_land_active: 0
Original rc_receiver_present: 1
Original system_time_set_unused: 0
Original throttle_zero: 1
Original unused1: 0
Original unused2: 0
Original unused3: 0
Original unused_was_simple_mode bit1: 0
Original unused_was_simple_mode bit2: 0
Original usb_connected_unused: 0
Original using_interlock: 0
2022-04-01 08:19:27.03:  -in_arming_delay
2022-04-01 08:19:31.04:  +auto_armed -throttle_zero
2022-04-01 08:19:38.04:  -land_complete -land_complete_maybe
2022-04-01 08:20:34.29:  +throttle_zero
2022-04-01 08:20:35.29:  -auto_armed +land_complete +land_complete_maybe
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$
2022-04-05 17:56:37 +10:00
Peter Barker
2fb1bde457 autotest: add test for earth-frame-accel 2022-04-03 11:41:09 +10:00
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
Peter Barker
c83446a359 Tools: add quick-and-dirty EKF-status-change dump tool 2022-01-26 18:55:11 +11:00
Andrew Tridgell
4e6d3030b6 AP_Bootloader: fixed ID conflict
AP_HW_MRO_MAXXIUM seems to be unused
2022-01-25 15:13:59 +11:00
VMsunghwan
5d29d945e0 autotest : Update receive
recieve -> receive
2022-01-24 18:34:21 +11:00
Michelle Rossouw
1d8a62f064 Tools: Add gen date to build_sizes script, make flash size of -1 not turn up as low flash, some formatting fixes. 2022-01-21 13:26:52 +11:00
bugobliterator
9469817e03 AP_Periph: send epoch time for both message and GNSS timestamp 2022-01-20 17:26:35 +11:00
Peter Barker
0af97b5bdb Tools: test_build_options.py: test disabling all options 2022-01-19 18:33:07 +11:00
ot0tot
13050b325b Tools: add JHEMCU GSF405A bootloader and ID 2022-01-19 18:31:05 +11:00
ot0tot
1a08a1e1a1 hwdef: add support for JHEMCU GSF405A 2022-01-19 18:31:05 +11:00
Josh Henderson
a60c1168ef Autotest: Helicopter add airspeed driver test 2022-01-19 18:21:32 +11:00
Joshua Henderson
92aff3bded AP_Periph: use airspeed.set_log_bit() 2022-01-19 18:21:32 +11:00
Peter Barker
c056a7948d Tools: move Airspeed up to AP_Vehicle, provide dummy 2022-01-19 18:21:32 +11:00
Josh Henderson
2f7e07069f Replay: move AP_Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Joshua Henderson
8580a0e661 Autotest: Copter test_mount correct set_attitude use 2022-01-19 18:03:17 +11:00
Peter Barker
43b4f86485 waf: use GIT_VERSION from env if available
This allows for reproducible builds to be produced
2022-01-18 11:30:41 +11:00
Peter Barker
2fe709a59c Tools: build_ci.sh: use valid hexadecmail digits in GIT_VERSION
building AP_Periph requires these to be able to be converted into a
number
2022-01-18 11:30:41 +11:00
Peter Barker
09dac0cc8a Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check 2022-01-18 11:07:28 +11:00
Peter Barker
a74795bc67 Tools: board_list.py: remove Pixracer-periph from blacklist 2022-01-18 11:07:28 +11:00
Takeshi Yamada
e770e2fba9 Tools: added name to GIT_Success.txt 2022-01-17 08:35:37 +11:00
VMsunghwan
105fc36da5 autotest : correct in typos line 8549 Receving -> Receiving 2022-01-15 13:11:58 +11:00
Peter Barker
ddcd6e6244 Tools: add optical flow options to build_options.py 2022-01-14 11:49:01 +11:00
Peter Barker
ef11400e13 Tools: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Peter Barker
dfea221a49 board_list.py: tidy 2022-01-13 14:44:23 +11:00
Peter Barker
7a9474749a build_options.py: correct GPS Drivers section
must be within closing ] for array
2022-01-13 09:45:08 +11:00
Peter Barker
62285d51a8 build_options.py: remove HAL_MPPT_PACKETDIGITAL_CAN_ENABLE 2022-01-12 23:09:17 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
84e10f035d autotest: correct typos in callisto.json comments 2022-01-12 16:47:42 +09:00
Iampete1
00eca20cf4 Tools: logger metadata: emit rst discription on new line 2022-01-12 18:17:58 +11:00
Joshua Henderson
7cb88554da Autotest: copter add test for mount_mode 2022-01-12 18:03:27 +11:00
Hwurzburg
1948073438 Tools: add build options for GPS backends 2022-01-12 16:17:21 +11:00
Pierre Kancir
d9c562cfae Tools: add HAL_COVERAGE_BUILD for coverage build 2022-01-12 12:31:56 +11:00
Pierre Kancir
78c4918b32 Tools: expose coverage parameter on sim_vehicle.py 2022-01-12 12:31:56 +11:00
Peter Barker
b737d113c9 Tools: correct board_list.py for being copied into root dir in autotest 2022-01-12 10:28:17 +11:00
Peter Barker
7bb36a5630 autotest: correct path to source build_sizes.py script
This script is run on the build server from the APM root directory; this
bit copies it there before we change branches in the repo
2022-01-12 10:28:17 +11:00
Peter Barker
50d30ae045 autotest: reformat things-to-copy list 2022-01-12 10:28:17 +11:00
Andrew Tridgell
fbc7962723 autotest: fixed GripperMission test in rover
the Mission Complete was coming too quickly after the gripper release
2022-01-12 07:54:46 +11:00
Andrew Tridgell
2193f18ad7 autotest: fixed DCM fallback test
give equivalent lag to old test
2022-01-12 07:54:46 +11:00
Andrew Tridgell
0ae04ba9dc autotest: updated frame params for SIM_GPS_LAG_MS 2022-01-12 07:54:46 +11:00
Peter Barker
29b8b12538 autotest: add test_build_options to test each entry in build_options.py 2022-01-11 13:24:25 +11:00
Andrew Tridgell
da6acaad57 Tools: build new f405-MatekGPS bootloader 2022-01-11 11:33:30 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
15e99e306d Tools: add more categories and reorganize a bit
Should be NFC, it does not add nor remove options
2022-01-11 11:07:59 +11:00
Andy Piper
891ffa7b8c AP_Bootloader: adjust board id of KakuteH7Mini 2022-01-11 10:58:55 +11:00
Andy Piper
99ad242dc6 bootloaders: add KakuteH7Mini 2022-01-11 10:58:55 +11:00
Peter Barker
8fb28ac906 autotest: build-with-disabled-features.py: flake8-clean 2022-01-10 21:21:52 +11:00
Pierre Kancir
ae2d3a8570 Tools: add blue and bbbmini to firmware server 2022-01-09 11:34:59 +11:00
Hwurzburg
a774745a2f Tools: Add OSP field location 2022-01-09 10:51:39 +11:00
Peter Barker
c8780792d4 autotest: loosen position constraint on SET_POSITION_TARGET_LOCAL_NED test 2022-01-08 13:59:19 +11:00
Michelle Rossouw
62bd62e9b7 Tools: build_sizes move to folder, no red for old stable/beta, add hyperlink for boards 2022-01-08 13:54:08 +11:00
Peter Barker
7cd58e59c5 Tools: fix define name HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 2022-01-08 06:18:39 +11:00
Peter Barker
fb94cc4092 Tools: use define for define rather than default... 2022-01-08 06:18:39 +11:00
Michelle Rossouw
7f2d95900d Tools: Add blimp link to firmware homepage 2022-01-07 22:54:13 +11:00
Michelle Rossouw
b58ecff90e Tools: Add blimp log message documentation to be built 2022-01-07 22:54:13 +11:00
Peter Barker
62df8facd9 autotest: fix rover POSITION_TARGET_LOCAL test 2022-01-07 22:47:19 +11:00
Peter Barker
d6f4f54c0a Tools: include brand name and manufacturer in APJ file, use for manifest 2022-01-07 22:46:52 +11:00
Peter Barker
21c42e3123 Tools: board_list.py: generate from hwdef files 2022-01-07 22:46:52 +11:00
khanasif786
6095992f14 Autotest:Copter test fix for tri
fixed excessive yaw rate for 'tri' frame
2022-01-06 19:04:50 +11:00
Peter Barker
a58e808af8 autotest: fix Rover gripper mission test
We can lose the statustext when getting current time
2022-01-06 17:48:30 +11:00
Michelle Rossouw
24f8e03bf6 Tools: Auto-build blimp firmwares 2022-01-06 10:06:33 +11:00
Peter Barker
50942b2df7 Tools: add script returning build options 2022-01-05 19:25:16 +11:00
Michelle Rossouw
38cd386d44 Tools: Add css, red/yellow colour and filtering 2022-01-05 19:03:22 +11:00
Andy Piper
6b9d24e033 bootloaders: add BeastF7V2 2022-01-05 18:50:41 +11:00
Andy Piper
d1298c751b AP_Bootloader: add BeastF7v2 2022-01-05 18:50:41 +11:00
Andy Piper
2fcec7d03f scripts: add BeastF7v2 2022-01-05 18:50:41 +11:00
Peter Barker
427c08db26 autotest: add methods for asserting received mavlink data 2022-01-04 14:37:18 +11:00
Joshua Henderson
ac4304e2c4 Tool: ardupilotwaf fix duplicate reporting from build summary 2022-01-03 12:40:42 +11:00
Joshua Henderson
e610acf998 Tools: SITL Copter-heli.parm remove WP_YAW_BEHAVIOR 2022-01-01 23:22:15 -05:00
Andrew Tridgell
e5888d42d9 Tools: update build_sizes.py from master 2021-12-31 11:11:34 +11:00
Andrew Tridgell
7e2b010458 Tools: a script to list builds with flash free
example: https://firmware.ardupilot.org/Tools/BuildSizes/builds.html

Pair programmed with MichelleR
2021-12-31 11:11:34 +11:00
Andy Piper
d307b15c2d Tools: add BMI270 to decode_devid.py 2021-12-31 09:25:29 +11:00
Andrew Tridgell
b901117ab9 Tools: added missing periph builds 2021-12-30 06:03:14 +11:00
MallikarjunSE
02c0ff25c6 Tools: Reserve board id for SierraF412 2021-12-29 10:12:40 +11:00
Andrew Tridgell
d62e946d48 AP_Periph: fixed temperature reporting
more common to have ESC temp than motor temp, so report ESC
temperature
2021-12-28 16:30:14 +11:00
Josh Henderson
d410533424 Tools: fix Build_Summary when more than one targert 2021-12-28 10:27:10 +11:00
Samuel Tabor
71596c2c9f autotest: Add a test for GLIDE_SLOPE_THR 2021-12-27 11:27:52 +11:00
Shiv Tyagi
442e783214 Tools: fix DataFlashSITL autotest
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-12-25 09:14:31 +11:00
mateksys
ac49b2a3c8 Tools: add MatekF405-TE bootloader and autobuild 2021-12-22 18:47:37 +11:00
Andy Piper
dbcc8215fa autotest: setup FFT harmonics correctly for dynamic harmonics.
octacopter notches test
2021-12-22 18:13:38 +11:00
Josh Henderson
74fa47a3bb Tools: fix flash size reporting due to crash_log 2021-12-21 20:33:00 +11:00
Andrew Tridgell
244f0f3e45 Tools: auto-build PixC4-Jetson 2021-12-21 13:05:34 +11:00
Brad Stinson
55d82a4cd8 Tools: build 8MHz IO firmware 2021-12-21 13:05:34 +11:00
Brad Stinson
0b7d7017e6 Tools: add prebuilt iofirmware for f103 8MHz 2021-12-21 13:05:34 +11:00
Peter Barker
7ebf45616d Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/
with the json output
2021-12-21 11:55:51 +11:00
Peter Barker
dfa373c1d7 autotest: param_parse.py: correct JSON output 2021-12-21 11:55:51 +11:00
bugobliterator
a9c78fe7e3 Tools: also test out directory working in one of the build tests 2021-12-20 12:47:25 +11:00
bugobliterator
9eb3a976bc waf: allow build with ardupilot as a module 2021-12-20 12:47:25 +11:00
Peter Barker
8527fd42d1 autotest: sim_vehicle.py: accept lower-case plane etc for --vehicle 2021-12-19 14:50:09 +11:00
Shiv Tyagi
d1eedcb4c3 AP_Periph: remove PacketDitial from AP_CANManager parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these
2021-12-17 20:24:25 +09:00
Peter Barker
2cdb082139 autotest: add test for estop-on-rc-switch 2021-12-17 09:58:37 +11:00
Peter Barker
c9cc97edbd autotest: augment estop test with post-reboot component 2021-12-17 09:58:37 +11:00
Peter Barker
474c42f9d3 autotest: move assert_prearm_failure up 2021-12-17 09:58:37 +11:00
Josh Henderson
317d32574c Tools: pretty_diff_size, show total flash cost 2021-12-16 14:26:04 +11:00
Samuel Tabor
75ee4b07fe autotest: Add test for soaring speed-to-fly feature 2021-12-16 07:12:24 +11:00
Peter Barker
ff77a17fdd autotest: param_parse.py: allow CopyValuesFrom in vehicle directories 2021-12-16 07:11:33 +11:00
Peter Barker
7eb6fdbecd Tools: param_metadata: add support from CopyValuesFrom 2021-12-15 09:54:06 +11:00
Andrew Tridgell
ea4c929c50 Tools: added decoding of new v3 Invensense sensors 2021-12-14 11:38:36 +11:00
Peter Barker
1d4b13af08 AP_Periph: correct compilation when both periph-adsb and GCS enabled
Get lots of these otherwise:

/home/pbarker/gcc/gcc-arm-none-eabi-10.3-2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: lib/libAP_Periph_libs.a(GCS_MAVLink.cpp.0.o): in function `mavlink_parse_char':
GCS_MAVLink.cpp:(.text.mavlink_parse_char+0x0): multiple definition of `mavlink_parse_char'; Tools/AP_Periph/adsb.cpp.41.o:adsb.cpp:(.text.mavlink_parse_char+0x0): first defined here
/home/pbarker/gcc/gcc-arm-none-eabi-10.3-2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: lib/libAP_Periph_libs.a(GCS_MAVLink.cpp.0.o): in function `put_bitfield_n_by_index':
GCS_MAVLink.cpp:(.text.put_bitfield_n_by_index+0x0): multiple definition of `put_bitfield_n_by_index'; Tools/AP_Periph/adsb.cpp.41.o:adsb.cpp:(.text.put_bitfield_n_by_index+0x0): first defined here
2021-12-14 10:35:06 +11:00
Andrew Tridgell
75959450ca AP_Periph: cope with GCS enabled for ESC telem
thanks Tom!
2021-12-10 08:11:24 -08:00
Andrew Tridgell
d239bf99bd AP_Periph: enable use of AP_ESC_Telem in peripheral nodes
give ESC status packets back for RPM, voltage, current etc
2021-12-10 08:11:24 -08:00
Andrew Tridgell
91424c1f03 AP_Periph: enable DShot ESC telemetry 2021-12-10 08:11:24 -08:00
Andrew Tridgell
d34579c275 AP_Periph: allow build with ESC telemetry and BLHeli support 2021-12-10 08:11:24 -08:00
Andrew Tridgell
209fcf3cbb Tools: added CarbonixL496 board ID 2021-12-07 10:23:54 +11:00
Andrew Tridgell
62b03bd1f1 AP_Periph: removed PWM count check for servos
actuator IDs are tied to OUTn_FUNCTION, not to physical output IDs, so
it is perfectly possible for an actuator ID to be larger than the
number of PWM outputs on the board
2021-12-07 10:23:54 +11:00
Andrew Tridgell
b916e8cceb AP_Periph: fixed param docs for ESC_PWM_TYPE 2021-12-07 10:23:54 +11:00
Peter Barker
8e3265d1f6 autotest: add a test for dataflash log message rates 2021-12-07 09:39:51 +11:00
Andrew Tridgell
a311983a29 AP_Bootloader: fixed DSDL paths 2021-12-06 20:17:02 +11:00
Andrew Tridgell
9ee140cbbf Tools: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Peter Barker
66395ce195 autotest: add tests for AVD_F_ALT_MIN 2021-12-04 11:35:13 +11:00
Shiv Tyagi
181eff46ac Tools: fix autotest for devo telemetry
We should pass(skip) the autotest when devo telemetry is compiled out
2021-12-01 19:16:44 +11:00
Shiv Tyagi
339a07b8d3 AP_Devo_Telem: compile out devo telemetry
Devo telemetry is one of the most rarely used features (almost never used since added) we should compile it out from our code
2021-12-01 19:16:44 +11:00
Miloš Petrašinović
a04bbad45e Tools: added name to GIT_Success.txt 2021-11-30 13:35:14 +00:00
Peter Barker
b75f8211d2 autotest: comment out probably-defunct test 2021-11-30 20:50:32 +11:00
Peter Barker
6e4aa2264f autotest: add test for uploading big fence then small fence 2021-11-30 20:50:32 +11:00
Peter Barker
5d811bf57e autotest: disable flightgear output
burning CPU for no good reason
2021-11-30 11:03:05 +11:00
Peter Barker
d84808b434 autotest: improve diagnostic output from Replay test 2021-11-30 10:19:20 +11:00
Peter Barker
b9a472f47f Tools: check_replay.py: improve diagnostics upon failure 2021-11-30 10:19:20 +11:00
Iampete1
f52fb3148b Tools: autotest: common and arducopter: use new compass params 2021-11-30 08:14:43 +09:00
Iampete1
bf335b11ed Tools: autotest: defaults: use new compass params 2021-11-30 08:14:43 +09:00
Iampete1
b9c14b6cac Tools: loganalyzer: use new compass params 2021-11-30 08:14:43 +09:00
Iampete1
11db1aaa40 Replay: remove compass params underscore 2021-11-30 08:14:43 +09:00
Iampete1
7c116c84c6 Periph: remove compass params underscore 2021-11-30 08:14:43 +09:00
Peter Barker
746d9fda8d autotest: add --callgrind option 2021-11-29 20:46:02 +11:00
Peter Barker
ad4b934b3c autotest: correct MAVFTP test for autotest server
The autotest server runs autotest.py from a directory one-up from the
ArduPilot root directory, whereas most people run it from the root
directory.  The test wasn't taking that into account, looking for a
directory which doesn't necessarily exist.

Changed to os.listdir() to find a directory to look for in the MAVFTP
output.
2021-11-29 20:44:47 +11:00
Peter Barker
7afb472244 autotest: reboot after resetting parameters for ekf lane switchtest 2021-11-29 15:30:00 +11:00
Peter Barker
b4b267be67 autotest: clarify parameter download test output 2021-11-29 15:10:10 +11:00
Peter Barker
0c0c70d50e autotest: wait a long time for GPS health in HIGH_LATENCY2
We're assuming this is healthy before running the tests.  Most of the time it was, but running under Valgrind it wasn't
2021-11-29 15:10:10 +11:00
Peter Barker
48c6239851 autotest: correct resetting of commandline under Valgrind 2021-11-29 15:10:10 +11:00
Peter Barker
b2f00d469e autotest: use set_parameters some more 2021-11-26 18:30:13 +11:00
Nick Exton
5f74333559 waf: only enable -Wsizeof-pointer-div for gcc v8.4 or greater
The -Wsizeof-pointer-div option doesn't exist in gcc v7.5, which is the
version used by Ubuntu 18.04 LTS. It does exist in v8.4.
2021-11-26 11:46:04 +11:00
Peter Barker
09f06be17e autotest: add an autotest for DO_PAUSE_CONTINUE 2021-11-25 08:18:27 +09:00
bugobliterator
e7ab56674b Tools:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
f74690af49 AP_Periph:libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
c3be9f9eb3 AP_Bootloader: libcanard moved to modules/DroneCAN 2021-11-24 18:30:47 +11:00
bugobliterator
4e067a68e2 AP_Periph: move to using dronecan instead of uavcan 2021-11-24 18:30:47 +11:00
Peter Barker
a93da420c8 waf: make maybe-uninitialised and duplicated-cond errors 2021-11-24 18:26:17 +11:00
Peter Barker
a2961ede8f waf: add -Wsizeof-pointer-div 2021-11-24 18:26:17 +11:00
Samuel Tabor
7931b10baf autotest: Fix rangefinder in Landing-Drift test. 2021-11-24 18:14:26 +11:00
Peter Barker
a7aa74ab20 autotest: add rangefinder convenience functions, fix wait_alt handling
autotest: add test for rangefinders outside their maxalt
2021-11-23 18:20:58 +11:00
Peter Barker
2904036013 autotest: fetch tasks.txt twice
Collection isn't instantaneous
2021-11-23 18:17:42 +11:00
Shiv Tyagi
7237e346d8 Tools: autotest: add defaults file for broken copter frames
This adds default files for copter frames which were broken because of missing defaults
2021-11-23 15:52:25 +09:00
Peter Barker
c99a49eeb9 autotest: add test that we continue to get simulated vehicles from SIM_ADSB 2021-11-23 11:09:29 +11:00
Andrew Tridgell
b05a3fc950 Tools: support up to 9 UARTs 2021-11-22 22:48:59 +11:00
Randy Mackay
b9099f7b88 Tools: sim_vehicle supports motorboat frame
also add motorboat param file to enable waves and tide
2021-11-20 08:58:12 +09:00
Peter Barker
5025056f4e autotest: fix MSP_DJI test for Py2 2021-11-20 09:37:02 +11:00
Andrew Tridgell
821a041cbe Tools: fixed cygwin build for rover
try to fix singleton depenency in scripting
2021-11-19 20:40:30 +09:00
Peter Barker
492104f9f2 Tools: uploader.py: add Swift-Flyer to usb device strings 2021-11-18 15:22:42 +11:00
Peter Barker
477528bd93 Tools: build_binaries.py: split timing out for configure/build steps 2021-11-18 11:54:37 +11:00
Peter Barker
9a47a85c0d autotest: augment PerfInfo test 2021-11-17 19:00:04 +11:00
Peter Barker
b42432ea3e autotest: add trivial test for MSP 2021-11-17 12:06:07 +11:00
Josh Henderson
bc9ab66348 Tools: size_compare Change elfdiff_output rectory 2021-11-16 17:13:51 +11:00
TunaLobster
f89a7a3c63 Tools: Upate iofirmware_high/lowpolh.bin 2021-11-16 14:12:43 +11:00
TunaLobster
88489ba240 Tools: fix ADC scaling on IOMCU 2021-11-16 14:12:43 +11:00
MallikarjunSE
bca7f519c2 Tools: reserve board id for sierra-F405 2021-11-16 12:53:00 +11:00
Shiv Tyagi
5811a62bc6 Tools: add autotest for DEVO telemetry
This adds an autotest to test if we receive data with devo telemetry correctly.
2021-11-16 11:37:10 +11:00
Peter Barker
8ae1a58eae Tools: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker
32374d1614 Tools: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker
b83cf3a431 waf: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Peter Barker
873e04195f autotest: add test for QuadPlane transition states 2021-11-15 07:21:27 +11:00
Peter Barker
75b9a3ff77 autotest: add test for PerfInfo tasks.txt info 2021-11-14 20:43:30 +11:00
Peter Barker
ad32f8d6d2 autotest: allow building of blimp in autotest 2021-11-14 18:35:06 +11:00
Shiv Tyagi
0cae113521 autotest: reset RNGFNDx_TYPE in rangefinder driver test
We should reset RNGFNDx_TYPE after we finish testing a set of rangefinder drivers to avoid failing successive tests.
Also, we now fail prearm checks if we receive no data from RF, we need to continuously send DISTANCE_SENSOR messages through mavlink to pass those checks while trying to arm.

Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-11-13 09:47:39 +09:00
Andy Piper
9da11cd31d autotest: set SMAX during autotune test 2021-11-11 08:13:23 +09:00
Peter Barker
756e45cda2 autotest: add get_stacktrace method 2021-11-11 10:06:47 +11:00
Bill Geyer
4f053bb7d5 Tools: set new parameters for autotest 2021-11-10 16:45:17 -05:00
Peter Barker
69d86e6896 autotest: turn draining_mav off when doing early-exit for being quiet 2021-11-11 07:23:09 +11:00
Andrew Tridgell
78050be6f3 Tools: update CubeOrange bootloader 2021-11-10 18:10:20 +11:00
Peter Barker
548e8aef2a Tools: run BalanceBot and SailBoat tests as part of coverage 2021-11-10 09:34:05 +11:00
Peter Barker
4bea052692 Tools: check tests actually succeeded
Without this we can get a false impression of how much is being covered

It does mean all your tests have to pass...
2021-11-10 09:34:05 +11:00
Andrew Tridgell
be2e75f8db Tools: added AIRLink bootloader 2021-11-10 08:47:21 +11:00
Andrew Tridgell
5b3dc03cf6 Tools: auto-build AIRLink board 2021-11-10 08:47:21 +11:00
andypnz
e929561635 Tools: added my locations to locations.txt 2021-11-10 08:45:18 +11:00
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
Stephen Dade
40fea51f07 Tools: Add intelhex to Cygwin install scripts 2021-10-17 23:35:40 -07:00
Andrew Tridgell
f07ba3164b Tools: autobuild Sierra-L431 2021-10-17 20:30:20 +11:00
Andrew Tridgell
11c04e62a7 Tools: ensure we build L431 and L476 MCUs 2021-10-17 20:30:20 +11:00
Andrew Tridgell
aa5da9d20b Tools: added NucleoL476 board type 2021-10-17 20:30:20 +11:00
Andrew Tridgell
122154827c Tools: added Sierra-L431 bootloader 2021-10-17 20:30:20 +11:00
Andrew Tridgell
eb87de2d63 Tools: added Sierra-L431 board type 2021-10-17 20:30:20 +11:00
Peter Barker
0e6b0cbf35 autotest: add trivial test for MegaSquirt EFI system 2021-10-17 10:00:08 +11:00
Davis Schenkenberger
3e748d77c9 Tools: autotest: add test for LORD EAHRS 2021-10-17 08:55:03 +11:00
Josh Henderson
a06a192255 Autotest: Rover add test for multiple depth finders 2021-10-15 13:08:17 +11:00
bugobliterator
2223698c47 waf: don't build libuavcan library for AP_Periph builds 2021-10-14 20:13:06 +11:00
bugobliterator
f178174df1 Tools: install empy while configuring for ci 2021-10-14 20:13:06 +11:00
bugobliterator
99b53055ce Tools: include install empy as prerequisite 2021-10-14 20:13:06 +11:00
bugobliterator
f74550bce5 AP_Periph: update notify state decode to use current dsdlc code 2021-10-14 20:13:06 +11:00
bugobliterator
6b44bc3e4c AP_Periph: use methods from new canard dsdl generator 2021-10-14 20:13:06 +11:00
Josh Henderson
f67a4ec025 Tools: High_Latency2 Test Fix Location Distance Test 2021-10-13 19:40:45 +11:00
Josh Henderson
941cd6ebc2 Tools: arduplane.py add HIGH_LATENCY2 tests and Check Air_Temperature 2021-10-13 19:40:45 +11:00
Peter Barker
5125874681 autotest: add some tests for running multiple GPSs 2021-10-13 18:02:16 +11:00
Peter Barker
265616b582 autotest: tidy use of dump_message_verbose 2021-10-13 18:02:16 +11:00
Peter Barker
7446a28c45 autotest: augment simulated GPS tests 2021-10-13 18:02:16 +11:00
Peter Barker
87df943f99 autotest: add option to use simulated FRAM for storage 2021-10-12 20:01:49 +11:00
Peter Barker
00c6308b25 autotest: add test for FRAMStorage 2021-10-12 20:01:49 +11:00
Peter Barker
376e7d2a21 Tools: add simulated RAMTRON device 2021-10-12 20:01:49 +11:00
Andrew Tridgell
8e729841e8 Tools: added modalai_fc-v1 bootloader 2021-10-12 15:47:51 +11:00
Andrew Tridgell
4b4eaabe55 Tools: setup for building modalai_fc-v1 2021-10-12 15:47:51 +11:00
Andrew Tridgell
28c34bdce4 Tools: recognise more USB devices for uploader 2021-10-12 15:47:51 +11:00
Andrew Tridgell
00491275e0 waf: added image_maxsize to apj files
this allows the px4_uploader.py script to load apj files
2021-10-12 15:47:51 +11:00
Andrew Tridgell
130f26c49a Tools: added --no-extf option to uploader.py
needed for PX4 bootloader
2021-10-12 15:47:51 +11:00
Andrew Tridgell
e0d23c6495 AP_Bootloader: sync with PX4 board types 2021-10-12 15:47:51 +11:00
Iampete1
67abf23077 Tool: autotest: defaults: remove MOT_PWM_MIN and _MAX 2021-10-11 22:19:17 -04:00
Iampete1
59b40a3845 Tools: autotest: copter: remove check for PWM min/max zero 2021-10-11 22:19:17 -04:00
Iampete1
a69f40b7fb Tools: autotest: update quadplane throttle min param name 2021-10-11 22:19:17 -04:00
Andrew Tridgell
a43ea35098 Tools: rebuild IO firmware with PULLDOWN for RCIN 2021-10-12 11:52:36 +11:00
Peter Barker
5f32fb82e8 autotest: add basic test that Plane autotune completes 2021-10-10 18:18:44 +11:00
Peter Barker
0c94e013ca Tools: add script to compare elf binaries from different branches 2021-10-07 16:06:22 +11:00
Nicholas Kruzan
42c27533c6 Tools: add debian11 (bullseye) on install script 2021-10-07 10:05:04 +11:00
Pierre Kancir
8f04490a12 Tools: fix Arch environment installation 2021-10-07 10:05:04 +11:00
Pierre Kancir
6168bc3e63 Tools: used fixed version pip package for python2 2021-10-07 10:05:04 +11:00
Andrew Tridgell
d4d78720ca Tools: added AK09918 devid 2021-10-06 18:16:00 +11:00
Andrew Tridgell
1e4946cf76 Tools: added Swan-K1 bootloader 2021-10-05 11:32:13 -07:00
Peter Barker
dd49d79798 autotest: add test for Plane flying with a very slow GPS 2021-10-05 21:40:45 +11:00
Nicholas Weaver
1377c1b78f Tools: board_types.txt: reserve ID for ICSI_Kestrel
Developing a CM4-based carrier board, reserving a board ID.
2021-10-05 11:23:16 +11:00
Peter Barker
abd5daccbb autotest: augment HIGH_LATENCY2 test with location test 2021-10-05 10:20:44 +11:00
Peter Barker
b2a7841672 Tools: allow for selection of Storage backend type at runtime 2021-10-05 10:16:54 +11:00
Andrew Tridgell
41534d816c CPUInfo: added timing of micros16() 2021-10-02 18:26:39 +10:00
Tom Pittenger
a7686de92b AP_Periph: fix GCS/mavlink for additional serialports 2021-09-30 14:55:01 +10:00
nkruzan
dbe673e81c Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config
While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
2021-09-30 14:49:09 +10:00
Peter Barker
d7f037e548 autotest: add test for setting streamrates from files 2021-09-30 10:31:03 +10:00
bugobliterator
8a4b9c2b36 AP_Periph: add support for handling Notify State message 2021-09-30 08:52:27 +10:00
Peter Barker
a55bd3955a autotest: ensure camera feedback messages at correct altitude 2021-09-30 08:50:47 +10:00
Pierre Kancir
040a5dffb9 Tools: fix missing warning on Clang 2021-09-30 08:22:40 +10:00
Gone4Dirt
7fab70b8f1 Waf: Modify build directory define if heli build command is given 2021-09-29 19:55:48 +10:00
Andrew Tridgell
1adec017a2 Tools: added KakuteH7 to build list 2021-09-29 18:11:04 +10:00
Andrew Tridgell
dc9924539b Tools: added KakuteH7 bootloader 2021-09-29 18:11:04 +10:00
Andrew Tridgell
0a2ba2e28f Tools: added KakuteH7 board type 2021-09-29 18:11:04 +10:00
Andrew Tridgell
d46f4ba974 Tools: added mav-firmware-version-str to manifest
this allows beta version to be displayed
2021-09-29 17:54:51 +10:00
Peter Barker
b52b381673 Tools: remove mtk GPSs
These are ancient and of very poor quality.
2021-09-29 17:28:59 +10:00
Pierre Kancir
6e9ea663e5 AP_Periph: temp fix for -Wcast-align until we fix the generator 2021-09-29 17:27:29 +10:00
Pierre Kancir
768c7770e5 Tools: use correct #pragma GCC diagnostic pop 2021-09-29 17:27:29 +10:00
Peter Barker
c372189a9d autotest: add test for EKF losing then refinding a GPS 2021-09-29 15:51:50 +10:00
Peter Barker
89c884e8f1 autotest: add test for HIGH_LATENCY2 2021-09-29 15:51:30 +10:00
Peter Barker
40a463f60c autotest: simplify camera mission item test
Rename for the modern style of keeping method name same as test name.

Remove pointless try/except block as it wasn't doing anything useful.
2021-09-29 11:38:18 +10:00
Peter Barker
5ec82851d0 autotest: add test for Sub entering circle twice 2021-09-28 19:11:43 +10:00
Peter Barker
dd36908ba4 autotest: include SBP file in those that contain log messages 2021-09-28 10:45:51 +10:00
Peter Barker
e906cdf1e4 Tools: move SBP logging structures into AP_GPS 2021-09-28 10:45:51 +10:00
Iampete1
6792e8e618 Tools: rebuild IO Firmware 2021-09-28 09:40:25 +10:00
Josh Henderson
27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +10:00
Josh Henderson
b42a95eb20 Tools: autotest.py enable unit testing for SITL 2021-09-28 09:11:48 +10:00
Randy Mackay
f606fe727a Tools: conditional-yaw test timeout increased
the request is to rotate 360deg at 10deg/sec but the timeout is only 30sec.  We need at least 36
2021-09-28 00:17:25 +09:00
Peter Barker
93e6cfef35 autotest: move helicopter tests to own file 2021-09-27 11:58:39 +10:00
Peter Barker
bc664d77b7 autotest: add trivial test for MAVFTP using MAVProxy 2021-09-27 11:42:47 +10:00
Andrew Tridgell
a749c32974 Tools: build disco static
needed for libc version
2021-09-26 19:39:37 +10:00
Peter Barker
b82b6f1e50 autotest: add test which force-switches to DCM and watches plane land 2021-09-26 17:35:46 +10:00
Peter Barker
ba5e94ad9a autotest: add load_generic_mission 2021-09-26 17:35:46 +10:00
Peter Barker
6ae280a5d7 autotest: test GPS input using different simulated GPSs 2021-09-25 20:48:41 +10:00
Andrew Tridgell
5b0f1b170a Tools: build Nucleo-L496
we want at least one fw for each MCU supported
2021-09-24 18:08:00 +10:00
Andrew Tridgell
90bb0d6310 AP_Bootloader: support L496 MCUs 2021-09-24 18:08:00 +10:00
Paul Riseborough
74a7e3b64a Tools: Rework copter vibration failsafe autotest
Allow more time for descent when vibration affected.
2021-09-23 18:55:28 +10:00
Peter Barker
6dbefd63d3 Replay: define HAL_GCS_ENABLED to 0 2021-09-22 21:37:00 +10:00
Peter Barker
76e2db952b Tools: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Pierre Kancir
41788d7b2e Tools: add more compilation warning flags 2021-09-22 18:06:48 +10:00
bugobliterator
b8749b776a waf: configure compileCommands json based on the configured board 2021-09-22 17:35:31 +10:00
Andrew Tridgell
7ad1c625fe Tools: added Hitec-Airspeed to build list 2021-09-21 13:51:40 +10:00
Andrew Tridgell
3f7d28a608 Tools: added Hitec-Airspeed 2021-09-21 13:51:40 +10:00
Andrew Tridgell
3d6e2e84f3 AP_Bootloader: added Hitec-Airspeed board type 2021-09-21 13:51:40 +10:00
Iampete1
52a805e978 Tools: autotest: update arming swich option number 2021-09-21 09:36:24 +10:00
Andrew Tridgell
d5aa3ac27e Tools: fixed uploader for apj files without a extf image 2021-09-21 08:01:50 +10:00
Peter Barker
1e1e8010e3 autotest: remove APM references 2021-09-18 10:45:39 -05:00
Michelle Rossouw
9eb3a063d8 autotest: Add usable default parameters for Blimp's position and velocity PIDs 2021-09-18 08:26:23 +10:00
Andrew Tridgell
aa643e5637 autotest: Fixed blimp default params 2021-09-18 08:26:23 +10:00
Peter Barker
0c84c50d70 autotest: exempt HAL_QUADPLANE_ENABLED line in log metadata gen 2021-09-14 13:55:01 +10:00
Iampete1
09b26e4d67 Tools: rebuild IO_Firmware 2021-09-14 09:23:02 +10:00
arikrupnik
64ed31abc9 Add Santa Clara County Model Aircraft Skypark--a real field and a photo field in RF 2021-09-14 07:54:24 +10:00
Iampete1
b2a871acb3 Tools: autotest: defualts: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Randy Mackay
fe9d655cc2 Tools: improved tune for sitl copter y6 2021-09-13 07:51:56 +09:00
Mohammad Hefny
705acb26c6 Tools: define obal board 2021-09-10 08:17:37 +10:00
Iampete1
b617f19e6d Tools: autotest: defualt_params: remove ALT_CTRL_ALG 2021-09-09 11:07:07 +01:00
Peter Barker
d7a5e460cc autotest: add tests for changing WPNAV_SPEED_{UP,DN}
and slight augment for WPNAV_SPEED
2021-09-08 21:29:38 +10:00
Samuel Tabor
a44b81f97d Tools: autotest: Add KHA locations. 2021-09-08 19:37:49 +09:00
Willian Galvani
901164a317 AP_Periph: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
Andy Piper
f60b5beed2 Tools: add Pixhawk4-bdshot bootloader 2021-09-08 17:09:49 +10:00
Andy Piper
5dc8524556 Tools: add CUAVv5-bdshot, CUAVv5Nano-bdshot and Pixhawk4-bdshot to build 2021-09-08 17:09:49 +10:00
Andy Piper
b1b3e9c8b6 Tools: add CUAVv5-bdshot bootloader 2021-09-08 17:09:49 +10:00
Andy Piper
39d054d097 Tools: add CUAVv5Nano-bdshot bootloader 2021-09-08 17:09:49 +10:00
Peter Barker
d1d03319ac Tools: make heli-blade simulation work 2021-09-08 14:33:19 +10:00
Bill Geyer
a2932e8f36 Tools: add blade 360 helicopter default params 2021-09-08 14:33:19 +10:00
Pierre Kancir
aade77db9a Tools: build_ci.sh don't unset CXX and CC by default. That was for TravisCI 2021-09-07 15:45:38 +10:00
Josh Henderson
484be2c48e Tools: windows install scripts include arm-gcc install 2021-09-07 11:07:10 +10:00
Peter Barker
d94191b8d8 autotest: ensure WPNAV_SPEED changes speed in flight 2021-09-07 10:04:07 +09:00
bugobliterator
948a0012c5 waf: fix build issue on cygwin after changes for external flash 2021-09-06 18:04:48 +10:00
Andy Piper
36283daf0e Tools: openocd config for h7 2021-09-06 11:01:16 +10:00
Josh Henderson
9d32e481c2 Tools: locations.txt move Grand Canyon to better defined terrain data 2021-09-04 17:00:10 +10:00
Pierre Kancir
575c608688 Tools: allow to use sim_vehicle.py without pymavlink installed 2021-09-04 07:49:42 +10:00
Pierre Kancir
2e71c6fc98 Tools: don't install MAVProxy submodule Cesium on CI 2021-09-03 13:18:22 +10:00
Peter Barker
e5c35d399c autotest: re-enable Heli spline waypoint test
position controller has been completely rewritten, so the bug should be
gone now....
2021-09-03 12:46:33 +10:00
Andrew Tridgell
6e33910c25 AP_Periph: use a longer loop delay on non-H7
the short delay broke the F412 based CUAV_GPS
2021-09-02 21:56:03 +10:00
Peter Barker
b9d62e7ff2 autotest: add test for setting multiple messages to same rate 2021-09-02 09:24:11 +10:00
Peter Barker
42c2f8d9f3 Revert "Tools: comment out the FETtecESC_safety_switch() function for now because it is failing"
This reverts commit d53299ecb0.
2021-09-01 18:25:51 +10:00
bugobliterator
5940cfac8a waf: move SRCROOT env variable setting to common Board class 2021-09-01 17:10:53 +10:00
Siddharth Purohit
47a3298236 CPUInfo: print time upto 4 decimal points 2021-09-01 17:10:53 +10:00
Siddharth Purohit
2dc51d9bae Tools: handle unsupported ext flashsize 2021-09-01 17:10:53 +10:00
Siddharth Purohit
7cf9db4cc9 AP_Bootloader: fix bootloader build issues 2021-09-01 17:10:53 +10:00
Siddharth Purohit
1afbf666ad AP_Bootloader: remove dependency on Semaphores in QSPIDevice 2021-09-01 17:10:53 +10:00
Siddharth Purohit
fc4be3695f AP_Bootloader: add support for running from external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
35df1b1bd3 Tools: add support for uploading firmware to boards with external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
f15f5e9334 waf: create separate image sections for internal and external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
75bcc76189 AP_Bootloader: add support for flashing erasing and verifying ext flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
3317b0aff8 Tools: add support to erase external flash in bootloader 2021-09-01 17:10:53 +10:00
Siddharth Purohit
a1499f9593 AP_Bootloader: add support for erasing external flash 2021-09-01 17:10:53 +10:00
Siddharth Purohit
edb590e055 AP_Bootloader: fix variable name for External flash support 2021-09-01 17:10:53 +10:00
Siddharth Purohit
8dff6dd27b AP_Bootloader: build FlashIface for bl with external flash support 2021-09-01 17:10:53 +10:00
TunaLobster
1df66731c8 Tools: Add rstlatexpdf emitter 2021-08-31 09:28:03 +10:00
Iampete1
dd031dd43e Tools: autotest: default_params: tri: set MOT_YAW_SV_ANGLE to 60 2021-08-28 10:32:59 +09:00
Peter Barker
3d1ed896c8 Tools: make_intel_hex.py: show required size in error message 2021-08-27 17:26:28 +10:00
Marcelo Rodrigues
92b179e0f3 AP_Bootloader: add SKYSTARSF405DJI 2021-08-27 08:54:37 +10:00
Patrick José Pereira
24713326a2 Tools: scripts: Improve help text to make it clear which format is accepted
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Patrick José Pereira
47d2021780 Tools: scripts: Add PIE support in firmware_version_decoder
Calculate pointer offset for PIE (Position Independent Executables) binaries.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-08-27 07:35:32 +10:00
Andrew Tridgell
70764bfaeb Tools: added BirdCANdy bootloader 2021-08-26 09:43:39 +10:00
Andrew Tridgell
d3c367d0fe Tools: added BirdCANdy to build list 2021-08-26 09:43:39 +10:00
Marek S. Łukasiewicz
47f2e13024 HAL_ChibiOS: Add hwdef for BirdCANdy 2021-08-26 09:43:39 +10:00
Iampete1
2fa24fa7da Tools: autotest: enable tailsitter for tailsitter test 2021-08-25 14:34:50 +01:00
yaapu
17cdb07bd5 Tools:autotest: added test for FRSky PassThrough WIND frame 0x500C 2021-08-25 17:13:16 +10:00
Peter Barker
784d1ddf7c waf: check for AP_PERIPH define in hwdef includes 2021-08-25 10:09:23 +10:00
bugobliterator
2970c865c8 AP_Bootloader: add HereID to board types 2021-08-25 10:09:23 +10:00
Gone4Dirt
b4346ba5a3 Autotest: Update RPM in default params 2021-08-25 09:36:58 +10:00
Gone4Dirt
fba15f3035 Autotest: Update RPM param. 2021-08-25 09:36:58 +10:00
Andrew Tridgell
4169656176 Tools: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Josh Henderson
695ad5b4f6 Autotest: BaroDrivers tighten leeway for pressure and temp deltas 2021-08-24 09:55:01 +10:00
TunaLobster
7d92ab1fb0 Tools: Fix emit.py regex 2021-08-23 14:44:27 +10:00
bugobliterator
f790a66781 .github: set specific version of pyenv so pyenv upstream doesn't break our CI 2021-08-20 17:53:53 +10:00
TunaLobster
6381297215 Tools: Move reboot required from table to note 2021-08-20 11:23:21 +10:00
Peter Barker
c443a93b15 autotest: add grand-canyon location 2021-08-20 10:51:03 +10:00
Samuel Tabor
9f77d5ac9d autotest: fly_mission should respect mission_timeout when waiting for wps. 2021-08-19 17:59:33 +10:00
Samuel Tabor
3a185e7533 autotest: Add plane test for landing with barometer drift. 2021-08-19 17:59:33 +10:00
bugobliterator
90c9fb7804 AP_Periph: manage separate transfer ids for different transfer desc 2021-08-19 14:20:58 +10:00
bugobliterator
bb65ab83be AP_Periph: reduce Rx latency by reading while sitting in delay 2021-08-19 14:20:58 +10:00
bugobliterator
aa9a40acf5 AP_Periph: add a way to transmit MovingBaseline Data on another port 2021-08-19 14:20:58 +10:00
bugobliterator
54f03b9b64 AP_Periph: add support for moving baseline heading 2021-08-19 14:20:58 +10:00
TunaLobster
b5f7fca254 Tools: parameter emitter spelling pass 2021-08-19 10:00:16 +10:00
Andy Piper
3483df5303 Tools: add Flywoo boards to board list and manifest 2021-08-18 17:06:09 +10:00
Andy Piper
6c26dd075b Tools: bootloader for FlywooF745Nano 2021-08-18 17:06:09 +10:00
Josh Henderson
70166c8173 autotest: add battery_charge_state ok & low tests 2021-08-18 15:32:28 +10:00
Peter Barker
12ac5174d7 autotest: check battery_status.charge_state is critical on failsafe 2021-08-17 14:40:55 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
d53299ecb0 Tools: comment out the FETtecESC_safety_switch() function for now because it is failing
I do not understand why it is failing, and failed at fixing it.
2021-08-13 16:22:37 +10:00
Peter Barker
20f58afa93 Tools: complete rewrite of the ESC-configuration state machine
Co-authored-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>

tidy message sending using templates
Calculate and enforce the minimum update period.
Disable unused features to save flash
forced time gaps between all transmits
correct ESC reset functionality
Avoid re-initialization repeatition
Make sure we stop FETtec if safety is on (ignore reverse) this reduces duplicated code
Error count calculation changed
   as the telemetry error count is absolute only the overflow status can be safed and used for the percentage calculation
Update the README to add autotests information
FETtec needs a time gap between frames
  This allows running at high fast_loop_rates
do not send fast_throttle data if a configuration command just got sent
Example parameter configuration file is for a Quadcopter with ESCs connected to Telem2
remove two FIXME
fix compilation in master
Fix the ESC not re-initializing issue.
  Now we re-init whenever we loose connection
RVMASK parameter changes only take effect when not armed
Improve documentation
Always use the same wording when referring to fast-throttle commands
fix pre-arm check message
assure the length of the memmove is positive
Set HAL_AP_FETTEC_CONFIGURE_ESCS to 0 when no ESC hardware is available and you want to test the UART send function
2021-08-13 16:22:37 +10:00
Peter Barker
e263063600 autotest: a gap in the beginning of the SERVO_FTW_MASK is now allowed, test it
make sure the SERVO_FWT_MASK is valid:
  - it can have bit gaps between active channels, but channels higher than 12 are not allowed (AP_EST_TELEM limitation)
  - Explain that the FETtec ESC IDs inside the FETtec Firmware need to be contiguous and start at 1.
add tests for ESC power outages
add test that safety switch zeroes PWM for FETtec ESC
2021-08-13 16:22:37 +10:00
Peter Barker
3bc4cf710f autotest: add test for FETtecESC 2021-08-13 16:22:37 +10:00
Pierre Kancir
28706f5e23 Tools: link AP_FETtecOneWire 2021-08-13 16:22:37 +10:00
Mike Lyons
12ccb6df1d Tools: added name to GIT_Success.txt 2021-08-13 14:21:35 +09:00
Peter Barker
0d4bee8f7b autotest: except QRTL/QLAND from airmode tests due to non-armability
The test wasn't checking the return value for arming, so of course the
motors weren't spinning.... now we've fixed the checked-for-arming thing
these two modes were failing.
2021-08-13 13:40:28 +10:00
Peter Barker
8fc6e98900 autotest: raise exception for arm/disarm failures on switch/rc
Users were calling these without checking the return values. Make that
a non-issue
2021-08-13 13:40:28 +10:00
Peter Barker
5e81026e78 autotest: add option to hard-reset after every test 2021-08-13 08:01:20 +10:00
Peter Barker
013bee99f4 autotest: rover: wait ready to arm before running motor test 2021-08-13 08:00:52 +10:00
Peter Barker
d03cfb8615 autotest: Plane: wait for origin before enabling fence
we load into memory as origin-relative positions
2021-08-12 20:34:36 +10:00
bugobliterator
dba40481c6 Tools: add CubeOrange-periph to CI build test 2021-08-12 07:57:12 +10:00
bugobliterator
acab1478a2 AP_Periph: fix build error 2021-08-12 07:57:12 +10:00
Peter Barker
cccec5c21c autotest: add test for FRSkyD battery 2021-08-11 15:17:43 +10:00
bugobliterator
1d81eb5c47 AP_Periph: fix checking compass available before init 2021-08-11 07:47:56 +10:00
Andrew Tridgell
fadadfb50e waf: avoid problem with custom build server
this happens on custom build server when building into a new directory
2021-08-10 21:34:36 +10:00
Andrew Tridgell
11b073841f Tools: auto-build Swan-K1 2021-08-10 10:08:05 +10:00
Andrew Tridgell
5b95f92984 Tools: added Swan-K1 bootloader 2021-08-10 10:08:05 +10:00
Leonard Hall
3d68d9c32a Frame_params: update FILT to FLTE 2021-08-10 08:33:56 +09:00
xianglunkai
27dd97383c Tools: added name to GIT_Success.txt 2021-08-09 19:24:32 +09:00
Peter Barker
abb6521127 Revert "autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)"
This reverts commit 540a56adb8.

Polling this message caused issues on reboot - shouldn't be a problem
but is.

Retrying that showed that the Tracker GUIDED test failed reliably due to
a yaw problem.
2021-08-07 16:18:05 +10:00
Pierre Kancir
231ee84ab9 Tools: correct author name formatting
prevent error
fatal: --author 'pierre.kancir.emn@gmail.com' n'est pas de la forme 'Nom <email>' ni ne correspond à aucun auteur existant
2021-08-06 23:52:49 +10:00
Peter Barker
44d5885d99 autotest: augment blending test to ensure GPS switch events make log 2021-08-06 15:30:18 +10:00
Andrew Tridgell
2b1e80c70d Tools: copy board_list.py for build_binaries.py 2021-08-06 10:00:08 +10:00
Andrew Tridgell
3c0238ce8b Tools: break out boards list
this is to help with the custom build server
2021-08-06 07:35:37 +10:00
Andrew Tridgell
0ea26b4d3a AP_Periph: fixed float16 conversions for scalars
libcanard does already convert scalars, but doesn't convert arrays. By
calling fix_float16 on scalers we were double converting, which
reduced resolution.
2021-08-05 19:04:41 +10:00
Peter Barker
540a56adb8 autotest: use SIM_STATE (common.xml) instead of SIMSTATE (ardupilotmega.xml)
It is a useful superset
2021-08-05 18:35:11 +10:00
Peter Barker
27fcb3a100 autotest: fix simstate error message 2021-08-05 18:35:11 +10:00
Peter Barker
ca35d01baa autotest: move upload_simple_relhome_mission up 2021-08-05 10:38:03 +10:00
Andrew Tridgell
37935262ff AP_Periph: fixed formatting errors 2021-08-05 09:43:35 +10:00
Andrew Tridgell
751b901ed9 Tools: fixed printf format errors 2021-08-05 09:43:35 +10:00
Josh Henderson
162b3b70cf Autotest: use MAV_POS_TARGET_TYPE_MASK, remove POS_TYPE_MASK_FORCE 2021-08-03 12:48:38 +10:00
Andrew Tridgell
54d92551d1 waf: add files from ROMFS_custom to ROMFS
this allows for lua scripts in the root of the source tree as ROMFS_custom/scripts/*.lua

it also allows for any other custom data files that may be
needed. This is cleaner for custom scripts than having the files in
AP_HAL_ChibiOS/hwdef/BOARD/scripts, and allows for the same scripts
working in SITL, Linux and ChibiOS
2021-08-03 10:57:38 +10:00
Peter Barker
8e72dc32d1 autotest: add test home is restored persistently on wdog reset 2021-08-03 10:36:50 +10:00
Andrew Tridgell
e6f15ed6c0 autotest: cope with WriteStreaming() in doc tests 2021-08-03 10:23:36 +10:00
Josh Henderson
1cb11a5ff2 Tools: autotest change smartbatt param names 2021-08-03 09:36:26 +10:00
Iampete1
27b324742e Tools: sim_vehicle: pass on slave comandline CMD 2021-08-03 09:22:19 +10:00
Andrew Tridgell
19a9e1a416 Tools: cope with build_binaries.py being copied out
the build server uses a copy of build_binaries.py, so __file__ isn't
the right directory
2021-08-01 13:28:09 +10:00
Andrew Tridgell
a0da76243d autotest: reboot after AHRS_ORIENTATION test
the EKF can be left very unhappy by this test
2021-07-31 10:01:14 +10:00
Peter Barker
d40587062e AP_Periph: use AP::compass().available in place of enabled() 2021-07-30 12:19:42 +10:00
Braedon O'Meara
de91058b1a Tools: Add tmux support to run_in_terminal_window.sh
Added in an option so that if running SITL in a tmux session it will open a new window in tmux.
More or less an alternate option to screen.
It will detect if its running in a tmux session by checking the $TMUX and $TERM env variables.
I put it before other options because when I am running a tmux session even in a GUI environment
I would prefer a new Tmux window compared to a new terminal.
This will only run if youre already in a tmux session it will not launch a new session.
2021-07-30 12:05:15 +10:00
Peter Barker
2ae483cee0 autotest: stop uploading artifacts to autotest server
github action's CI is good at this
2021-07-30 11:32:59 +10:00
Andrew Tridgell
69376cdb5f Tools: added mRo M10095 bootloader 2021-07-30 10:20:52 +10:00
Andrew Tridgell
4b0736ecf4 Tools: added bootloader for G491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
adb8e1fc7e Tools: added mRo-M10095 board type 2021-07-30 10:20:52 +10:00
Andrew Tridgell
f507e85f10 Tools: added Nucleo-491 2021-07-30 10:20:52 +10:00
Andrew Tridgell
cfdf91e18a AP_Bootloader: fixed G4 MCU descriptions 2021-07-30 10:20:52 +10:00
Iampete1
d2a14f4283 Tools/ardupilotwaf: make skipped summary warning red 2021-07-28 18:25:27 +10:00
Peter Barker
7929122f49 autotest: improve AHRS trim test 2021-07-28 17:20:28 +10:00
Peter Barker
909decc5be autotest: move wait_attitude up to common.py 2021-07-28 17:20:28 +10:00
bugobliterator
6f3e3a913a AP_Periph: fix dna wait blink 2021-07-28 17:09:41 +10:00
Andrew Tridgell
791b043586 waf: added 10.2.1 gcc to whitelist of compilers for -Werror 2021-07-27 19:50:21 +10:00
Andrew Tridgell
243dc06fd4 Tools: switched development to the 10.2.1 compiler for STM32 2021-07-27 19:50:21 +10:00
Andrew Tridgell
e95abce466 Tools: use 10.2.1 compiler for latest builds of ChibiOS boards 2021-07-27 19:50:21 +10:00
Andrew Tridgell
18cbd25828 Tools: removed remnants of px4 build support 2021-07-27 19:50:21 +10:00
Andrew Tridgell
66bad7b885 waf: added --assert-cc-version configure option
this will allow build_binaries.py to confirm it is using the right
compiler for each build
2021-07-27 19:50:21 +10:00
Peter Barker
da3ff2c142 autotest: add test for live change of AHRS orientation 2021-07-27 17:28:09 +10:00
Peter Barker
04ddc9de03 autotest: correct order of progress vs action in set-param 2021-07-27 16:51:48 +10:00
Peter Barker
e1884bcd6e autotest: run dumpstack/dumpcore on stuck SITL process 2021-07-27 16:51:48 +10:00
Peter Barker
f20644b6cf board_types.txt: reserve ID for Argosdyne DP1000 2021-07-26 18:54:00 +10:00
mateksys
08cd1171bf Tools: added MatekF765-SE to autobuild 2021-07-26 18:13:46 +10:00
Hwurzburg
2c83ab264f Tools: Add Qiotek f103 periph to build list 2021-07-26 18:12:37 +10:00
bugobliterator
35d94b17eb AP_Periph: add support for MAVLink for HerePro 2021-07-26 13:45:43 +10:00
Andrew Tridgell
ea84f295ea Tools: updated MambaF405US-I2C bootloader
this was forgotten in the PR
2021-07-26 06:22:05 +10:00
Andrew Tridgell
299b3ef200 AP_Periph: fixed msp gps yaw
build failed with 10.2 compiler, but is a real bug
2021-07-25 21:00:09 +10:00
Isaac Alich
c84a880de4 Tools: Add Diatone MambaF405US-I2C 2021-07-25 09:28:17 +10:00
Paul Riseborough
9207744152 Tools: Rework Plane.EKFlaneswitch autotest 2021-07-22 18:20:45 +10:00
Paul Riseborough
7f3980c1f4 Tools: Rework Copter VibrationFailsafe test to use commanded land 2021-07-22 18:20:45 +10:00
Paul Riseborough
ef1dda005f Tool: Allow more time for quadplane autotest to land and disarm 2021-07-22 18:20:45 +10:00
Paul Riseborough
ff1c465a17 Tools: relax navigation test accuracy 2021-07-22 18:20:45 +10:00
Paul Riseborough
a0ae998a4d Tools: Fix AIRSPEED_AUTOCAL test failure
The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy.
2021-07-22 18:20:45 +10:00
Andrew Tridgell
d181adfa75 Replay: added --accuracy option
useful for finding what has diverged
2021-07-21 17:55:04 +10:00
Peter Barker
eff4bc4cfb autotest: drain pexpects in set_parameters loop
This loop doesn't self.mav.recv(), so the idle loop isn't called, so the
pexpects aren't drained.  That can cause ArduPilot to block on stderr if
it is trying to print a stacktrace, for example
2021-07-21 17:05:17 +10:00
Peter Barker
27de0a3d23 autotest: add new Copter yaw tests 2021-07-21 17:05:01 +10:00
Peter Barker
43a4ea734f autotest: add some diagnostics for missing processes 2021-07-21 15:50:50 +10:00
bugobliterator
65606b4d1d Tools: add debug target in CI build script 2021-07-21 11:27:52 +10:00
Peter Barker
571ae46b0f Tools: split yaw-vehicle-for-mount-roi test out 2021-07-19 18:16:13 +10:00
Andrew Tridgell
618fa156c7 autotest: added --replay option to autotest
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Andrew Tridgell
e52b9f78c2 autotest: fixed tuning of tilthvec quadplane model 2021-07-16 08:41:47 +10:00
Siddharth Purohit
1af2453b54 AP_Bootloader: ignore cast alignment when reading from flash 2021-07-15 07:50:12 +10:00
Siddharth Purohit
7a2c460496 waf: remove cast-align disable flags from CXXFLAGS 2021-07-15 07:50:12 +10:00
Stephen Dade
d5d2aa011c Tools: Force Cygwin environment install to use GCC 7.4 2021-07-14 18:19:05 +10:00
Andy Piper
c5b323fcb6 iomcu: update for pulse width changes 2021-07-14 17:50:06 +10:00
Peter Barker
2ae6030f0c autotest: add baro i2c drivers autotest 2021-07-14 17:46:15 +10:00
Peter Barker
d2be5231cb ardupilotwaf: probe external baros in SITL 2021-07-14 17:46:15 +10:00
Peter Barker
14d271776e autotest: break out a fly_mission method 2021-07-14 17:46:15 +10:00
Peter Barker
53e980bada autotest: add test for two consecutive drops with no reboot 2021-07-14 16:38:36 +09:00
bugobliterator
ef48d706ed AP_Periph: do not wait for DNA to finish before starting AP_Periph 2021-07-14 15:18:42 +10:00
bugobliterator
a9fda29d42 AP_Periph: remove return res from canard_broadcast 2021-07-14 15:18:42 +10:00
bugobliterator
64c41e51ba AP_Periph: use range for loop instead of indexed for loops 2021-07-14 15:18:42 +10:00
Siddharth Purohit
67ed54bfca waf: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
6d76990c1e AP_Bootloader: add option to disable Watchdog 2021-07-14 15:18:42 +10:00
Siddharth Purohit
3ed53c58e9 AP_Periph: provide separate instances of canard objects per iface 2021-07-14 15:18:42 +10:00
Peter Barker
9fb7ef915e Tools: add support for ms5525 i2c sensor 2021-07-13 12:00:37 +10:00
Pierre Kancir
8234fd4c39 Tools: autotest: add IRLock SITL test 2021-07-12 17:50:31 +10:00
Peter Barker
9ff77d8f1c Tools: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell
d4d80f01bf Tools: added airspeed ID decoding 2021-07-12 17:14:59 +10:00
Leonard Hall
33ec8b965b Tools: Autotest update guided bitbask to include acceleration 2021-07-10 20:25:05 +09:00
DaijiroYamazaki
1e545052f4 Tools: autotest: add 2 locations in Japan 2021-07-10 09:24:32 +09:00
Andrew Tridgell
a6a01cf432 autotest: added --ekf-single and --postype-single options to autotest 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5a5018cda2 autotest: adjust test_altitude_types for small change in longitude_scale 2021-07-10 07:20:41 +10:00
Andrew Tridgell
4f7630e29c Tools: allow for double EKF build 2021-07-10 07:20:41 +10:00
Andrew Tridgell
5f45098044 waf: added --ekf-double configure option 2021-07-10 07:20:41 +10:00
Andrew Tridgell
b8e934ccf1 autotest: added --udp option to sim_vehicle.py
this makes running with high speedups easier
2021-07-09 19:19:24 +10:00
bugobliterator
9ba9352dae Tools: add remote upload script via mac systems 2021-07-09 18:19:04 +10:00
bugobliterator
a5d3dade67 waf: allow overriding uploader script with custom uploader script 2021-07-09 18:19:04 +10:00
Peter Barker
aa27479e95 autotest: show output from Replay run 2021-07-08 16:20:12 +10:00
Peter Barker
743ed05367 autotest: detect ap-*.core as we do core.* files 2021-07-08 15:46:07 +10:00
Peter Barker
fd803ddafc autotest: remove stray diagnostic files before run 2021-07-08 15:46:07 +10:00
Peter Barker
2388f3a3d1 Tools: generate a core file for a given PID
Similarly to dumpstack.sh, uses gdb to dump a core file
2021-07-08 15:46:07 +10:00
Andrew Tridgell
a5f2d12edc Tools: added MatekF765-SE bootloader 2021-07-08 13:02:18 +10:00
Andrew Tridgell
3a7075fc65 autotest: fixed config error loop test 2021-07-08 07:56:51 +10:00
Siddharth Purohit
51a6d3c16a waf: only apply gsoap specific flags to gsoap sources 2021-07-07 18:57:25 +10:00
bugobliterator
236eecc494 autotest: add option for running sim with ONVIF camera 2021-07-07 18:57:25 +10:00
bugobliterator
f6715cdaa0 waf: generate SOAP wsdl into cpp code 2021-07-07 18:57:25 +10:00
Siddharth Purohit
5d435c762e waf: notify users that we have moved to using tool instead of tools 2021-07-07 17:31:09 +10:00
Siddharth Purohit
2750b361aa autotest: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
767e394703 Tools: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
b39b4abb12 Replay: move to using tool instead of tools program group 2021-07-07 17:31:09 +10:00
Siddharth Purohit
f1c865bdd3 Tools: use program group "tool" instead of "tools" 2021-07-07 17:31:09 +10:00
Peter Barker
70a161a583 autotest: create SITL debug binaries by default 2021-07-07 17:11:27 +10:00
Peter Barker
df02289493 autotest: add test for two consecutive drops with no reboot 2021-07-07 12:01:07 +10:00
Michelle Rossouw
8017e528c8 Tools: Add Blimp to param_parse.py 2021-07-06 14:56:02 +10:00
Peter Barker
c1a5ca6060 autotest: add test to ensure we get a log if arming is forced 2021-07-04 08:54:54 +10:00
Peter Barker
85f36f957d autotest: add force option to arm_vehicle 2021-07-04 08:54:54 +10:00
Pierre Kancir
712d812f4e Tools: install-preresq-ubuntu: add check for DO_AP_STM_ENV before adding to path
This prevent to have /opt//bin on PATH if we don't want STM toolchain
2021-07-02 11:32:39 +10:00
Siddharth Purohit
5468869eba Tools: do CI build for HerePro instead of CubeOrange-periph 2021-07-02 08:50:16 +10:00
Siddharth Purohit
637ccf13df AP_Periph: add MAVLink support for AP_Periph modules 2021-07-02 08:50:16 +10:00
Siddharth Purohit
966e8cd1be AP_Bootloader: reserve board id for HerePro 2021-07-02 08:50:16 +10:00
Andrew Tridgell
d6088539b7 waf: use new syntax for chibios_hwdef.py 2021-07-01 09:33:16 +10:00
willpiper
15cd9d502d waf: added --extra-hwdef option 2021-07-01 09:33:16 +10:00
Siddharth Purohit
35340bf7f2 AP_Bootloader: reserve board_type id for H757 EVAL board 2021-06-30 19:33:17 +10:00
Pierre Kancir
54daa94c90 CI: make macos tests more useful by compiling all target and use ccache 2021-06-30 17:57:50 +10:00
Siddharth Purohit
9bd5183d82 Tools: update install macos prereqs 2021-06-30 17:57:50 +10:00
Siddharth Purohit
f9a50e8e47 AP_Periph: allow building InertialSensor and related libraries 2021-06-30 17:06:02 +10:00
Andrew Tridgell
843f87d618 Tools: install geocoder 2021-06-29 15:41:26 +10:00
Andrew Tridgell
d81b758d77 autotest: support using geocoder for -L location
this allows for location names from OSM, for example:

  sim_vehicle.py -L '26 Carstensz St Griffith' --console --map
2021-06-29 15:41:26 +10:00
Rafael Araujo Lehmkuhl
4f7da5867d Tools: Allow direct execution of firmware_version_decoder.py from command line 2021-06-29 09:24:04 +10:00
Peter Barker
99a0f5a86a autotest: disable quadplane ConfigErrorLoop test
failing on the autotest server (and locally).

AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: AP: Config error: Baro: unable to initialise driver
AT-1474.6: AP: Config Error: fix problem then reboot
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
AT-1474.6: RC values bad: (ch=1 want=1500 got=0)
2021-06-27 11:09:39 +10:00
Randy Mackay
5ec75578ab Tools: add copter gps_glitch_loiter_test2
checks for twitches in Loiter after GPS glitch
2021-06-25 16:52:57 +09:00
Andrew Tridgell
220107b2a6 Tools: added boat circuit for Rabi 2021-06-25 15:33:55 +10:00
Andrew Tridgell
396094a82c Tools: added a mission around Rabi, close to -180 degrees lon 2021-06-25 15:33:55 +10:00
Andrew Tridgell
75ae2548a7 Tools: added some locations close to the date line 2021-06-25 15:33:55 +10:00
Andrew Tridgell
3204ce4bf1 Tools: added --postype-single for sim_vehicle.py 2021-06-24 21:34:30 +10:00
Andrew Tridgell
895ab6c089 waf: added --postype-single option
for SITL with single precision postype_t
2021-06-24 21:34:30 +10:00
Peter Barker
4c173e01ef autotest: increase number of parameter retries
sets were failing just after we uploaded very large numbers of
parameters.  I'm guessing the parameter queue in ArduPilot is still
full.
2021-06-24 17:58:31 +10:00
Peter Barker
4bb91d1ec1 autotest: shift where we print which attempt we are doing 2021-06-24 17:58:31 +10:00
Peter Barker
e6eb6dea3f Tools: mark decode_watchdog.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
e38e026c6e Tools: mark build_examples.py flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
4ea8c32c61 Tool: uploader.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
b35a586447 Tool: make_apj.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
fad9b5d345 Tool: pretty_size_diff.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
0940c9371d Tools: decode_ISCR.py: flake8-clean 2021-06-24 08:59:41 +10:00
Peter Barker
21cb6c1cf5 Tools: build_iofirmware.py: flake8-clean 2021-06-24 08:59:41 +10:00
Randy Mackay
f3c96b438b Tools: autotest of vibration failsafe 2021-06-24 08:34:56 +10:00
Peter Barker
b58e7bedaa autotest: correct placement of not-alive-after-test message
This was misplaced with bad conflict resolution
2021-06-24 08:34:06 +10:00
Peter Barker
d6f619fb1a autotest: emit 'attempt 1/3' when retrying set_parameter
Also reterm things in terms of attempts rather than retries
2021-06-24 08:30:03 +10:00
=
a71007f2c7 Tools: added name to GIT_Success.txt 2021-06-23 23:31:22 +10:00
Peter Barker
99c7d3aabc autotest: ensure no stray message listeners after test 2021-06-23 21:55:32 +10:00
Peter Barker
6a8ca9e45b autotest: timeout in wallclock time in config error loop test
SYSTEM_TIME is not sent in config error loop
2021-06-23 21:55:32 +10:00
Peter Barker
b6d5569244 Tools: param_metadata: disallow @Values and @Bitmask at same time 2021-06-23 18:37:34 +10:00
Peter Barker
7842f55a3b Tools: add rc channel option to disable all airspeed sensors 2021-06-23 15:13:13 +10:00
Peter Barker
d82a229584 autotest: revert to subprocess.check_call
.run is only Python3
2021-06-22 20:24:07 +10:00
Peter Barker
8395bf617f autotest: disable autotesting of tri frame as it is still busted 2021-06-21 21:17:10 +10:00
Peter Barker
697fbb0db0 autotest: verify roll/pitch are not adversely affected by yaw inputs 2021-06-21 21:17:10 +10:00
Peter Barker
4c20bc2d9d autotest: ensure reasonable yawrate on takeoff in FlyEachFrame 2021-06-21 21:17:10 +10:00
Pierre Kancir
983e402804 AP_Common: add more unitttests 2021-06-21 21:16:29 +10:00
Peter Barker
d3f90bde7f autotest: add FlyEachFrame test for Plane 2021-06-21 14:13:18 +10:00
Pierre Kancir
a699b8b331 Tools: remove more CAN stuff from coverage statistics 2021-06-21 09:44:57 +10:00
Pierre Kancir
39c96f63c8 Tools: autotest.py: total flake8 compliance. 2021-06-18 16:03:51 +10:00
Pierre Kancir
7ddb4d681d Tools: autotest: correct exception handling on unit test run. 2021-06-18 16:03:51 +10:00
Peter Barker
723d2dee00 autotest: improve diagnostics around touchdown/takeoff expected tests
Also looks at last result as we don't appear to have a consistent number
in our tests
2021-06-18 09:03:34 +09:00
Peter Barker
210818cd6e autotest: let arming failure messages get spit out 2021-06-17 21:01:23 +10:00
QioTek
979b502d30 AP_Bootloader: added QioTekZealotH743 board type
AP_Bootloader: added QioTekZealotH743 board type
2021-06-15 18:50:24 +10:00
Peter Barker
47a778d033 Tools: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker
61fda691f2 autotest: add trivial test for smart battery logging 2021-06-15 09:46:26 +10:00
Patrick José Pereira
9211f6d351 Tools: Add navigator board in common boards
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-06-11 14:43:48 -04:00
Peter Barker
cea0d7c971 autotest: move autotest tlog files into buildlogs directory 2021-06-11 22:14:11 +10:00
Peter Barker
e77512ba08 autotest: add method to create simple relative-to-home mission 2021-06-11 16:59:51 +10:00
Peter Barker
14b2af84ab autotest: break out a home_relative_loc_ne for getting a home-rel loc 2021-06-11 16:59:51 +10:00
Peter Barker
96e14d470a autotest: retry SITL connect many times while running under GDB
Allows for easier debugging under gdb when checking startup code
2021-06-11 11:15:58 +10:00
Peter Barker
0b517cfc57 autotest: start GDB in tui mode by default 2021-06-10 20:52:48 +10:00
Tom Pittenger
4d0f5a1db6 AP_Periph: add support for multiple protocols on AP_Periph 2021-06-09 18:36:18 +10:00
Tom Pittenger
8ada37edb8 AP_Periph: add support for MPPT Battery driver 2021-06-09 18:36:18 +10:00
Peter Barker
fd792bebf8 autotest: wipe SITL state after temperature cal test
ArduPilot internals are fiddling state that the autotest suite is
unaware of, so wipe the eeprom after the test
2021-06-09 14:14:06 +10:00
Peter Barker
79de738266 autotest: wait for a few seconds for arm-failure messages to appear
If prearms never come true then we try to arm the vehicle so it tells us
what is wrong.  Since we no longer push statustexts hard, we have to
wait for the reasons to come out at normal clocked rates.
2021-06-09 14:13:54 +10:00
Peter Barker
6af6d2fc2a autotest: add a progress message for looking for a message in a log 2021-06-09 14:13:31 +10:00
Peter Barker
6944ef6af1 autotest: fly each working Helicopter frame 2021-06-09 12:15:42 +10:00
Randy Mackay
058d4299ad Tools: update SITL tri and hexa gains 2021-06-08 19:11:32 +10:00
Andrew Tridgell
3be7f1ae23 autotest: removed tri from doesn't fly list 2021-06-08 19:11:32 +10:00
Andrew Tridgell
0876cb9cd6 autotest: fixed defaults for tricopter 2021-06-08 19:11:32 +10:00
arsh
45f1d03bda autotest:Copter test fix for some frames
removed some lines

Whitespace messages removal
2021-06-08 16:50:37 +10:00
Peter Barker
31c345fc4b Tools: add support for AP_Logger into AP_Periph 2021-06-08 09:57:55 +10:00
Peter Barker
0bd9610687 autotest: add trivial test for BodyFrameOdom 2021-06-04 15:09:51 +10:00
Peter Barker
584e24d613 Tools: build mRoControlZeroClassic and mRoControlZeroH7{,-bdshot} on build server 2021-06-04 14:39:56 +10:00
Randy Mackay
e8947dfb47 Tools: reduce copter autotest rate yaw P and I gains
affects quad, hexa, octa, octa-quad, deca, tri, y6, dodeca-hexa
2021-06-03 12:20:43 +09:00
yaapu
b14dcf1df5 Tools:autotest: updated FRSky SPort test to use new 2 byte data IDs 2021-06-02 17:33:15 +10:00
Pierre Kancir
cf350a52e9 Tools: Autotest: add --coverage option 2021-06-02 14:42:59 +10:00
Pierre Kancir
870eaac839 Tools: correct some coverage utilities 2021-06-02 14:42:59 +10:00
Pierre Kancir
d1cc8d2bf3 Waf: add coverage flags 2021-06-02 14:42:59 +10:00
Andrew Tridgell
3a1d2f1852 Replay: remove takeoff/touchdown event handling 2021-06-02 11:13:16 +09:00
Peter Barker
2439587c5a autotest: add tests for ground effect compensation active in EKF 2021-06-02 11:13:16 +09:00
Peter Barker
8925c2830b autotest: check fence upload/download when creating from locs 2021-06-01 15:54:59 +10:00
James O'Shannessy
819bb2938b AP_Periph: Correctly report Temperature to UAVCAN 2021-06-01 12:35:24 +10:00
Peter Barker
c1a20ceab4 autotest: add test to catch bug with opticalflow if no rangefinder 2021-06-01 11:31:42 +10:00
Randy Mackay
26ea80fc62 Tools: update default params for copter-optflow.parm 2021-06-01 09:57:16 +10:00
Andrew Tridgell
f3cc661ebd Tools: added HolybroGPS to autobuild 2021-06-01 09:19:51 +10:00
Andrew Tridgell
b8f3a0f83b Tools: added HolybroGPS bootloader 2021-06-01 09:19:51 +10:00
Andrew Tridgell
b6543e7a85 AP_Bootloader: added Holybro GPS board type 2021-06-01 09:19:51 +10:00
Hwurzburg
4335951c42 Tools: remove % as units on params that are unitless 2021-05-30 22:38:27 -07:00
James Harton
be3cc1b679 Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs. 2021-05-31 12:20:45 +10:00
bugobliterator
3390167753 AP_Periph: use AP_Notify enum for ToneAlarm types 2021-05-31 07:34:02 +10:00
Michael Oborne
126456742a Hwdef: add Joey 2021-05-27 14:19:55 +10:00