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
Andrew Tridgell
e7ca9d8e83
Tools: rebuild Pix32v5 bootloader
...
with right case
2021-05-27 09:30:30 +09:00
Pierre Kancir
7e389afbec
Tools: allow to build examples and tests with debug
2021-05-26 18:46:03 +10:00
Pierre Kancir
58358d9f97
Tools: correct arguments passing on autotest.py
2021-05-26 18:46:03 +10:00
bugobliterator
d00f75203c
Tools: add omnibusf4pro-one to build_ci to check single gps/compass build
2021-05-26 18:30:45 +10:00
Siddharth Purohit
a6f00e4f80
Tools: increase serial timeout to 2s from 1s in uploader script
2021-05-26 18:25:01 +10:00
Siddharth Purohit
cab86b7b78
bootloaders: rebuild CubeBlack_bl and CubeOrange_bl
2021-05-26 17:26:05 +10:00
bugobliterator
23757c249e
AP_Bootloader: free few bytes of flash as bootloader build overflew on devices with 16k flash
2021-05-26 17:26:05 +10:00
Peter Barker
8e61de37be
Tools: board_types.txt: reallocate 1033 to Joey, take 1034 for SeriphGPS
2021-05-26 16:32:47 +10:00
Leonard Hall
1326dbe2ee
AutoTest: Sub: Add appropriate pid parameters for highly damped system
2021-05-24 20:13:37 +10:00
Leonard Hall
41c437b768
AutoTest: Copter: fly_poshold_takeoff increase acceptable range
2021-05-24 20:13:37 +10:00
Peter Barker
0d05bb9732
Revert "waf: list boards 1/line in case of board-not-found error"
...
This reverts commit 8ab74d9462
.
This broke the build server which parses the output of this
2021-05-21 10:59:56 +10:00
Peter Barker
e46969957a
Tools: rename f103-periph/hwdef.dat to .inc (f303 too)
2021-05-20 17:23:17 +10:00
Pierre Kancir
458b6084fa
Tools: don't make report test failure on coverage
2021-05-20 14:54:47 +10:00
Pierre Kancir
fae2834341
Tools: update coverage script to python
2021-05-20 14:54:47 +10:00
Pierre Kancir
b9f55ba864
Tools: remove update-coverage.sh script
2021-05-20 14:54:47 +10:00
Pierre Kancir
109847c96d
Tools: use getopts on run-coverage and factorize code
2021-05-20 14:54:47 +10:00
Pierre Kancir
255cabc9db
Tools: remove more path from coverage
2021-05-20 14:54:47 +10:00
Peter Barker
2109fae56a
Tools: reserve a board ID for SierraF9PGPS
2021-05-20 14:17:45 +10:00
Siddharth Purohit
5a33100e91
Revert "bootloaders: rebuild bootloaders"
...
This reverts commit 4b2552b32b
.
2021-05-20 09:35:01 +10:00
Peter Barker
98753ec6dc
Tools: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
2021-05-19 17:38:47 +10:00
Peter Barker
8a3a609e3b
Tools: add can_sitl_nodev.sh which doesn't require a (e.g.) babel to run
2021-05-18 17:59:30 +10:00
Peter Barker
c7a9fb3c9c
autotest: retry dynamic notches 8 times before failing
...
This test is flapping.
This is a poor - but serviceable - workaround.
2021-05-18 11:13:10 +10:00
Peter Barker
8ab74d9462
waf: list boards 1/line in case of board-not-found error
...
This line is now way too long, and splitting it this way will allow the
output to be grepped for likely-looking board names.
2021-05-18 10:47:37 +10:00
Andy Piper
1eb4f478da
bootloaders: update KakuteF4 and KakuteF4Mini bootloaders for buzzer startup and board id
2021-05-18 10:02:36 +10:00
Peter Barker
0a06a9e446
param_metadata: reinstance @Values/@Bitmask magic for excluding params from vehicle output
2021-05-17 10:18:35 +10:00
Peter Barker
eb2b1b3231
Tools: param_meteadata: correct @Values{Plane} etc handling
2021-05-17 10:18:35 +10:00
liang
891cc94577
AP_Bootloader: check VBUS for fast boot
2021-05-14 15:48:30 -07:00
Peter Barker
3eb164fb6a
autotest: move script helper functions from rover to common
2021-05-14 13:21:36 +10:00
Peter Barker
3d562046da
autotest: add accuracy option to guided_achieve_heading
2021-05-14 13:21:36 +10:00
climr
b46f621fc6
AP_HAL_ChibiOS: add two new horizon31.com boards
...
PixC4-Pi and PixC4-Jetson
2021-05-14 12:04:29 +10:00
Peter Barker
c18c4ad6ec
Tools: param_metadata: remove use of dirname when creating Vehicle
...
So a Vehicle object takes a truename - i.e. Copter, not ArduCopter, but
can also take a "reference", which is used for e.g. constructing RST
tags.
2021-05-13 21:09:45 +10:00
Peter Barker
3ea9307419
Tools: param_metadata: flake8 cleanliness
2021-05-13 21:09:45 +10:00
Peter Barker
1123de112c
Tools: param_metadata: tidy finding of Vehicle parameter file
2021-05-13 21:09:45 +10:00
Peter Barker
97e57932c4
Tools: param_metadata: remove more multi-vehicle support
...
This script hasn't supported emitting multiple vehicles for a very long
time, but this was enforced using a check and we kept a list of vehicles
around for no very good reason.
2021-05-13 21:09:45 +10:00
Stephen Dade
ab9a221f2e
Tools: Update Cygwin environment install for Python 3.7
2021-05-13 06:38:33 +10:00
Andy Piper
1700ab814e
AP_Bootloader: change id to AP range
2021-05-12 17:26:35 +10:00
Andy Piper
319a6404c4
Tools: add KakuteF4Mini to board types and scripts
2021-05-12 17:26:35 +10:00
Andy Piper
43ea90f264
Tools: KakuteF4Mini bootloader
2021-05-12 17:26:35 +10:00
bugobliterator
4b2552b32b
bootloaders: rebuild bootloaders
2021-05-12 17:21:14 +10:00
bugobliterator
3edf26dff9
Bootloader: complete GET_DEVICE commands before allowing timeout reset
2021-05-12 17:21:14 +10:00
Andy Piper
2df7b5453e
autotest: add test for ESC telemetry driven notches.
2021-05-12 17:01:11 +10:00
Peter Barker
d2f78c69be
autotest: add a simple test for SMART_RTL
2021-05-12 13:01:50 +10:00
Peter Barker
9965f1a31d
autotest: add some helpers for local-position movement
2021-05-12 13:01:50 +10:00
Peter Barker
7ab094f3a1
autotest: tidy fly_guided_move_local
2021-05-12 13:01:50 +10:00
Peter Barker
1d6efbd56f
autotest: fix loiter_to_ne
...
Co-Authored-By: leonardthall@gmail.com
2021-05-11 14:51:28 +10:00
TunaLobster
19c7e349f9
Tools: Add cygwin package to env install scripts for SITL binaries
2021-05-11 10:39:12 +09:00
Andrew Tridgell
8bad533a8e
Tools: build FreeflyRTK in CI
...
this is our only F732 build
2021-05-09 06:44:19 +10:00
Andrew Tridgell
03132c378d
Tools: added FreeflyRTK bootloaders
2021-05-09 06:44:19 +10:00
Andrew Tridgell
c5182e6c16
Tools: auto-build FreeflyRTK
2021-05-09 06:44:19 +10:00
Andrew Tridgell
a23e821f94
AP_Periph: allow safety LED as backup main LED for DNA
2021-05-09 06:44:19 +10:00
Andrew Tridgell
efe8042fbe
AP_Periph: allow for reboot while in DNA
2021-05-09 06:44:19 +10:00
Andrew Tridgell
724cea2b0d
AP_Periph: allow build with no PWM to allow for notify
2021-05-09 06:44:19 +10:00
Andrew Tridgell
44eadb7291
AP_Bootloader: added FreeflyRTK board type
2021-05-09 06:44:19 +10:00
Peter Barker
04aed49572
autotest: adjust GyroFFT threshold to make it pass
...
From Andy:
Can you make this 0. The test should then pass. I'm not terribly happy about it but its better than disabling the test and I can't tell whether there is actually a problem or not.
2021-05-07 18:30:08 +10:00
Peter Barker
0a235ce094
autotest: remove retry loop from within GyroFFT
...
This effectively removes an infinite loop from the GyroFFT test.
2021-05-07 18:30:08 +10:00
Peter Barker
765889b827
autotest: don't send statustext during exception
...
During an exception we don't want to be trying to print these
2021-05-07 14:21:44 +10:00
Peter Barker
f78cf73726
autotest: don't fail completely if ArduPilot process dies
2021-05-07 12:22:11 +10:00
Peter Barker
b04dfda9fb
autotest: enable deca and dodeca frames in FlyEachFrame test
2021-05-06 16:26:28 +10:00
Peter Barker
cf4acaa2aa
autotest: re-enable quadplane QAutoTune test
2021-05-05 23:43:59 +10:00
Andy Piper
2b327af79b
AP_Periph: use tone alarm types
2021-05-05 17:41:24 +10:00
James O'Shannessy
bc38d8a78c
AutoTest: Fix autotest from failing due to state from earlier test
...
Autotest was failing because there was an expectation that the plane would fly relatively north from the takeoff point.
This assumption may not be true. We work around it by using a tin can instead of an exclusion polygon so that we breach no matter the direction we fly.
2021-05-05 10:59:10 +10:00
James O'Shannessy
0e656c1504
AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present
2021-05-05 10:59:10 +10:00
Peter Barker
9a13b5c9b6
autotest: add test for auxfunc triggering via script
2021-05-05 07:13:18 +10:00
Iampete1
8544d00c97
Tools: rename TURN_MAX_G to ATC_TURN_MAX_G in param sets
2021-05-03 19:22:16 -04:00
Iampete1
aa72b7da46
Tools: autotest: Plane: add loiter terrain following test
2021-05-02 18:51:27 +10:00
Traxius1
619e6cb1b7
Tools: added name to GIT_Success.txt
2021-05-02 09:28:57 +10:00
Peter Barker
57abaf0dec
autotest: remove retry loop from within GyroFFTHarmonic
2021-05-01 21:30:28 +10:00
Peter Barker
4928ec18af
autotest: remove retry loop from within fly_dynamic_notches
...
We retried externally to the test - may as well do so within
2021-05-01 21:30:28 +10:00
Peter Barker
8fdfdebe55
autotest: pass sitl_commandline_customised up the context stack
...
We're running tests on the Callisto frame when we shouldn't in Copter as
the information was lost in nested Contexts.
We can only reset the SITL commandline at an actual Test level - if a
defaults file has been used then it is unclear as to what the state of
any parameter is in storage as we move between contexts
2021-05-01 17:22:36 +10:00
Peter Barker
117a44b589
autotest: remove corefiles at start of run
...
These lead to false-positive failures in the test suite
2021-05-01 17:22:36 +10:00
Peter Barker
2cd0099bbc
autotest: exclude decarotor from fly-each-frame-test
2021-05-01 13:25:13 +10:00
Peter Barker
76678ffaf3
autotest: fix octa-cwx in SITL
2021-05-01 13:25:13 +10:00
Peter Barker
5172e767df
autotest: fix octa-dji in SITL
2021-05-01 13:25:13 +10:00
Peter Barker
c7c4c17c68
autotest: improve change_mode debug
2021-05-01 13:25:13 +10:00
Peter Barker
63ba484087
autotest: add test which flies each frame we can
2021-05-01 13:25:13 +10:00
jbarrozo
3b1f5f0b15
autotest: added Boquig
2021-04-29 13:35:22 +10:00
Peter Barker
40a84bc566
Replay: link AP_Avoidance
...
[864/864] Linking build/bbbmini/tools/Replay
11:47:27 runner ['/usr/lib/ccache/arm-linux-gnueabihf-g++', '-Wl,--gc-sections', '-pthread', 'Tools/Replay/DataFlashFileReader.cpp.34.o', 'Tools/Replay/LR_MsgHandler.cpp.34.o', 'Tools/Replay/LogReader.cpp.34.o', 'Tools/Replay/MsgHandler.cpp.34.o', 'Tools/Replay/Replay.cpp.34.o', '-otools/Replay', '-Wl,-Bstatic', '-Llib', '-lReplay_libs', '-Wl,-Bdynamic', '-lm', '-ldl']
lib/libReplay_libs.a(RC_Channel.cpp.0.o): In function `RC_Channel::do_aux_function_avoid_adsb(RC_Channel::AuxSwitchPos)':
RC_Channel.cpp:(.text._ZN10RC_Channel26do_aux_function_avoid_adsbENS_12AuxSwitchPosE+0x4): undefined reference to `AP::ap_avoidance()'
2021-04-29 13:00:40 +10:00
Vladimir Ermakov
50641e8f7c
Tools: add Ubuntu 21.04 to environment setup script
...
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-04-29 12:37:03 +10:00
Peter Barker
e4c405b77b
autotest: add a test for Spline missions showing terrain requirement
2021-04-28 18:40:26 +10:00
Iampete1
3bea2fd89b
Tools: autotest: defualts: setup direct acutated wing servo
2021-04-28 08:22:47 +01:00
Iampete1
0628aa9e29
Tools: autotest: add sailboat autotest
2021-04-28 15:16:35 +10:00
Peter Barker
fc426e01c2
autotest: stop using start_test for things that aren't actually tests
...
start_test should only be used for top-level tests, not parts of
top-level tests
2021-04-28 13:53:46 +10:00
Peter Barker
6af0f460af
autotest: add duplicate-logmessage-field sanity check
2021-04-27 16:38:40 +10:00
Andrew Tridgell
b6fde7ed5a
Tools: added can_sitl.sh to make using SITL with real CAN devices easy
2021-04-27 09:01:02 +10:00
QioTek
278593a6a0
HAL_ChibiOS: added f103-QiotekPeriph
...
HAL_ChibiOS: added f103-QiotekPeriph
2021-04-24 07:48:40 +10:00
Andrew Tridgell
a04e8746a4
waf: removed debug code
...
this was in to test cygwin ar behaviour on linux. It should not have
been committed.
Thanks to Andy for letting me know it broke MacOS
2021-04-23 05:50:23 +10:00
Andrew Tridgell
4c9fc334cc
CI: enable cygwin build in github actions
...
this will allow us to drop azure builds once this is confirmed working
2021-04-22 14:03:19 +10:00
Hwurzburg
6235f7f8f4
AP_Periph: fix metadata error preventing emitting to wiki
2021-04-21 17:31:43 -07:00
Andrew Tridgell
c88524a1ac
Tools: auto-build luminousbee5
2021-04-21 20:41:34 +10:00
Andrew Tridgell
de893a2530
Tools: allocate ID 1029 for luminousbee5
...
1028 will be the FreeflyRTK
2021-04-21 20:41:34 +10:00
Andrew Tridgell
928108e556
Tools: added luminousbee5 bootloader
2021-04-21 20:41:34 +10:00
Andy Piper
5eca0c61c4
waf: add support for --enable-stats
2021-04-21 17:14:11 +10:00
Peter Barker
30e8160aa1
autotest: sort logs before moving
...
Makes it easier to find last log in output.
Also removing pointless lamdaing of some functions
2021-04-21 13:16:24 +10:00
Pierre Kancir
927a875133
Tools: param_parse: fix vehicle specific parameter with multiple fields
2021-04-21 11:30:54 +10:00
Peter Barker
0ee0228883
autotest: fix flapping fly-home-land-and-disarm
...
One of the tests just happened to be within acceptance radius of
waypoint 8 - so when we set that as a waypoint we never saw it actually
be our waypoint so the set_waypoint failed
2021-04-20 23:04:24 +10:00
Andrew Tridgell
878bd3f0fe
waf: use /usr/bin/ar not arm-none-eabi-ar on cygwin
...
needed to allow for @FILE syntax for long arg lists
2021-04-20 18:43:20 +10:00
Peter Barker
8643322f06
autotest: correct string we expect from MAVProxy
...
Was APM: now AP:
2021-04-20 14:08:12 +10:00
Tom Pittenger
e0cfac902d
AP_Periph: populate the param meta data for the wiki
2021-04-19 09:19:04 -07:00
Peter Barker
c12d1938c2
autotest: add a test for button change for changing modes
2021-04-19 14:27:45 +10:00
Andrew Tridgell
6a12b612b1
AP_Periph: fixed DShot in AP_Periph
2021-04-16 07:11:50 +10:00
Andrew Tridgell
be161744db
autotest: adjust default plane tune
2021-04-15 06:57:16 +10:00
Andrew Tridgell
0be24c4946
Tools: convert old param files to new plane PID params
2021-04-15 06:57:16 +10:00
Andrew Tridgell
239e794909
Tools: added script to convert old plane PIDs
2021-04-15 06:57:16 +10:00
Andrew Tridgell
0d9d952aea
autotest: added SpringValley2
2021-04-15 06:57:16 +10:00
Andrew Tridgell
ae986967c9
Tools: add G4-ESC to build
...
this ensures G4 keeps building
2021-04-14 13:11:58 +10:00
Peter Barker
31c889f583
autotest: accept Copter/Plane/Sub for sim_vehicle.py
2021-04-12 13:35:16 +10:00
Andrew Tridgell
affff0fc84
Tools: test mission from Leonards S-curve talk
2021-04-11 19:16:09 +10:00
Peter Barker
f2692ab8d9
Tools: build_parameters: generate AP_Periph parameters
2021-04-11 11:31:41 +10:00
Peter Barker
27b6637c2d
Tools: param_parse.py: add support for generation for AP_Periph
2021-04-11 11:31:41 +10:00
Peter Barker
725e36b381
AP_Periph: correct paths to libraries
...
These were a mixture. This allows param_parse.py to function
appropriately.
2021-04-11 11:31:41 +10:00
Vineet
f847066596
Tools: added my name to the GIT_Success
...
Tools: added my name to GIT_Success
autotest: correct compilation of Replay in autotest suite
Tools: added my name to GIT_Success
added my name to GIT_Success
2021-04-10 17:48:20 +09:00
Peter Barker
f7fc76f8ab
Tools: build_parameters.sh: generate SITL parameters
2021-04-10 11:28:22 +10:00
Peter Barker
b107740542
Tools: param_parse: add --sitl to emit only SIM_ parameters
2021-04-10 11:28:22 +10:00
anbello
c83774a7cd
add revo-mini-* to build_binaries.py
2021-04-08 20:34:06 +10:00
Randy Mackay
0b9753b12f
Tools: autotest add vehicle info for rover-vectored
2021-04-08 08:47:07 +09:00
Randy Mackay
d00e63d14b
Tools: add default params for rover-vectored
...
Co-authored-by: srmainwaring <rhys.mainwaring@me.com>
2021-04-08 08:47:07 +09:00
Peter Barker
b369e86c0c
Tools: param_parse: remove references to APM in parameter generation
2021-04-07 17:08:25 +10:00
Peter Barker
229b25d916
Tools: param_parse: add *args and **kwargs to emitters
2021-04-07 17:08:25 +10:00
Peter Barker
5a927d84c8
Tools: param_parse: rejig selection of emitters
2021-04-07 17:08:25 +10:00
Peter Barker
5ef5fc9d84
Tools: param_parse: stop generating old .wiki format
2021-04-07 17:08:25 +10:00
Peter Barker
c3414a5767
Tools: param_parse: move init of variable lower
2021-04-07 17:08:25 +10:00
Peter Barker
4c6b07e950
Tools: param_parse: remove support for Parameters.pde
2021-04-07 17:08:25 +10:00
Peter Barker
c350268918
autotest: correct compilation of Replay in autotest suite
2021-04-05 16:39:36 +10:00
Peter Barker
ea4bbcf6ee
autotest: add test for copter position reset
2021-04-05 00:02:42 +10:00
Randy Mackay
ab2e429f32
Tools: Copter.fly_square descends more quickly
2021-04-03 12:07:59 +09:00
Randy Mackay
f341429977
Tools: Copter.RTLSpeed gets increased speed tolerance
2021-04-03 12:07:59 +09:00
Randy Mackay
c04f686ce7
Tools: extend copter NavDelay test by 80sec
...
s-curves slows missions slightly
2021-04-03 12:07:59 +09:00
Peter Barker
f0094bac40
autotest: remove copied-in duplicate of pymavlink rotmat
2021-04-03 13:26:06 +11:00
Peter Barker
dfa342a79f
autotest: correct rc-values-good debug
2021-04-03 08:59:14 +11:00
Peter Barker
7d9daccdf7
autotest: fix mavproxy switch test
...
The order in which we fix the environment means that we need to be
listening on the correct port for rc values - so just fix it in the test
2021-04-03 08:58:52 +11:00
Peter Barker
d384ba6585
autotest: increase time permitted for Copter to turn east
...
Sometimes they turn almost 360 which takes a while
2021-04-02 21:29:43 +11:00
Peter Barker
2c6bdd200c
autotest: fix make_safe_filename for Valgrind
...
Valgrind treats this as a format string so the % is bad
2021-04-02 20:51:18 +11:00
Peter Barker
18ded114ae
Tools: param_metadata; stop prettifying XML before emitting
...
indent is not available on our documentation server:
[build_parameters.py]
Traceback (most recent call last):
File "./param_parse.py", line 422, in <module>
do_emit(XmlEmit())
File "./param_parse.py", line 415, in do_emit
emit.close()
File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Peter Barker
cee348d082
Tools: make and declare bisect-helper.py flake8-compliant
2021-04-01 19:11:50 +11:00
Peter Barker
ee79895a4e
Tools: make and declare examples.py flake8-compliant
2021-04-01 19:11:50 +11:00
Peter Barker
79d34b3b64
Tools: make and declare build_binaries.py flake8-compliant
2021-04-01 19:11:50 +11:00
Peter Barker
fff4aa8bde
autotest: increase allowed time for climb_before_turn to get home
2021-04-01 19:11:31 +11:00
Peter Barker
f988064e48
Tools: add a tool to help determine best speedup for autotest
2021-04-01 11:27:17 +11:00
Peter Barker
d2c00f7b26
autotest: ensure RC thread is killed after each run_test
...
Every run_test starts a thread. del is not being called. So clean it
up in the caller
2021-04-01 11:00:54 +11:00
Peter Barker
500679ec5b
autotest: correct creation of default parameters
...
Simulation won't start if nothing is connected to 5760 - so just connect
mavproxy there
2021-03-31 23:29:47 +11:00
Peter Barker
ba972b6b46
autotest: fix --map option
2021-03-31 16:30:25 +11:00
Peter Barker
d621fe0cde
autotest: correct sub gripper mission
...
Ordinarily not run because gripper is disabled
2021-03-31 13:43:31 +11:00
Peter Barker
e8f96efe72
autotest: wait for stats initialisation before rebooting
...
If the RTC time we reset parameters (STAT_RESET) is zero then we reset all parameters.
In SITL we only set that time if we see a GPS due to the AP_RTC RTC_TYPES parameter default bitmask value of 1
So if you reboot SITL fast enough while STAT_RESET is zero you can see that STAT_BOOTCNT does not increase. Easily reproducible in SITL; start with -w and type reboot in several times before SITL sees the GPS come up and you can see STAT_BOOTCNT doesn't increase.
Fix is to ensure STAT_RESET is non-zero before rebooting.
2021-03-31 13:33:39 +11:00
Michelle Rossouw
cd18e16ffb
autotest: added blimp simulator type
2021-03-31 12:27:07 +11:00
Peter Barker
30ebe6cde9
autotest: augment test DO_AUX_FUNCTIION test for FAILED AND DENIED
2021-03-31 11:36:09 +11:00
Peter Barker
b2f47ba367
autotest: add test for auxilliary functions in missions
2021-03-31 11:36:09 +11:00
Peter Barker
b55094fef4
autotest: Test triggering Auxillary Functions via mavlink
2021-03-31 11:36:09 +11:00
Manny Rodriguez
369e11c662
Tools: added name to GIT_Success.txt
...
from tutorial (https://ardupilot.org/dev/docs/git-branch.html ), step #6
2021-03-31 08:28:41 +09:00
Andrew Tridgell
5304dfe213
waf: set NDEBUG define to avoid assert issues
...
this avoids future assert() calls from affecting STM32 HAL_ChibiOS
builds
2021-03-30 11:05:13 +11:00