Paul Riseborough
e835da41fa
Tools: Define momentum drag
2020-12-11 15:21:41 +11:00
Andrew Tridgell
5fc68a1ce5
autotest: adjust for new baro SITL param names
2020-12-11 15:21:41 +11:00
Peter Barker
813723d0b7
autotest: add test for needing AHRS to be healthy to arm
2020-12-11 09:55:40 +11:00
Peter Barker
9ad2961664
autotest: allow regex for matching wait_statustext
2020-12-11 07:35:02 +11:00
Peter Barker
50957fff89
Tools: autotest: bisect-helper.py can run autotest by name
2020-12-11 07:35:02 +11:00
Tom Pittenger
0c5cc16d7b
AP_Periph: populate more fields in batteryinfo
2020-12-09 07:52:15 -08:00
Randy Mackay
9803a70d3f
Tools: copter autotest spelling and format fixes
2020-12-09 19:30:48 +09:00
Randy Mackay
665e6ccdcb
Tools: copter GCS fs tests explicitly set FS_GCS_ENABLE and FS_OPTIONS
2020-12-09 19:30:48 +09:00
Peter Barker
0406b28abd
autotest: print exception if caught in test_alt_estimate_prearm
2020-12-09 18:06:18 +11:00
Peter Barker
cecdc798ca
autotest: present strings for unexpected results in run_cmd_get_ack
2020-12-09 14:09:44 +11:00
Andrew Tridgell
39c21e662d
AP_Periph: check compass and baro health before using
2020-12-08 20:41:12 +11:00
Andrew Tridgell
74813e7761
AP_Periph: stop sending airspeed when unhealthy
2020-12-08 20:41:12 +11:00
giacomo892
75333dcd2f
AP_Periph: support output of MSP airspeed sensor
2020-12-08 20:41:12 +11:00
Tom Pittenger
f62a27ca8a
Tools/AP_Bootloader: differentiate FAIL_REASON_BAD_LENGTH errors
2020-12-08 14:23:11 +11:00
Andrew Tridgell
d0c1fd701f
AP_Periph: prevent loop stuck internal error in AP_Periph bootloader flash
2020-12-08 13:22:36 +11:00
Andrew Tridgell
c6548cc1b9
autotest: fixed use of GND prefix
2020-12-08 13:22:17 +11:00
Andrew Tridgell
3f6fd49507
Replay: rename baro params to BARO*
2020-12-08 13:22:17 +11:00
Andrew Tridgell
dde940380f
Tools: update param files to not reference GND parameters
2020-12-08 13:22:17 +11:00
Andrew Tridgell
cd2f2f96eb
rename barometer parameters to BARO prefix
2020-12-08 13:22:17 +11:00
murata
59445674e7
scripts: Support for decacopters
2020-12-08 11:59:10 +11:00
murata
690d64d664
LogAnalyzer: Support for decacopters
2020-12-08 11:59:10 +11:00
murata
2d55c2c42f
pysim: Support for decacopters
2020-12-08 11:59:10 +11:00
murata
a46333eff5
Tools: Support for decacopters
2020-12-08 11:59:10 +11:00
Peter Barker
768e3e7931
autotest: adjust Vicon test for new PREARM-checking code
...
The new check that the prearms-passing bit from the autopilot
indicated prearms have passed was failing here because the yaw isn't
alighed until we frob channel 7.
The intent of the prearm seems ot have been to ensure we can get a
global position - that can be accomplished by polling the home position.
2020-12-07 11:21:30 +11:00
Peter Barker
9207bd8a8a
autotest: remove armability check from compass calibration test
...
The new prearm-checking code has shown that we're not actually armable
after all!
Even the new prearm bit won't tell you if you can arm - you have to arm
to test that!
2020-12-07 11:21:30 +11:00
Peter Barker
087300749c
autotest: ensure we have position without being armable for compass cal check
2020-12-07 11:21:30 +11:00
Peter Barker
38e324f141
autotest: do not check prearm bit in dataflash-over-mavlink
...
We won't be armable - but the other checks we make will ensure we get
the error we are looking for
Also use a more reliable way of draining the data from the autopilot
2020-12-07 11:21:30 +11:00
Peter Barker
5707d8ecc0
autotest: check new MAV_SYS_STATUS_PREARM_CHECK in wait_ready_to_arm
2020-12-07 11:21:30 +11:00
Andrew Tridgell
97cbf17d01
Tools: added HitecMosaic to autobuild
2020-12-06 16:48:08 +11:00
Andrew Tridgell
cb34025fef
Tools: added HitecMosaic bootloader
2020-12-06 16:48:08 +11:00
Andrew Tridgell
9fa60be1ba
AP_Periph: break out node status send
2020-12-06 16:48:08 +11:00
Andrew Tridgell
6ce9207394
AP_Periph: set HitecMosaic as AP_Periph target
2020-12-06 16:48:08 +11:00
Peter Barker
be52e642f7
autotest: adjust Replay gps bit to make final logfile replayable
2020-12-03 17:28:26 +11:00
Peter Barker
d0236ceac9
Replay: check_replay_branch.py: inspect all logs for replayability
2020-12-03 17:28:26 +11:00
Randy Mackay
28e769a79e
Tools: link AP_WheelEncoder for all vehicles
2020-12-01 14:01:17 +09:00
Andrew Tridgell
0c2770a8d4
AP_Periph: added DEBUG parameter for displaying stack usage
2020-12-01 11:14:50 +11:00
Andrew Tridgell
d586a2d853
AP_Periph: added magic FLASH_BOOTLOADER=42/43 values
...
when FLASH_BOOTLOADER=42 we will enter into a lockup loop, which will
trigger a watchdog. This is useful for testing watchdog support
2020-12-01 11:14:50 +11:00
Peter Barker
ba0367fa9f
Replay: add check_replay_branch.py to check for EKF output changes
...
Create a replay log using master branch.
Check out a specified branch, compile and run Replay against replay log
Run check_replay.py over the produced log
2020-12-01 10:40:09 +11:00
Peter Barker
8d756d8758
Replay: check_replay.py: default to print for progress function
2020-12-01 10:40:09 +11:00
Andrew Tridgell
4e4a044d5d
Tools: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
2020-12-01 10:33:50 +11:00
Peter Barker
17f806cdb9
autotest: add test for execution of button-bound functions
2020-12-01 10:06:57 +11:00
Peter Barker
12f001066b
autotest: split out a wait_armed function
2020-12-01 10:06:57 +11:00
Peter Barker
211cd5255d
autotest: tweak beacon test to be replay-friendly
2020-11-30 18:50:24 +11:00
Peter Barker
498b0b79a3
autotest: Replay tests OpticalFlow and Beacons
...
autotest: run Replay on log generated by test.Copter.BeaconPosition
autotest: test OpticalFlow in replay tests
2020-11-30 18:50:24 +11:00
Tom Pittenger
58c7f8279d
Tools/autotest: fix CI by updating new ADSB_ENABLE->ADSB_TYPE param name
2020-11-30 16:05:17 +11:00
Tom Pittenger
2218f8292a
Tools: remove ADSB param that is already default
2020-11-30 16:05:17 +11:00
Andrew Tridgell
895b9a34f9
Tools: support uartI, allowing a total of 9 uarts
...
this allows for OTG2 on the MatekH743 board, which makes SLCAN much
easier
2020-11-30 14:09:31 +11:00
Mehmet Recep Aşkar
31ebcdff75
Tools: added name to GIT_Success.txt
2020-11-30 08:28:54 +09:00
Pierre Kancir
cd98129022
Autotest: fix css loading for autotest.ardupilot.org
2020-11-28 19:14:16 +11:00
Phillip Kocmoud
602388224b
AP_Bootloader: Repurpose unused mRo board ID
2020-11-28 17:16:55 +11:00
Randy Mackay
bce3c551e7
Tools: sub set-position-target-global-int sends target once
2020-11-27 10:52:17 +09:00
Randy Mackay
d63fe1eb6c
Tools: sub set-position-target uses negative altitude
2020-11-27 10:52:17 +09:00
Pierre Kancir
07ffac429b
Tools: rover: add test for slew rate
2020-11-25 17:49:20 +09:00
Peter Barker
ab95a1f8fd
Tools: create a heading function to remove duplication
2020-11-25 18:51:43 +11:00
Peter Barker
8be13ac5db
Tools: update instrall-prereqs-ubuntu for groovy
2020-11-25 18:51:43 +11:00
Peter Barker
9e20f4a68d
autotest: add a test for compass yaw sources
2020-11-25 15:19:00 +11:00
Tom Pittenger
cf2b3d9bc6
AP_Periph: add AP_BattMonitor support
2020-11-25 14:20:53 +11:00
Pierre Kancir
2e5a5cd43f
Tools: correct comment on SITLtest-can
2020-11-25 10:10:03 +11:00
Andrew Tridgell
3366ee9496
Tools: fixed replay CI build
2020-11-24 20:46:37 +11:00
Peter Barker
3f6b398a01
autotest: include EK2,EK3 and DAL LogStructures in code-defined messages
2020-11-24 15:33:37 +11:00
Peter Barker
b788a172c8
autotest: add simple test for IE24 generator
...
Tools: Modified richenpower autotest setup
autotest: IE24: Add error code failsafe test
2020-11-24 12:54:52 +11:00
Pierre Kancir
6534557832
Tools: fix replay build on build_ci.sh
2020-11-24 10:10:33 +11:00
Peter Barker
935d39322c
autotest: correct test for mode-change-reason change
2020-11-24 10:09:37 +11:00
Randy Mackay
f257dc20d0
Tools: add test.Copter.GPSViconSwitching to CopterTests1d
2020-11-20 16:43:44 +09:00
Randy Mackay
b6fe039a9f
Tools: autotest for beacon sets EK3_SRC params
2020-11-20 16:43:44 +09:00
Phillip Kocmoud
ef80935173
Bootloader: Add bootloader for Pixracer Pro and Control Zero OEM H7
2020-11-18 18:28:24 +11:00
Phillip Kocmoud
701ab83f01
HAL_ChibiOS: Added support for mRo ControlZero OEM H7 flight controller
2020-11-18 18:28:24 +11:00
Andrew Tridgell
ce95b7e81a
waf: added --enable-memory-guard option
2020-11-18 17:14:43 +11:00
Andrew Tridgell
70a8853e6a
Replay: adjust lost message threshold
...
this needs to be a bit higher to cope with truncated logs (if SITL
ends in the middle of an EKF log write then we end up with a mismatch
in log msg counts)
2020-11-18 14:56:19 +11:00
Andrew Tridgell
32bead6013
Replay: use common events and structures
...
allows for --force-ekf2 and --force-ekf3 to run the other EKFs events
when needed
2020-11-17 13:45:07 +11:00
Andrew Tridgell
1250f62c88
Replay: fix for WriteV usage and cleanup unused code
2020-11-16 10:28:43 +11:00
Andrew Tridgell
e143257f8a
Replay: added GSF msgs to check_replay.py
2020-11-16 10:28:43 +11:00
Andrew Tridgell
e122d8ae8e
Replay: allow build with "./waf replay"
...
a bit easier to remember
2020-11-16 10:28:43 +11:00
Tom Pittenger
3b6513b932
Tools: add CubeBlack to list of AP_Periph supported boards
2020-11-14 02:26:59 -08:00
Michael du Breuil
960437d446
Tools: Add the SFML configuration flags as needed for joysticks
2020-11-13 15:38:22 +11:00
Peter Barker
29b913cd41
autotest: avoid using undefined fmt variable
2020-11-12 21:00:04 +11:00
bugobliterator
f502af99b2
AP_Periph: fix uninitialised buffer arrays
2020-11-11 19:52:37 +11:00
Peter Barker
55697a8f8e
Tools: correct decoding of hex values in watchdog decoder
2020-11-11 19:27:49 +11:00
Peter Barker
58bdae1b52
autotest: get Valgrind closer-to-working
...
This gets us past the reboot problem for the most part, where Valgrind doesn't like you exec'ing
2020-11-11 18:22:58 +11:00
Andrew Tridgell
00cfc1932f
autotest: fixed arm delay in replay test
...
thanks to Peter
2020-11-10 16:15:45 +11:00
Andrew Tridgell
2e60fbc6d3
waf: fixed headers check
2020-11-10 16:15:45 +11:00
Andrew Tridgell
7308384cdc
Replay: require a filesystem for replay
2020-11-10 16:15:45 +11:00
Andrew Tridgell
20ecac5e9f
Replay: fixed build on boards with OSD
2020-11-10 16:15:45 +11:00
Andrew Tridgell
5f669e22ff
autotest: adjust optical flow speed test
2020-11-10 16:15:45 +11:00
Andrew Tridgell
4edc784dc4
Replay: allow replay on ChibiOS
2020-11-10 16:15:45 +11:00
Andrew Tridgell
1a1ca7cca7
autotest: fly a bit higher in optical flow test
...
test was occasionally hitting the ground
2020-11-10 16:15:45 +11:00
Andrew Tridgell
7568639af7
Replay: don't build on chibios
2020-11-10 16:15:45 +11:00
Andrew Tridgell
025cf8f72b
autotest: cleanup load_local_module
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0ca54016bb
Replay: cleanup use of globals
2020-11-10 16:15:45 +11:00
Andrew Tridgell
690af580c9
autotest: abstract out load_local_module()
...
this will be useful for other tests
2020-11-10 16:15:45 +11:00
Andrew Tridgell
f674d124d6
autotest: use SITL replay
2020-11-10 16:15:45 +11:00
Andrew Tridgell
85aa64780c
Replay: allow replay to run on SITL instead of linux HAL
2020-11-10 16:15:45 +11:00
Andrew Tridgell
7b50780c5e
autotest: fixed rmtree error in autotest
2020-11-10 16:15:45 +11:00
Andrew Tridgell
a37cae5dae
autotest: added test.Copter.Replay test
2020-11-10 16:15:45 +11:00
Andrew Tridgell
f1f547f723
Replay: allow check_replay to be called as library
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0d8a36d0c0
Replay: fixed linux build warning
2020-11-10 16:15:45 +11:00
Andrew Tridgell
3dff0b3d58
autotest: removed dcm yaw test
...
this should not be part of replay PR
2020-11-10 16:15:45 +11:00
Andrew Tridgell
541d11ee05
Replay: cleanup unused code
2020-11-10 16:15:45 +11:00
Andrew Tridgell
fb4b149a73
travis: fixed for tools group for DAL standalone
2020-11-10 16:15:45 +11:00
Andrew Tridgell
367c993673
Replay: fixed cast of REY3
2020-11-10 16:15:45 +11:00
Andrew Tridgell
e7fa722290
Replay: support overriding parameters
2020-11-10 16:15:45 +11:00
Andrew Tridgell
18e3c478f3
travis: added replay to travis build tests
2020-11-10 16:15:45 +11:00
Andrew Tridgell
403275beea
autotest: added RBOH message
2020-11-10 16:15:45 +11:00
Andrew Tridgell
3d2f07e757
Replay: support body frame odometry
2020-11-10 16:15:45 +11:00
Andrew Tridgell
4a06641048
autotest: added RWOH message
2020-11-10 16:15:45 +11:00
Andrew Tridgell
afb11cf29b
Replay: support wheel odomotry
2020-11-10 16:15:45 +11:00
Andrew Tridgell
7f0113b82d
autotest: added REPH and REVH
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0ee8b415f2
Replay: support external position and velocity data
2020-11-10 16:15:45 +11:00
Andrew Tridgell
ef5baaf482
autotest: added ROFH msg
2020-11-10 16:15:45 +11:00
Andrew Tridgell
1fb421ae6a
Replay: handle optical flow
...
and move frame processing to AP_DAL
2020-11-10 16:15:45 +11:00
Andrew Tridgell
614a77d2c9
Replay: allow for early log end in check_replay.py
...
when session is killed we can lose one frame worth of EKF msgs
2020-11-10 16:15:45 +11:00
Andrew Tridgell
4cd5ac5164
Replay: add call to RFRF handler
2020-11-10 16:15:45 +11:00
Andrew Tridgell
8ba067608b
autotest: cope with LogStructure.h in multiple places
...
and allow for no docs in replay msgs
2020-11-10 16:15:45 +11:00
Andrew Tridgell
09265a8a9b
Replay: improved failure reporting in check_replay.py
2020-11-10 16:15:45 +11:00
Andrew Tridgell
42d62e138b
Tools: updated test helpers to assist in replay testing
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Andrew Tridgell
3ae237b652
autotest: started work on replay testing
2020-11-10 16:15:45 +11:00
Andrew Tridgell
161f2a8d2f
autotest: improved error msg for missing doc fields
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0c1d665818
waf: support no-gcs and DAL builds
2020-11-10 16:15:45 +11:00
Andrew Tridgell
81f96aedd2
Replay: new replay implemention
...
this uses log msgs from AP_DAL to replay more accurately
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Siddharth Purohit
87564f145b
AP_Periph: add docs for CAN SITL
2020-11-09 19:37:00 +11:00
Peter Barker
c786e3560c
Tools: decode_watchdog.py: tool to decode watchdog information
2020-11-07 09:59:04 +11:00
Peter Barker
b55838f7ff
Tools: make decode-ICSR script an object
2020-11-07 09:59:04 +11:00
bugobliterator
c1dc6465cf
Tools: add CANGPSCopterMission mission file
2020-11-04 19:59:40 +11:00
bugobliterator
c72c96fa9c
Tools: setup CI test for CANBus
2020-11-04 19:59:40 +11:00
bugobliterator
60e8d747c6
AP_Periph: fix build type for SITL builds to use "sitl_*"
2020-11-04 19:59:40 +11:00
bugobliterator
ed3683fce3
AP_Periph: use native_millis for use in SITL
2020-11-04 19:59:40 +11:00
bugobliterator
48b59973b5
waf: add sitl_gps support to simulate AP_Periph GPS
2020-11-04 19:59:40 +11:00
bugobliterator
e4c5d7b697
AP_Periph: get AP_Periph ready for SITL build
2020-11-04 19:59:40 +11:00
PercyFung
dce2f78d6f
Update GIT_Success.txt
...
add name
2020-11-03 22:48:25 -08:00
Pierre Kancir
fd0e822074
Tools: fix sqlite database creation
2020-10-29 13:07:26 +11:00
Andrew Tridgell
3e3da61396
Tools: fixes from review feedback
2020-10-28 14:20:44 +11:00
Andrew Tridgell
16bede2d74
Tools: allow for -f Callisto as frame type
...
loads json and params
2020-10-28 14:20:44 +11:00
Andrew Tridgell
39f25fc0f4
Tools: added models to ROMFS in SITL
2020-10-28 14:20:44 +11:00
Andrew Tridgell
31e3fd0771
Tools: added battery capacity to Callisto model
2020-10-28 14:20:44 +11:00
Andrew Tridgell
1286c5f64e
Tools: adjust quadplane tuning and QAssist test
...
fixed roll RTL and land in QAssist test
2020-10-28 14:20:44 +11:00
Andrew Tridgell
47bf3e2249
Tools: use max_err for alt wait in flip test
2020-10-28 14:20:44 +11:00
Andrew Tridgell
7820b402d6
Tools: tweak Qassist test to be more reliable
...
disabling stall prevention should help with travis
2020-10-28 14:20:44 +11:00
Andrew Tridgell
72d0730194
Tools: fixed flow speed test to be much more robust
...
takeoff in ALT_HOLD so we don't overshoot as much, and calculate speed
limit based on actual alt
2020-10-28 14:20:44 +11:00
Andrew Tridgell
eacebb619a
Tools: lower ALT_HOLD_RTL for quadplanes
...
this speeds up a number of tests that end with an RTL
2020-10-28 14:20:44 +11:00
Andrew Tridgell
1ea0daa95f
Tools: adjust quadplane tuning
...
prevent oscillation
2020-10-28 14:20:44 +11:00
Andrew Tridgell
da86dc8814
Tools: fixed FFT test thresholds for new tune
2020-10-28 14:20:44 +11:00
Andrew Tridgell
d221756e2d
Tools: fixed copter MOT params
2020-10-28 14:20:44 +11:00
Andrew Tridgell
c7a60f57ad
Tools: improved quadplane tuning
...
and shorten GyroFFT log msgs so values can be seen in log
2020-10-28 14:20:44 +11:00
Andrew Tridgell
a95c2e9db3
Tools: fixed optical flow speed limit
...
should be 10m/s, as per comment
2020-10-28 14:20:44 +11:00
Andrew Tridgell
86c558e735
Tools: fixed fast climb in SuperSimpleCircle test
...
1700 makes us climb much too far
2020-10-28 14:20:44 +11:00
Andrew Tridgell
ca6da722a9
Tools: adjust StabilityPatch test
...
fixed to account for use of propeller expo in model
2020-10-28 14:20:44 +11:00
Andrew Tridgell
4e553bcbde
Tools: fixed Qassist test
...
it was using the wrong roll angle for recovery, and relied on poor
tuning of old model to overshoot by 20 degrees
2020-10-28 14:20:44 +11:00
Andrew Tridgell
98dacd5ee4
Tools: fixed wait_for_alt
...
should be a min alt. This is needed for Flip test to pass with new
model, as it doesn't lose as much height as the old model. So it
starts above the min alt
2020-10-28 14:20:44 +11:00
Andrew Tridgell
10a07bf4f9
Tools: added Callisto model from Leonard
2020-10-28 14:20:44 +11:00
André
ce839cfef9
Frame_params: updated Disco startup location
2020-10-26 23:32:45 -07:00
Peter Barker
18330d16de
autotest: add test for MAVlite
2020-10-27 10:17:53 +11:00
Pierre Kancir
87d9beab4f
Autotest: firmware page: fix html
2020-10-24 10:30:09 +11:00
Pierre Kancir
45a35f9470
Autotest: fix html and use class on CSS
2020-10-24 10:30:09 +11:00
Pierre Kancir
60805fdfa3
Autotest: anonimize IP on ga on autotest page
2020-10-24 10:30:09 +11:00
Pierre Kancir
05d365f1a6
Autotest: remove jdrone logo from firmware server
2020-10-24 10:30:09 +11:00
Pierre Kancir
4ca8f6bf1e
Autotest: fix githash on python 3 for firmware html page
2020-10-24 10:30:09 +11:00
Pierre Kancir
de927691f2
Tools: remove empty fields in autotest.ardupilot.org
2020-10-24 10:30:09 +11:00
Buzz
586e9f80d5
AutoTest: break copter autotests into smaller "under 10 minute" chunks to speedup github actions CI
2020-10-21 18:01:47 +11:00
Tristan Minifie
6d0a0ac564
Tools: added name to GIT_Success.txt
2020-10-20 17:17:25 +09:00
Mateusz Mróz
2e85ba6f51
AP_Periph: Restore setting node_id from CAN_NODE parameter
...
Reverts part of commit: 584bcbac0d
2020-10-20 14:32:43 +11:00
Patrick José Pereira
cbc3384187
default_params: Sub: Add camera mount parameters
...
Allow the usage of MOUNT_CONTROL in SITL
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-19 16:25:38 -04:00
Peter Barker
937d7bf335
autotest: add quiet option to drain_mav
2020-10-15 16:31:41 +11:00
Peter Barker
49fd762f26
autotest: fix and re-enable button test
...
A recent commit to fix the setting-of-pullup-resistors in SITL makes it
possible to re-enable this.
Closes #15259
2020-10-15 08:34:08 +11:00
Phillip Kocmoud
f2c63e13be
AP_Bootloader: Add 3 new mRo board IDs
2020-10-15 08:33:27 +11:00
Peter Barker
d865c8553c
autotest: loosen takeoff check in heli takeoff to 1m
...
On the basis that random noise can make it drift 10cm
2020-10-14 12:49:23 +11:00
Andrew Tridgell
5822d7510c
Tools: update bootloaders
2020-10-13 17:59:13 +11:00
Pierre Kancir
dc8d42b12d
Tools: expose option --sysid into sim_vehicle.py
2020-10-13 10:31:21 +11:00
Peter Barker
8f1e9ebc7f
autotest: reset camera feedback rate if exception is raised
2020-10-12 13:48:15 +11:00
Peter Barker
f9324d38c9
autotest: loosen groundspeed tolerance in guided-stop function
...
Fixes current "Vehicle did not stop" problem
2020-10-09 12:05:23 +11:00
Peter Barker
b630aeeddf
autotest: comment suspicious-looking latitude/longitude parameters
2020-10-08 17:23:09 +09:00
Peter Barker
750f1d4032
autotest: send position targets once
2020-10-08 17:22:29 +09:00
Peter Barker
d13f6acc66
autotest: quieten mav draining
2020-10-08 17:21:35 +09:00
bugobliterator
a348e342fa
Tools: AP_Periph: add support for CubeBlack-periph
2020-10-08 09:31:35 +11:00
bugobliterator
e49891d605
Tools: waf: remove extraneous frame-larger-than warning
2020-10-08 09:31:35 +11:00
Pierre Kancir
774c8583b1
Tools: make apm.pdef.xml more readable.
2020-10-07 19:38:14 +11:00
Patrick José Pereira
16469e703e
Tools: Add firmware_version_decoder script
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-07 19:32:12 +11:00
Andrew Tridgell
99170c3954
Tools: update IO firmware
2020-10-07 16:44:13 +11:00
Peter Barker
1d0735f206
autotest: add a poll_message method
2020-10-07 11:54:02 +11:00
Peter Barker
04633d7e1c
autotest: if MODE_AUTO is disabled then we also need to disabled AFS
2020-10-06 11:25:09 +11:00
Peter Barker
8e8b396afe
Tools: improve decode-ICSR formatting
2020-10-06 10:30:14 +11:00
Andrew Tridgell
ad41098beb
Tools: added bootloader for QuiTekZealot
2020-10-05 07:41:06 +11:00
QioTek
86100d6316
Tools: add auto build for QioTekZealotF427
2020-10-05 07:41:06 +11:00
Peter Barker
29775f310e
Tools: flesh out decode-ICSR tool
2020-10-03 13:28:48 +10:00
giacomo892
4eeccb61cd
WAF: Add AP_OLC to build
2020-10-01 09:40:45 +10:00
Pierre Kancir
d0e885764d
Tools: build_binaries_history.py: make size printing more pretty
2020-09-30 17:59:33 +10:00
Pierre Kancir
ae29697504
Tools: build_summary: make binary path a string
2020-09-30 17:59:33 +10:00
QioTek
da5da6b14e
Tools: added Qiotek ZealotF427 board ID
...
add board id for Qiotek ZealotF427
2020-09-28 06:18:32 +10:00
Patrick José Pereira
27720f2235
Tools: Replay: Move from uint to uint32_t in MsgHandler
...
uint is not a fundamental type and does not exist under cstdint
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-26 20:28:18 +10:00
Samuel Tabor
bd28a62155
autotest: Update soaring test for THERMAL mode.
2020-09-25 16:21:15 +10:00
Andrew Tridgell
246e790484
AP_Bootloader: use new hal CAN interface for CAN support
2020-09-24 12:32:19 +10:00
Siddharth Purohit
4bfd3c0782
AP_Bootloader: add support for HAL CANIface based bootloader
2020-09-24 12:32:19 +10:00
Siddharth Purohit
5ab6916a41
AP_Periph: use HAL CAN Drivers instead of ChibiOS's
2020-09-24 12:32:19 +10:00
Siddharth Purohit
b8e3d9c6e8
AP_Bootloader: add fail reason bad length
2020-09-24 12:32:19 +10:00
Siddharth Purohit
2edcd852eb
AP_Bootloader: add support for app start offset
2020-09-24 12:32:19 +10:00
Siddharth Purohit
eab0507d37
Tools: waf: add build for CubeOrange-periph
2020-09-24 12:32:19 +10:00
Siddharth Purohit
b27092c651
Tools: waf: don't do uavcan build config for AP_Periph
2020-09-24 12:32:19 +10:00
Samuel Tabor
fe6c4d9290
autotest: Update for THERMAL mode.
2020-09-24 07:30:48 +10:00
Patrick José Pereira
be4f2f0c79
AP_Periph: Use new AP_FWVersionDefine header
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10:00
Peter Barker
536e2db947
Tools: sim_vehicle.py: add --disable-breakpoints commandline option
2020-09-23 20:28:08 +10:00
Peter Barker
64461dba5e
autotest: fix Copter motortest test
...
We were swallowing all of the rc output containing the values we were
looking for.
Rearrange so we don't swallow where we were, and increase timeout on the
basis that there's still a narrow race.
2020-09-23 09:49:54 +10:00
Peter Barker
669622c614
autotest: improve use of SITL-is-running
...
ATM if the SITL binary dies we don't catch it anywhere. This might
become part of the solution for that, as well as some changes on
run_one_test.
2020-09-22 21:11:57 +10:00
Peter Barker
fdb31a6419
autotest: param_parse.py: validate @User field to be Standard or Avanced
2020-09-22 14:56:04 +10:00
Pierre Kancir
b48d2d9631
Tools: remove empy from configure-ci.py
2020-09-22 10:05:19 +10:00
Tatsuya Yamaguchi
37691c751c
Tools: replace message indicating that initialisation has completed
2020-09-22 09:52:52 +10:00
Andrew Tridgell
7726848a50
waf: lock in zero errors for gcc9
2020-09-22 08:07:23 +10:00
Randy Mackay
4ac6a647d7
Tools: add boogie-board-boat frame params
2020-09-18 08:30:54 +09:00
Vikas Singh
399c7eda16
Tools: added name to GIT_Success.txt
2020-09-17 07:34:29 -07:00
bugobliterator
460293d6a8
Tools: update CubeOrange_bl
2020-09-16 18:08:08 +10:00
Peter Barker
1075e13352
autotest: stop set_parameter from using get_parameter
...
Setting a parameter on ArduPilot causes the autopilot to emit the new
value in a PARAM_VALUE message, so we do not need to fetch it ourselves.
Fetching it ourselves causes subtle problems for the autotest suite
where a PARAM_VALUE is currently in the uart buffer - so the autotest
set_parameter has consumed one PARAM_VALUE message (the auto-emitted
one). If it immediately does a set_parameter then the next
PARAM_VALUE it sees will be the OLD value as the value comes out of the
uart.
2020-09-15 19:27:36 +10:00
Peter Barker
3e708b9b29
Tools: build_parameters.sh: compress parameter xml files
2020-09-15 11:19:23 +10:00
Peter Barker
9e148f245b
autotest: param_parse.py: correct parsing of Values fields
...
the regex used to parse the values field later is rather strict - no
spaces allowed around the : for example.
Canonicalise the string before trying to do anything more with it
(including validation)
2020-09-15 11:09:52 +10:00
Peter Barker
1cefd2943b
Replay: correct various atrophications in Replay tool
...
Replay: tear down threads before exitting
NKQ is a generated name - don't copy it across to output
Stop whinging about presence of NKF6 and friends; we know these generated names are not going to be present in modern logs
memcpy rather than strncpy within log_FMT
Correct strings vs optionally-terminated structure entries in sanity checks
Call AP_Param::load_all() to start the parameter saving thread. AP_Compass' init() method now saves parameters (compass reordering), and because we're disarmed we will block until the parameter is pushed onto the to-save queue; if there's no thread popping off that list we block indefinitely.
Remove duplicate definitions of various singleton objects.
Replay: write out GPS message to output log
Useful for diagnosis, but also because we struggle to find a time base
without this and the pymavlink tools take forever to work
Replay: set COMPASS_DEV_ID and COMPASS_PRIO1_ID so EKF gets mag data
Replay: avoid use of system clock; use stopped-clock only
Replay: constraint to emitting output for single core only
2020-09-15 10:02:36 +10:00
Andrew Tridgell
3da00b482e
waf: enable -Werror for whitelisted compilers on ChibiOS builds
2020-09-15 09:40:03 +10:00
Andrew Tridgell
ae2e84b3df
AP_Periph: fixed mavlink build warnings
2020-09-15 09:40:03 +10:00
Andrew Tridgell
8b95fac214
Tools: added --Werror option to autotest.py
2020-09-15 09:40:03 +10:00
Peter Barker
3f2c06f8c0
build_ci.sh: correct cron job check against 'linux'
...
We don't actually run this cronjob.
2020-09-15 09:18:04 +10:00
Peter Barker
0bb44ba933
waf: print compiler version as part of configure
2020-09-14 18:11:31 +10:00
Peter Barker
466d61a881
Tools: build_log_message_documentation.sh: compress log message documentation files
2020-09-14 13:29:05 +10:00
Peter Barker
5c22e9e105
Revert "Tools: make non DEBUG SITL use -march=native"
...
This reverts commit 85b599b2d7
.
This breaks the cygwin binaries that MissionPlanner uses for simulation
2020-09-14 11:19:11 +10:00
Peter Barker
3e882fcad8
autotest: loosen mag-percent-complete threshold to 95%
...
So 98% wasn't loose enough...
2020-09-11 15:31:45 +10:00
Harshit Kumar Sankhla
f0c237d88e
autotest: bug fixes for ekf lane switch test
2020-09-11 10:16:20 +10:00
Peter Barker
796cc72344
autotest: remove parameters with default values from copter.parm
...
Setting these just takes time we don't need to spend
2020-09-11 08:02:38 +10:00
Samuel Tabor
6de4967a3d
autotest: Fix typos and unclear comments in soaring test.
2020-09-10 22:21:41 +10:00
Samuel Tabor
f6017d60bf
autotest: Update for new soaring behaviour.
2020-09-10 22:21:41 +10:00
Pierre Kancir
85b599b2d7
Tools: make non DEBUG SITL use -march=native
2020-09-10 15:16:18 +10:00
Peter Barker
995cda6363
autotest: stop taking off when we're already in the air
...
Depending on timing we can miss the fact we're already at altitude as we
take off in stabilize and manipulate the throttle before checking
altitude
2020-09-10 10:39:30 +10:00
Andrew Tridgell
6b242bf1db
waf: add flash_total to apj file
2020-09-10 07:41:25 +10:00
Peter Barker
0f5f040380
autotest: send all progress messages to autopilot
...
These will be logged into dataflash and into the telemetry log
2020-09-09 23:47:28 +10:00
bugobliterator
d997ca8779
autotest: pass calibration test even if 98% complete before success
2020-09-09 23:46:23 +10:00
Peter Barker
51b54d3740
autotest: avoid leaving message hooks around
...
Can lead to some very weird and confusing output
2020-09-09 17:59:17 +10:00
Andrew Tridgell
0f7f9a22fd
Tools: added Matek GPS and airspeed builds
2020-09-09 06:38:05 +10:00
Andrew Tridgell
a9ca78532e
Tools: added MSP bus type to decode
2020-09-09 06:35:50 +10:00
Andrew Tridgell
9c24415f86
AP_Periph: support output of MSP sensor data
2020-09-09 06:35:50 +10:00
Peter Barker
9228f47dc9
autotest: create collections-on-context to record selected messages
2020-09-08 14:19:08 +10:00
Peter Barker
f3866e5f39
autotest: disable button test
2020-09-08 12:31:15 +10:00
Andrew Tridgell
7c5a0a6a43
Tools: disable LOG_REPLAY by default in autotest
...
LOG_REPLAY prevents us logging when we have sensor failures, which
makes many tests hard to debug
2020-09-08 11:01:14 +10:00
Andrew Tridgell
80ef6fa7f2
Tools: added a MagFail test
...
ensures that both EK2 and EK3 will failover to a new compass on
compass failure
2020-09-08 11:01:14 +10:00
Peter Barker
d508ba97c5
autotest: add test for SmartRTL getting another GCS failsafe
...
Test for specific bug where we would land instead of continue in
SmartRTL
2020-09-08 09:05:03 +09:00
Samuel Tabor
3c0d4b6d5a
autotest: Add start time argument and parsing.
2020-09-07 21:20:25 +10:00
Andrew Tridgell
a9ecac4fff
Tools: added --osdmsp option to sim_vehicle.py
2020-09-07 11:59:20 +10:00
Pierre Kancir
2e60f361fa
Tools: ardupilotwaf: remove '-Werror=suggest-override' from benchmark to prevent failure
...
this is due to the fact that gbenchmark header should be compatible with C++03 and then don't accept C++11 feature like override ...
2020-09-06 19:13:04 +10:00
Pierre Kancir
9d9cf2501a
Tools: disable Gtest and testing on Gbenchmark build
2020-09-06 19:13:04 +10:00
Peter Barker
65268ee3d4
autotest: more button-test fixes
2020-09-06 16:49:16 +10:00
bugobliterator
6203e0685e
autotest: disable MAG orientation test
2020-09-06 11:21:28 +10:00
Andy Piper
0b9d9fc284
autotest: use StringIO correctly
2020-09-06 09:12:59 +10:00
Pierre Kancir
31338f955b
Tools: allow to skip completion installation
2020-09-05 13:31:03 +10:00
Andy Piper
6ebc7622fe
autotest: comprehensive dataflash test
2020-09-05 10:20:39 +10:00
Pierre Kancir
11417ac3a7
Tools: build-ci: use python -m pip for easier pip version management
2020-09-04 09:31:23 +10:00
Pierre Kancir
7648413f8c
Tools: configure-ci: use python -m pip for easier pip version management
2020-09-04 09:31:23 +10:00
Patrick José Pereira
050334273e
Tools: Remove trailing spaces of build_ci
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira
30e2aad6b9
Tools: Add arm-linux-musleabihf toolchain
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Patrick José Pereira
ee4f267743
Tools: Add navigator test in build_ci
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-03 18:14:34 +10:00
Peter Barker
2ea41b7997
autotest: spit out actual simulated mag orientations as part of debug
2020-09-03 13:08:07 +10:00
Andrew Tridgell
689902cb69
waf: moved include of ap_config.h into configure step
2020-09-03 09:56:29 +10:00
Andrew Tridgell
24425b4155
waf: allow setup of double precision for some cpp files
2020-09-03 09:56:29 +10:00
Peter Barker
5a8b1639d0
autotest: fix nmea output test
2020-09-02 10:05:26 +10:00
Andrew Tridgell
844d2bf7ff
waf: enable MSP when we enable OSD
2020-09-02 05:56:46 +10:00
Andrew Tridgell
6f04b4a5ec
waf: added --osd-fonts configure option
...
allows for --osd without fonts
2020-09-02 05:56:46 +10:00
Andrew Tridgell
7c579c4814
waf: added --osd configure option
...
to allow boards with no builtin OSD to use MSP OSD
2020-09-02 05:56:46 +10:00
yaapu
b658edfa20
Tools: added MSP
2020-09-02 05:56:46 +10:00
Peter Barker
522c3e6281
autotest: make LogUpload the last test again
...
ATM any logs produced by EKFLaneswitch won't get uploaded in case of
failure
2020-09-01 18:15:37 +10:00
Peter Barker
23ba2002e8
autotest: dump final mag cal report verbosely
2020-09-01 14:11:57 +10:00
Peter Barker
74c47827d9
autotest: drain stdout of SITL binary
...
The new rate messages were filling up the stdout buffer, causing the
process to block....
2020-08-30 08:38:35 +10:00
Peter Barker
e8fa4e1351
autotest: disable autotest for altitude prearm check
2020-08-30 08:38:35 +10:00
Peter Barker
397e134106
autotest: quieten RTL
2020-08-30 08:38:35 +10:00
Peter Barker
065d03dd30
autotest: add a timeout in the button test
2020-08-30 08:38:35 +10:00
Peter Barker
c01b26ca62
autotest: fix race condition in EKF type 10
...
EKF type 10 is always able to give you a position - but the arming
checks require you to have a good GPS position, and that's something
else again.
2020-08-30 08:38:35 +10:00
Peter Barker
cafc5b01f4
autotest: fix race condition in Rover RTL test
2020-08-30 08:38:35 +10:00
Peter Barker
43cdceba8f
autotest: tweak wait_ready_to_arm
2020-08-30 08:38:35 +10:00
Peter Barker
b7641345e1
autotest: set and get parameters directly using mavlink message
2020-08-30 08:38:35 +10:00
Peter Barker
ba91cbb270
autotest: correct sub parameter name PSC_VELZ_P, fix test to match
2020-08-30 08:38:35 +10:00
Pierre Kancir
084ec2bb5a
Autotest: copter: fix wait_for_alt for descending wait
2020-08-29 14:53:30 +10:00
Pierre Kancir
ebd13ac84e
Tools: copter: wait_landed_and_disarmed: use wait_for_alt
2020-08-29 14:53:30 +10:00
Pierre Kancir
7fbf11061f
Tools: copter: add wait_rtl_complete function
2020-08-29 14:53:30 +10:00
Pierre Kancir
3080899b43
Tools: copter: add wait land and disarm functions
2020-08-29 14:53:30 +10:00
Pierre Kancir
936511a720
Autotest: common: correct some text format
2020-08-29 10:44:19 +10:00
Pierre Kancir
5b72de25e0
Autotest: update wait_distance_to_home
...
Autotest: copter: allow to pass min_distance for RTL
Autotest: rover: allow to pass min distance for RTL
2020-08-29 10:44:19 +10:00
Peter Barker
119462aeb1
build_binaries.py: Python3 fix
...
Something in the program output is not ascii
2020-08-28 08:31:46 +10:00
Harshit Kumar Sankhla
464c90a03c
Tools: add an EKF3 lane switching test to plane
2020-08-27 20:20:51 +10:00
Pierre Kancir
16b499d0f6
Autotest: allow to select which GPS flags we want to wait for
2020-08-27 09:11:13 +10:00
Peter Barker
80bee19bc9
autotest: correct race condition in button test
...
A BUTTON_CHANGE may have been emitted after we send the parameter but before it is processed by the autopilot
2020-08-26 13:22:14 +10:00
Peter Barker
3ae83d70b1
autotest: ensure df log is present for rangefinder tests
...
there may not be a current onboard log present if we've just rebooted
2020-08-26 11:59:11 +10:00
Pierre Kancir
420587fb68
Tools: logger_metadata fix relative dir search
2020-08-25 20:01:27 +10:00
Pierre Kancir
a181fcf8a2
Autotest: common: put generated parameter and LogMessage files into buildlogs directory
2020-08-25 20:01:27 +10:00
Peter Barker
a523868b33
autotest: fix Beacon test
2020-08-25 17:21:50 +10:00
Andrew Tridgell
155b39bab3
autotest: added loiter-to-alt test mission
2020-08-25 10:39:18 +10:00
Randy Mackay
660579f2f4
Tools: fix copter beacon test params
2020-08-25 09:38:10 +09:00
Andrew Tridgell
a1b5953927
Tools: added bootloader for f103-Airspeed
2020-08-25 09:59:15 +10:00
Andrew Tridgell
61f06f089e
Tools: added bootloader for f303-MatekGPS
2020-08-25 09:59:15 +10:00
Peter Barker
69d246d63e
autotest: add test for priority-based compass reordering
2020-08-25 08:30:04 +10:00
Peter Barker
bb697dd4b9
autotest: avoid using mavproxy for testing message intervals
2020-08-24 19:33:37 +10:00
Andrew Tridgell
10eeea31e8
Tools: rebuild IO firmware
2020-08-24 16:32:35 +10:00
Peter Barker
a190490b64
autotest: do not rely on MAVProxy for sending banner request
2020-08-24 15:26:57 +10:00
Peter Barker
00bfe04539
autotest: remove duplicate recovery code from set-message-interval test
2020-08-24 14:00:38 +10:00
Peter Barker
03d0eda7f1
autotest: use a passthrough progress function for Telem objects
2020-08-24 13:24:41 +10:00
Andrew Tridgell
245e0230b5
Tools: revert unintented change to f303 GPS bootloader
2020-08-24 07:01:51 +10:00
bugobliterator
4bd0e2f394
AP_CANManager: fix name for RX Queue size define
2020-08-24 06:48:56 +10:00
Peter Barker
67b71e2b94
autotest: add test for Plane dead-reckoning support
2020-08-21 18:16:40 +10:00
Pierre Kancir
8b92af732a
Autotest: common: add wait_heartbeat to change_mode to clean up msg and give time to status to update
2020-08-21 13:35:51 +10:00
Pierre Kancir
f73e4c0071
Autotest: copter: add test for mandatory alt estimation for Alt_hold
2020-08-21 13:35:51 +10:00
Peter Barker
cddb5fb1cc
autotest: use message hook when waiting for statustext
...
Eliminates a race condition when waiting for statustexts. Getting the
current sim time slurps messages.
2020-08-21 12:26:12 +10:00
Pierre Kancir
b7f46462f8
Autotest: common: reduce timeout on ArmFeature test
...
This is unnessary to wait for 60s for failure, 15s is enough
2020-08-21 09:13:32 +10:00
Peter Barker
f14c9db568
autotest: improve debug around heli poshold takeoff test
2020-08-20 10:10:34 +10:00
bugobliterator
c02c500ac5
param_metadata: add microseconds under known param type
2020-08-19 17:31:09 +10:00
Siddharth Purohit
4e17f8a23e
waf: add CANManager library and use uavcan agnostic names CAN vars
2020-08-19 17:31:09 +10:00
Peter Barker
904981a0c3
waf: build with -Werror=undef
2020-08-19 14:46:39 +10:00
Peter Barker
ebc28d817f
travis: build mRoX21-777 with -Werror
2020-08-19 08:12:06 +10:00
Peter Barker
a5aa963a77
autotest: fixes --tracker and --tracker-location sim_vehicle.py options
2020-08-18 15:26:03 +10:00
Mark Whitehorn
a37b5c2c6b
autotest: add rudder disarm checks for airmode
2020-08-18 11:42:34 +10:00
Pierre Kancir
0c3e9bbd4b
Autotest: fix mavlink_time_boot format: should be int
2020-08-18 08:33:08 +10:00
Pierre Kancir
acc4a1db3f
Autotest: remove special case for vicon and default vicon for copter to false
2020-08-17 21:17:26 +10:00
Peter Barker
c69908e7ea
autotest: add proximity sensor readinds as if from depth camera
2020-08-17 11:20:12 +10:00
Peter Barker
ea5aa594a3
autotest: add test for AP_Proximity_MAV
2020-08-17 11:20:12 +10:00
Peter Barker
1b481b6e6a
Tools: uploader.py squelch warning when not able to find hwdefs
2020-08-15 11:59:40 +10:00
Peter Barker
82dd7ece6c
autotest: fix frsky bitop on float issue
...
Crops up in Python 3.8:
gpi_lat = self.tf_encode_gps_latitude(gpi.lat)
File "/home/pbarker/rc/ardupilot/Tools/autotest/common.py", line 6183, in tf_encode_gps_latitude
value = ((abs(lat)/100)*6) | 0x40000000
TypeError: unsupported operand type(s) for |: 'float' and 'int'
2020-08-15 10:42:47 +10:00
Pierre Kancir
52ae087fb5
Autotest: rover: remove some raw mavproxy cmd for rc
2020-08-15 09:16:24 +10:00
Pierre Kancir
388fef23d9
Autotest: common: remove use of some raw mavproxy cmd for rc
2020-08-15 09:16:24 +10:00
Pierre Kancir
30fa433faa
Tools: don't add duplicate param to context
2020-08-14 18:16:47 +10:00
Mark Whitehorn
7d33017c8a
Tools: scripts: uploader.py: update --identify option
2020-08-14 11:53:58 +10:00
Pierre Kancir
fa4a01e8f9
autotest: copter: don't use raw reboot on fly_battery_failsafe()
2020-08-14 09:42:52 +10:00
Pierre Kancir
3c6d1a359a
autotest: copter: catch exception on test_battery_failsafe to reset parameters
2020-08-13 12:09:23 +10:00
Pierre Kancir
5fe81706bb
autotest: copter: catch exception on test_gcs_failsafe to reset parameters
2020-08-13 12:09:23 +10:00
Pierre Kancir
9c41462bf6
Tools: copter: correct flip test
2020-08-13 10:37:02 +10:00
Mark Whitehorn
d0ff26e782
autotest: expand quadplane AirMode autotest
2020-08-13 08:47:27 +10:00
Mark Whitehorn
b9830f657a
autotest: add quadplane airmode test
2020-08-13 08:47:27 +10:00
climr
918dfc13f7
Tools: Add Horizon31 PixC4 to board_types.txt
2020-08-10 13:33:32 +10:00
Peter Barker
9cd5fdacfc
Tools: autotest: add a test for motor test
2020-08-10 09:18:05 +10:00
Peter Barker
f0482935cc
autotest: slow down simulation to avoid receiving re-request of item
...
# avoid a timeout race condition where ArduPilot re-requests a
# fence point before we receive and respond to the first one.
# Since ArduPilot has a 1s timeout on re-requesting, This only
# requires a round-trip delay of 1/speedup seconds to trigger
# - and that has been seen in practise on Travis
AT-0417.0: Sending item with seq=0
AT-0417.2: Got (MISSION_REQUEST {target_system : 243, target_component : 250, seq : 0, mission_type : 1})
AT-0417.2: Got (MISSION_REQUEST {target_system : 243, target_component : 250, seq : 0, mission_type : 1})
AT-0417.2: Exception caught: Traceback (most recent call last):
File "/home/travis/build/ArduPilot/ardupilot/Tools/autotest/common.py", line 3950, in run_one_test
test_function()
File "/home/travis/build/ArduPilot/ardupilot/Tools/autotest/rover.py", line 4216, in test_poly_fence
self.test_fence_upload_timeouts()
File "/home/travis/build/ArduPilot/ardupilot/Tools/autotest/rover.py", line 4057, in test_fence_upload_timeouts
target_component=target_component)
File "/home/travis/build/ArduPilot/ardupilot/Tools/autotest/rover.py", line 4010, in test_fence_upload_timeouts_2
self.expect_request_for_item(item)
File "/home/travis/build/ArduPilot/ardupilot/Tools/autotest/rover.py", line 3958, in expect_request_for_item
raise NotAchievedException("Expected request for seq=%u" % item.seq)
NotAchievedException: Expected request for seq=1
The "AT" timestamps there are wallclock time. Since speedup for Rover
is 8 by default, that could be as much as 1.6 seconds meaning a
re-request from ArduPilot would be legitimate.
I've added some debug, too - we now emit "Sending item with seq=1"
between those two "Got" lines. That should make the problem clearer -
we've received a re-request rather than a request for the item after the
one we've already sent.
2020-08-09 20:13:27 +10:00
Peter Barker
749b678e14
autotest: add scan-build autotest steps
2020-08-07 16:00:18 +10:00
Peter Barker
e51427a2bc
autotest: add a test to ensure we get voltage from generator in battery_status message
2020-08-07 14:46:20 +10:00
Peter Barker
77df7c7a39
autotest: autotest the MaxBotixI2CXL i2c rangefinder code
2020-08-07 08:52:00 +10:00
Pierre Kancir
aac416deb1
Tools: completion: simplify bash completion for sim_vehicle.py
2020-08-06 20:55:13 +10:00
Pierre Kancir
25c42b0ea9
Tools: completion: autotest subtest completion for ZSH
2020-08-06 20:55:13 +10:00
Pierre Kancir
1fa6138ca1
Tools: Autotest.py: Allow autotest subtests completion
2020-08-06 20:55:13 +10:00
Peter Barker
2a2a78d15d
tools: fix a couple of minor issues in decode-ISCR
2020-08-06 14:59:09 +10:00
Pierre Kancir
f2e6a79276
Tools: script: add a script to generate Mission Planner full parameters file
2020-08-05 22:32:33 +10:00
Pierre Kancir
4930142b6e
Tools: add generator for MP parameter xml
2020-08-05 22:32:33 +10:00
Peter Barker
07abb3ab6a
autotest: extend RichenPower test
2020-08-05 16:26:19 +09:00
Rishabh
bac3660fca
Tools: Push autotune switch test to run after avoidance tests
2020-08-05 15:37:04 +09:00
Rishabh
cf04a01389
Tools: Increase timeout for avoidance autotest
2020-08-05 15:37:04 +09:00
Peter Barker
b9dc7118d4
autotest: add do_timesync_roundtrip to do a timesync against SITL
...
On the assumption that ArduPilot processes mavlink packets
synchronously (or at least in order), after we have run a timesync
roundtrip we can reasonably expect any mavlink command we have sent
prior to the roundtrip to have been processed, and we should be able to
see the results in the mavlink stream.
2020-08-05 13:24:15 +10:00
Peter Barker
4640c24872
autotest: correct checking for no-logs string
2020-08-04 15:12:08 +10:00
Peter Barker
b2748f19f6
autotest: correct validator for Distance wait-and-maintain
2020-08-04 15:12:08 +10:00
Willian Galvani
0f992ac6a3
Autotest: add test for Sub position hold
2020-08-03 20:19:28 -07:00
Mark Whitehorn
0d5de343d2
autotest: default throttle to 1000 for quadplane
...
zero throttle after disarming in do_RTL
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-08-04 10:26:45 +10:00
bugobliterator
d489100a70
Tools: ensure that we use environment Python interpreter
2020-08-03 14:02:09 +10:00
bolu3
5cebf91c3f
Tools: added name to GIT_Success.txt
2020-07-28 15:12:24 +09:00
Peter Barker
39f16c4679
autotest: reboot SITL after running autotune switch test
2020-07-24 20:49:12 +10:00
Peter Barker
f5a928ae26
autotest: remove debug to reduce CI log sizes
2020-07-24 12:39:17 +10:00
Peter Barker
66ffb4a17b
autotest: retry parameter fetch in MIS_TOTAL test
...
There's a race condition with MAVProxy; it's fetching parameters here
and seems to ignore our requests.
Also correct named parameter from retry to attempts
2020-07-24 09:38:39 +10:00
Peter Barker
ccff006517
autotest: correct time-spent-waiting-to-arm for zero case
2020-07-23 18:10:06 +10:00
Peter Barker
f1fc61cb41
autotest: improve compass test diagnostics
2020-07-23 15:11:11 +10:00
Peter Barker
b69130d352
autotest: require uptime of 5s before declaring GPS definitely not present
...
Until we detect a GPS we mark it as "not present", even if the
parameters say that there should be one present.
2020-07-23 11:17:42 +10:00
Peter Barker
d9085e34d8
autotest: default throttle to 1000 for quadplane
2020-07-22 17:35:47 +10:00
Peter Barker
7880120921
autotest: upload logs after quadplane tests
2020-07-22 14:40:31 +10:00
Peter Barker
b298477266
Tools: uploader.py: correct silently dropped exception in failure case
...
uploader.INFO_BL_REV is string, not integer
2020-07-21 22:43:11 +10:00
Peter Barker
babb3fef54
autotest: remove incorrect use of get_sim_time_cached
...
These could instantly time out
2020-07-21 14:10:16 +10:00
Peter Barker
3b0524a7e1
autotest: add diagnostics to frsky passthrough test
2020-07-21 11:26:52 +10:00
murata
2e69317c2c
Tools: Change the unit of barometric pressure from mbar to hPa.
2020-07-21 09:56:21 +10:00
Samuel Tabor
d57b7cad63
autotest: Update soaring test to use RCX_OPTION.
2020-07-21 09:38:04 +10:00
Andrew Tridgell
2a3238b7de
Tools: added baro decode
2020-07-21 08:20:01 +09:00
Peter Barker
1c772b94cd
Tools: build-binaries and generate-manifest py3 fixes
2020-07-20 16:44:33 +10:00
Peter Barker
4acb66cd13
autotest: correct check of frsky home-relative altitude
...
GLOBAL_POSITION_INT.relative_alt is in mm
2020-07-20 13:31:17 +10:00
Peter Barker
ac827cf45b
autotest: allow much more time for frsky test to finish
...
parameters don't seem to come down very fast at all
2020-07-20 13:31:17 +10:00
Peter Barker
a49580e0af
autotest: improve debug on frsky tests
2020-07-20 13:31:17 +10:00
Peter Barker
d9aa334489
autotest: ensure cached sim time moves forward in frsky test
2020-07-20 13:31:17 +10:00
Andy Piper
a00b5cb770
autotest: db's are negative so check dynamic notches the right way
2020-07-18 19:09:33 +10:00
Peter Barker
2eeac9e6fd
Tools: LogAnalyzer: Python3 fixes
2020-07-17 11:16:06 +10:00
Andy Piper
229036b4ae
autotest: run dynamic notch twice to avoid statistical anomolies
...
relax notch tests attenuation levels
2020-07-16 13:18:32 +10:00
Andrew Tridgell
da4ef6c519
autotest: added EliField
...
matches reality to RealFlight
2020-07-15 16:14:00 -07:00
Andy Piper
eb4c69ed88
Tools: iofirmware with DSM changes
2020-07-13 19:36:49 +10:00
Henry Wurzburg
682fd8b1ba
Tools: remove fmuv4 and update Pixracer
2020-07-13 15:24:54 +10:00
Andrew Tridgell
c8641bd246
autotest: fixed qassist test
...
need non-neutral ailerons to trigger roll
2020-07-13 13:47:50 +10:00
Pierre Kancir
7292ee8ec6
Tools: completion bash: fix and simplify frames completion
2020-07-12 11:11:17 +10:00
Pierre Kancir
ad7f62b23d
Tools: completion zsh: fix and simplify frames completion
2020-07-12 11:11:17 +10:00
Pierre Kancir
be36ac836e
Tools: sim_vehicle.py: add some helpers to retreive vehicles list and associated frames
2020-07-12 11:11:17 +10:00
Andrew Tridgell
71732d07f0
Replay: disable case-align for Replay build
2020-07-10 13:31:27 +10:00
Andrew Tridgell
5fdc400aab
waf: added -Werror=cast-align
2020-07-10 13:31:27 +10:00
Peter Barker
2c1d77bf8f
autotest: test simulated ship takeoff
2020-07-10 13:28:38 +10:00
krishnaprasadbhat2000
39de1cf000
Tools: added name to GIT_Success.txt
2020-07-10 08:16:08 +09:00
Andy Piper
7e913b965c
iomcu: rebuild to include rcin stack size change
2020-07-07 18:48:06 +10:00
Peter Barker
6eb1d289b8
autotest: add trivial test for CRSF in copter
2020-07-07 18:48:06 +10:00
Samuel Tabor
ed14ab84ce
autotest: Add test for terrain following mission.
2020-07-07 11:46:32 +10:00
Samuel Tabor
c3f039a739
autotest: Add timeout to fly_mission.
2020-07-07 11:46:32 +10:00
Samuel Tabor
bde9ce10e3
autotest: Add wipe as argument.
2020-07-07 11:46:32 +10:00
Peter Barker
6c9d756f11
autotest: validate context nesting
2020-07-06 14:21:55 +10:00
Peter Barker
977ec1a7d6
autotest: SuperSimpleCircle: increase throttle while rolling in stab
...
We're hitting the ground...
2020-07-04 17:18:37 +10:00
Peter Barker
b8c2b16394
autotest: autotest gyus42v2 rangefinder
2020-07-04 13:40:10 +10:00
Justin Clift
e1e16bde6d
autotest: remove doubled up disable-anti-alias-hud
2020-07-04 09:25:42 +10:00
Peter Barker
a0258f351d
autotest: disable gdb pagination
2020-07-03 22:07:16 +10:00
Peter Barker
560b4a9847
autotest: fix race condition between switch message and rc output
2020-07-03 22:06:48 +10:00
Peter Barker
96e500fe49
autotest: correct heli rebase issue
2020-07-03 12:07:06 +10:00
Peter Barker
717dabfe69
autotest: remove heat model for generator
2020-07-03 08:21:42 +09:00
Peter Barker
bac60e0d3a
autotest: add simple tests for richenpower generator
2020-07-03 08:21:42 +09:00
Peter Barker
b955be50af
waf: build in AP_Generator directory
2020-07-03 08:21:42 +09:00
yaapu
0cbff6ac66
Tools: autotest FRSkyPassThrough increased timeout to let the test complete
2020-07-02 21:53:06 +10:00
yaapu
75b621a09f
Tools: autotest added frsky serial_protocol 4 and 10 testing against mavlink telemetry
2020-07-02 21:53:06 +10:00
bnsgeyer
1191a5e1ea
Tools: Tradheli add rotor_runup_complete_checks
2020-07-02 21:49:40 +10:00
Peter Barker
332c73d168
autotest: reboot before running Copter ModeCircle test
...
This shouldn't be required, but CI is falling over too much.
2020-07-02 18:40:11 +10:00
Peter Barker
de226c69ab
Tools: add simulated LightWare serial lidar talking new binary protocol
2020-07-02 10:50:59 +10:00
dorovl
3644939246
BeagleBone : comments corrected in RcAioPRU.p
2020-07-01 10:27:33 -07:00
Peter Barker
e5395069f4
autotest: add test for angle q-assist
2020-07-01 20:57:32 +10:00
Rishabh Singh
147ff6863a
Tools: Remove some parametes from Hexsoon EDU450 Frame
2020-07-01 18:13:24 +10:00
Peter Barker
53b6d1a639
autotest: wait for heartbeat when opening connection
...
# need to wait for a heartbeat to arrive as then mavutil will
# select the correct set of messages for us to receive in
# self.mav.messages. You can actually recieve messages with
# recv_match and those will not be in self.mav.messages until
# you do this!
Also, wait_heartbeat ignores heartbeats from e.g. MAVProxy
2020-07-01 14:38:21 +10:00
Peter Barker
74c04271fa
autotest: fix breakages for defaulting to mavlink2
...
This highlights the fact that fetching rally points using the mission
item protocol does some when you're talking mavlink1 doesn't work out
well.
# so this looks a bit odd; the other end isn't sending
# mavlink2 so can't fill in the extension here.
2020-06-30 21:58:48 +10:00
Andy Piper
4147f0cce3
autotest: test gains are saved by autotune
2020-06-30 20:09:48 +10:00
Andy Piper
c707303336
AP_HAL_ChibiOS: hold buzzer ping low in bootloader for omnibusf4pro
2020-06-30 17:58:35 +10:00
Andy Piper
523a97d161
Tools: update KakuteF7 bootloaders
2020-06-30 17:58:35 +10:00
Peter Barker
7da5f7c9b5
autotest: disable Spline waypoint test
...
The bug being exposed is causing too much noise in CI.
2020-06-26 18:05:41 +09:00
Peter Barker
29e6f058a9
autotest: add test for scripting guided-steering-throttle example
2020-06-26 11:39:06 +10:00
Andy Piper
b4efb78315
autotest: rangefinder transition test
2020-06-24 21:16:50 +09:00
Peter Barker
3737c13784
autotest: allow message rates to be set by message name, not just ID
...
Simply for convenience.
2020-06-24 18:09:28 +10:00
Peter Barker
cd1198bf49
autotest: drain mav before attempting to run a command
...
We're losing an arbitrary amount of data while getting the ACK, so it's
fine to lose whatever is in the buffer.
2020-06-24 18:09:28 +10:00
Peter Barker
d0b97b89e7
autotest: add an assert_receive_message method
2020-06-24 18:09:28 +10:00
Peter Barker
bb14746517
autotest: re-enable Rover BendyRuler test
...
This appears to now be working
2020-06-24 08:53:04 +09:00
Peter Barker
f8acc211cf
Tools: AP_Bootloader: remove unused BL_WAIT_MAGIC define
...
This has been replaced with RTC_BOOT_HOLD
2020-06-23 09:16:42 +10:00
Andy Piper
c6415136ed
autotest: add a test for dynamic harmonics
2020-06-21 19:09:35 +10:00
Pierre Kancir
653a6bd0a4
Tools: remove xmlpretty, xmlint do a better job
2020-06-20 20:05:35 +10:00
Pierre Kancir
77b461fee4
Tools: add --debug-ekf to debug the EKF
2020-06-20 19:59:05 +10:00
andresrcdev
90d24042cf
Tools: Added my name to GIT_Success.txt
2020-06-20 08:18:15 +09:00
auturgy
c4a92fb0fe
Update board_types.txt
...
Update URL for ArduPilot board_types.txt
2020-06-18 14:49:57 +10:00
Andrew Tridgell
0efae38af0
Tools: updated PR instructions for board_types PRs
2020-06-17 14:24:22 +10:00
Andrew Tridgell
17e8e422db
AP_Bootloader: added board_types.txt
...
avoiding pointing people at the old bootloader directory for board IDs
2020-06-17 14:16:47 +10:00
Peter Barker
d1170db4bf
Tools: allow parameters to be specified on a per-vehicle basis
2020-06-16 11:21:47 +10:00
Peter Barker
ba5e4b8e37
autotest: python3 fix for fly_guided_move_to
2020-06-15 12:54:25 +10:00
Andrew Tridgell
243cfb5ffa
Tools: added Pix32v5 bootloader
2020-06-12 21:23:16 +10:00
Andrew Tridgell
ef8b09fa8b
Tools: added Holybro Pix32v5 to build
2020-06-12 21:23:16 +10:00
Peter Barker
300e7ac2eb
autotest: increase timeout on receiving mission-related messages
...
... to silly proportions.
2020-06-12 14:05:35 +10:00
Peter Barker
77e5236278
autotest: drain mavlink queue to avoid failing on slow MISSION_COUNT
...
It was observed from a log of a failed CI test that the ACK from
clearing the rally items took 6 wallclock seconds to arrive.
We were not waiting for that ACK to arrive before sending the request
for the mission item count, but if it has taken more than six seconds
for the ACK to arrive it is reasonable to assume that MISSION_COUNT
could very well take more than the 10 seconds we allow for it.
If we drain the mav before sending the request for the mission count we
should remove any signficiant timing problem due to a backlog of mavlnk
messages, but the amount of traffic here is problematic.
Also drain in lots of other places where we might be spending way too
long parsing messages.
2020-06-11 20:53:50 +10:00
Peter Barker
dc19dfaed8
autotest: fix several race conditions in RCOverride test
2020-06-11 08:30:32 +10:00
Peter Barker
e207bbdf2a
autotest: fix SYSTEM_TIME stream detection function
...
MAVProxy's output is read by autotest via pexpect.
SITL's output is read by MAVProxy.
If we don't read MAVProxy's stdout then it doesn't read SITL and
everything stops.
Also, since we need to drain pexpects as part of reboot, and applying
parameter files requires rebooting... we need to append the expect
objects to the global list before we apply parameter files. So move
that call.
2020-06-10 22:00:01 +10:00
Peter Barker
db6fef7ebd
Tools: uploader: translate board IDs into board type in incompat output
2020-06-09 10:30:50 +10:00
Iampete1
579227d27a
Tools: param.py add MB
2020-06-09 09:23:25 +10:00
bugobliterator
0528daecd8
autotest: increase timeout for compass calibration
2020-06-08 07:25:51 +10:00
bugobliterator
83d5df257e
Tools: fix sitl_calibration stopping at calibration report
2020-06-07 17:10:09 +10:00
Peter Barker
bdda78d0bb
Tools: move removal of modemmanager down
...
... so it doesn't get reinstalled later
2020-06-05 14:26:09 +10:00
Andrew Tridgell
7390846851
autotest: we need more than 1500 throttle for SimpleMode test
...
we are in stabilize and flying around, needs more than half throttle
to maintain height. This test was already marginal, but addition of
pressure alt in SITL pushed it over the edge
2020-06-05 11:35:53 +10:00
bugobliterator
a5e9da337a
Tools: autotest: fix FixedYawCalibration
2020-06-05 09:38:40 +10:00
bugobliterator
2c3bd61eb4
autotest: remove older compass calibration test
2020-06-05 09:38:40 +10:00
Pierre Kancir
bd53796ed4
Tools: copter: add compass calibration testing
2020-06-05 09:38:40 +10:00
Pierre Kancir
2c7fc65fbd
Tools: common.py: add generic compass calibration test
2020-06-05 09:38:40 +10:00
Pierre Kancir
b72a17533c
Tools: common: add a method to try arming and wait a result
2020-06-05 09:38:40 +10:00
Pierre Kancir
59de90d97f
Tools: common.py: make max_delta a paramter for verify_parameter_values
2020-06-05 09:38:40 +10:00
Peter Barker
6490a57179
autotest: move check_logs to be an AutoTest-class function
...
This makes the AutoTest instance cognizant of the binary log files it is creating. This will be useful for checking the contents of the log files created.
2020-06-04 20:15:31 +10:00
Pierre Kancir
2c43efc7b4
Tools: vagrant: remove duplicate from install script
2020-06-04 14:27:24 +10:00
Pierre Kancir
6b596184cf
Tools: install-prereqs-ubuntu : use variable for pip version selection
2020-06-04 14:27:24 +10:00
Pierre Kancir
b238d081ac
Tools: install-prereqs-ubuntu : prevent crash when link already exist
2020-06-04 14:27:24 +10:00
Pierre Kancir
e40480a0ed
Tools: install-prereqs-ubuntu : fix package_is_installed
2020-06-04 14:27:24 +10:00
Peter Barker
d08e9b3363
autotest: --list-subtests works for QuadPlane, Heli and BalanceBot
2020-06-04 10:13:57 +10:00
Peter Barker
6c67ddacf4
autotest: rename set_heartbeat_interval to set_heartbeat_rate
2020-06-04 01:11:28 +10:00
Peter Barker
4e216f976f
autotest: assert that Plane doesn't support fence-via-mission-item-protocol
...
Hopefully this starts to fail at some stage!
2020-06-02 19:00:32 +10:00
Christian Clauss
b07fb05dde
autotest: Use ==/!= to compare constant literals (str, bytes, int, float, tuple)
...
Avoid SyntaxWarnings on Python >= 3.8
% `python3.8`
```
>>> "second" is "second"
<stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="?
```
`flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics`
```
./Tools/autotest/arducopter.py:3899:20: F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
if loop is not "second":
^
./Tools/autotest/arducopter.py:4047:20: F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
if loop is not "second":
^
2 F632 use ==/!= to compare constant literals (str, bytes, int, float, tuple)
2
```
2020-06-02 16:25:15 +10:00
Peter Barker
ffaa60b9ed
autotest: stop emitting duplicate rangefinder headings
...
This was only an issue for the Wasp rangefinder block, which drops stuff
in at the top level by specifying the same subgroup name as the top
level.
2020-06-02 09:37:33 +10:00
Rajat Singhal
969a66fa01
Tools: autotest: Add Max RC input test for Rover
...
Currently disabled since it triggers Arithmetic Exception
2020-05-31 21:11:36 +10:00
Peter Barker
c474edbfbc
autotest: attempt to make parameter download more reliable
...
something is stopping parameters from being fetched. Give it time to
clear.
2020-05-30 10:11:07 +10:00
Peter Barker
7bd32338ef
travis: run tradheli tests
2020-05-29 19:12:20 +10:00
Peter Barker
adeb37581f
autotest: fix heli for setpoint change
2020-05-29 14:53:12 +10:00
Peter Barker
aaef44858f
autotest: add test for Heli stabilize-mode takeoff
2020-05-29 14:25:30 +10:00
Andrew Tridgell
ae0fbdfa07
Tools: updated CUAV-Nora bootloader
2020-05-28 19:14:15 +10:00
Peter Barker
c44b760f3c
autotest: explicitly run hello-world test and check for string
2020-05-28 13:49:47 +10:00
pkocmoud
67e79638d4
build_binaries: add mRoPixracerPro
2020-05-27 21:22:56 +10:00
Peter Barker
b0916231b2
autotest: add tests for log download
2020-05-26 19:32:49 +10:00
MisterMower
59a472e41e
Tools: Added name to GIT_Success.txt
...
Added Drew Sandlin to GIT_Success.txt.
2020-05-26 16:19:14 +10:00
Peter Barker
539e73e49c
Tools: uploader.py: print board name as well as board id
2020-05-26 14:13:39 +10:00
Peter Barker
de2055b57f
Tools: use new UARTDriver discard_input method
2020-05-26 09:20:32 +10:00
Pierre Kancir
f199ca54bd
Tools: fix install-prereqs-ubuntu
...
make a function to return 1 if a dpkg find that a package is installed, O otherwise
2020-05-26 09:15:26 +10:00
Peter Barker
c8fdf9305b
autotest: add test for quadplane stickmixing
2020-05-24 12:17:50 +10:00
Andy Piper
1358e39ffd
autotest: test 256 FT windows and fix calculation of log-based FFT
...
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
harmonic switching test
tighten frequency check and loop twice to avoid heisenbugs
2020-05-24 07:43:34 +10:00
Peter Barker
605672b631
autotest: round frsky altitude rather than truncate
...
Closes https://github.com/ArduPilot/ardupilot/issues/14431
2020-05-23 17:40:24 +10:00
jbteja
c9fb988a57
Tools: Added check for validating input arguments in ardupilot-astyle.sh
2020-05-23 14:04:58 +10:00
Arash Negahdar
a7768aabae
Tools: Expose more options to SCRIMMAGE
2020-05-21 08:04:23 +10:00
Peter Barker
1f1383ab64
autotest: add quadplane test for qassist
2020-05-20 18:39:42 +10:00
Peter Barker
f9c86bbfd0
autotest: ensure cached timestamp is up-to-date for run_cmd_get_ack
...
If a long-running process drains the mavlink stream rather than parsing
it then the cached timestamp can be very, very out-of-date. When we
next receieve a timestamp, then, there can be a signficant change in
time when we weren't expecting it.
run_cmd_get_ack can't use get_sim_time() as it might swallow the ack it
is looking for.
2020-05-19 19:12:41 +10:00
Peter Barker
b857002158
autotest: drain mav before checking EKF values
...
May be getting stale values from this function
2020-05-19 19:12:41 +10:00
Peter Barker
d51d6752e5
autotest: drain mav before delay
...
We're seeing suspiciously low wall-clock delays.
2020-05-19 19:12:41 +10:00
Peter Hall
4b726b716b
Tools: environment_install: add xterm to Cygwin packages
2020-05-18 09:29:26 +10:00
bugobliterator
183e50b31f
autotest: fix autotest on mac os x
2020-05-17 16:12:43 +10:00
Andrew Tridgell
a349a2f956
Tools: fixed SITL build
2020-05-16 10:39:14 +10:00
Andrew Tridgell
c5c171b359
Tools: fixed scripting build with --out on configure line
...
thanks to Henry for noticing
2020-05-16 10:09:15 +10:00
Peter Barker
c0fae0b1fb
autotest: disable GyroFFT test; underlying issue being actively worked on
2020-05-15 16:02:41 +10:00
Peter Barker
dec615bfb5
autotest: drain SITL pexpect when waiting for parameter
...
This is important when rebooting as the ArduPilot process can block on
sending to stdout, which pexpect is reading from. While rebooting we're
waiting for a parameter to be reset to a different value in this loop,
which could take quite some time.
2020-05-15 16:02:09 +10:00
Peter Barker
f6b121ad87
autotest: add tests for logging
2020-05-15 16:02:09 +10:00
Andrew Tridgell
5437f1e6ee
AP_Periph: prepare for 1.1.0
2020-05-14 15:40:03 +10:00
Andrew Tridgell
be812f490f
waf: added AP_LIB_EXTRA_SOURCES
...
used to allow building of dynamically generated library components
2020-05-12 19:55:21 +10:00
dorovl
70f445e7f1
Bone : Faulty PWM output after few flight controller restarts due to wrong IEP Timer configuration
...
modified: Makefile
modified: RcAioPRU.p
modified: RcAioPRUTest.c
modified: RcAioPRU_BBBLUE_bin.h
modified: RcAioPRU_BBBMINI_bin.h
modified: RcAioPRU_POCKET_bin.h
new file: start_test
2020-05-11 18:57:55 +10:00
Andrew Tridgell
582de68ea7
AP_Periph: updated release notes
2020-05-11 18:48:18 +10:00
Andrew Tridgell
50d2b51f3d
AP_Periph: added release notes
2020-05-11 18:46:07 +10:00
Andrew Tridgell
67b7c21f87
AP_Periph: prepare for 1.1.0 beta release
2020-05-11 18:38:14 +10:00
Andrew Tridgell
4c1418f325
AP_Periph: added LED blinking while waiting for DNA
2020-05-11 18:36:46 +10:00
Andrew Tridgell
d789c618a2
AP_Periph: use rangefinder get_address()
2020-05-11 18:36:46 +10:00
Devansh Chawla
ebd2e15a6e
Tools: added name to GIT_Success.txt
2020-05-10 16:18:49 -07:00
Andrew Tridgell
8c59eb58bb
Tools: added generic copter CMAC mission
2020-05-09 12:33:33 +10:00
Michael du Breuil
9d6a138680
Tools: Require edn_format again
2020-05-07 18:11:17 +10:00
Andy Piper
8f864f02fb
autotest: 256 windows don't currently work
2020-05-06 10:14:30 +10:00
Andy Piper
db4a612c13
autotest: test 256 FT windows and fix calculation of log-based FFT
...
fix quadplane FFT reference calculation
re-enable harmonic test
use median for measuring in-flight FFT average as it's much more reliable
relax quadplane filter restriction
2020-05-06 10:14:30 +10:00
Peter Barker
1c7354c321
autotest: improve mount debug
2020-05-05 20:51:23 +10:00
Peter Barker
b312260be3
autotest: add timestamp to progress message
2020-05-05 11:09:43 +10:00
Andy Piper
d0cd494178
waf: add AP_RCTelemetry to build
2020-05-05 09:23:15 +10:00
Peter Barker
bd0ebb5778
autotest: accept statustext and ack in any order for mission errors
...
Accept statustext/ack in any order; statustext may come after ack
2020-05-04 18:42:18 +10:00
Peter Barker
ebc781ba3a
autotest: switch to looking for barometer update string for passthrough test
...
MAVProxy can fetch parameters using FTP rather than normal param
mechanism. Currently this does not emit any of our statustext
information - like the text we're looking for in this test
2020-05-04 10:07:38 +10:00
Peter Barker
d197fd4acf
autotest: fix rare, random failure in GCSRally test
...
Notionally the statustext could be put aside and we could not have room
for it, so we see the ack first.
2020-05-04 00:22:54 +10:00
Pierre Kancir
d83b9575da
Tools: vagrant: check for $HOME/.local/bin on init for local python package
2020-04-30 20:32:34 +10:00
Pierre Kancir
ced185b59b
Tools: Completion: fix vehicle type competion
2020-04-30 20:32:34 +10:00
Pierre Kancir
64b7e8fb9e
Tools: prereqs-ubuntu: cleanup and improvements
...
reorder install
remove unneeded package
make install verbose
add environment variable to control what to install
register STM toolchain on CCache
Tools: install-prereqs-ubuntu.sh: only update package list once
Tools: install-prereqs-ubuntu.sh: move STM toolchain registery into install step
Tools: install-prereqs-ubuntu.sh: use right comparison for variable value
Tools: install-prereqs-ubuntu.sh: always check for libtool-bin
Tools: install-prereqs-ubuntu.sh: Add support for Ubuntu 20.04
Add a selection for python version
ass python symlink for ubuntu 20.04
Move python-argparse out of default list as it install python2 version
Tools: install-prereqs-ubuntu.sh:Tools: Check python version for python3 distro
Tools: install-prereqs-ubuntu.sh: install pygame requirements
Tools: install-prereqs-ubuntu.sh: check for docker envirement and use .bashrc instead of .profile
Tools: install-prereqs-ubuntu.sh: add bash completion by default
Tools: install-prereqs-ubuntu.sh: better ccache management
Tools: install-prereqs-ubuntu.sh: Correct package installation for trusty
2020-04-30 20:32:34 +10:00
Pierre Kancir
2b2dcbb6d8
Tools: Configure-ci: correct some mistakes
2020-04-30 20:32:34 +10:00
pkocmoud
75b5e20c6a
build_binaries.py: add mRo MN10070 Location One CAN GPS
2020-04-30 11:31:43 +10:00
Andrew Tridgell
ec73cb0e88
Tools: don't fail CI if we can't install edn_format
...
trying to fix semaphore
2020-04-29 18:51:16 +10:00
Andrew Tridgell
01e77d6f5b
AP_Periph: don't send a zero timestamp marked as UTC time
...
this fixes a problem with bad SYSTEM_TIME when using an AP_Periph
GPS. Many thanks to Phillip Kocmoud for reporting
2020-04-29 12:20:19 +10:00
Andrew Tridgell
300cfa4380
Tools: added param_unpack.py
...
decode param.pck file
2020-04-29 07:36:55 +10:00
Andrew Tridgell
518ff84ff6
AP_Periph: fixed ADSB build
2020-04-29 07:36:55 +10:00
Andrew Tridgell
5b063731b6
AP_Periph: avoid building GCS_MAVLink
2020-04-29 07:36:55 +10:00
Peter Barker
475027e03a
Tools: autotest.py: add --enable-math-check-indexes
2020-04-28 15:12:39 +10:00
Peter Barker
cb3c1742e8
Tools: sim_vehicle.py: add --enable-math-check-indexes
2020-04-28 15:12:39 +10:00
Arash Negahdar
7de136121b
Tools: Exit cleanly based on the environment
...
As suggested by Peter Barker
2020-04-28 11:09:51 +10:00
Arash Negahdar
908b63573e
Tools: Implement better Scrimmage support
2020-04-28 11:09:51 +10:00
Arash Negahdar
e75ac4ae57
Tools: Allow multiple ArduPilot instances to be spawned
2020-04-28 11:09:51 +10:00
bnsgeyer
bf86059229
Tools: update tradheli sitl default param file
2020-04-28 10:45:33 +10:00
Andrew Tridgell
10d990a43b
AP_Bootloader: refer to SERIAL_ORDER
2020-04-28 10:32:23 +10:00
Andrew Tridgell
a950d7f503
Tools: rebuilt bootloaders
2020-04-28 10:32:23 +10:00
Andrew Tridgell
a2da360ecc
Tools: added --Werror to bootloader builds
2020-04-28 10:32:23 +10:00
Andrew Tridgell
13e11d6a19
Tools: omit f103-periph and f303-periph from configure_all.py
2020-04-28 10:32:23 +10:00
Andrew Tridgell
faffcb304a
Tools: allow continue of configure_all.py script
2020-04-28 10:32:23 +10:00
Andrew Tridgell
911d643c35
Tools: added -Werror option to configure_all.py
2020-04-28 10:32:23 +10:00
Andrew Tridgell
f352b6d107
waf: added -Werror configure option
...
for building with error on any warning
2020-04-28 10:32:23 +10:00
Andy Piper
dd987c9a19
autotest: new harmonic notch test
2020-04-28 09:32:02 +10:00
Andrew Tridgell
70ef6cf02c
Tools: updated Durandal bootloader
2020-04-24 19:46:22 +10:00
Peter Barker
864717310d
autotest: allow specification of EKF type to use on commandline
2020-04-24 13:37:47 +10:00
Andrew Tridgell
6887252ad3
Tools: added mRoNexus to build
2020-04-23 07:28:13 +10:00
Andrew Tridgell
50ec9b59af
Tools: added CUAV-X7 bootloader
2020-04-23 07:28:13 +10:00
Andrew Tridgell
d8e208167d
Tools: added mRoNexus bootloader
2020-04-23 07:28:13 +10:00
Peter Barker
c6cf809041
autotest: correct some parsing-out-of-logging-message
2020-04-22 21:10:55 +10:00
Samuel Tabor
913e5a23fe
autotest: Add method to get default params for model.
2020-04-22 10:01:09 +10:00
bugobliterator
49843fc3e7
script: add special decoding for CAN devid
2020-04-22 07:54:21 +10:00
Peter Barker
39032459d1
autotest: add explicit test for mavlink rangefinder
2020-04-21 20:44:59 +10:00
Mark Whitehorn
0e6ae6c5b4
Tools:autotest: add AAMWestField location
2020-04-20 10:08:17 +09:00
Peter Barker
e63e5ba130
autotest: correct path to defaults file when customising SITL cmdline
2020-04-19 11:09:16 +10:00
Samuel Tabor
e30f0a9173
autotest: Move soaring test into plane.
2020-04-19 11:09:16 +10:00
Peter Barker
52227872d2
autotest: rover: skidsteer: fix defaults file path
2020-04-18 21:51:16 +10:00
Stephen Dade
05cbdcde42
Tools: Update Cygwin install to use Python3
2020-04-17 10:32:25 +10:00
Stephen Dade
49d19e1aac
Tools: Python3 and kill_tasks fixes for sim_vehicle under Cygwin
2020-04-17 10:32:25 +10:00
Peter Barker
e1e4e6c3c1
build_binaries: add compatability code for git tags
...
The tags are still called APMrover2-stable rather than Rover-stable - so
cope with that in build_binaries.py for the time being
2020-04-15 21:16:56 +10:00
Peter Barker
7c20a1ee05
autotest: rename apmrover2.py to rover.py
2020-04-15 19:29:04 +10:00
Peter Barker
efb5ad2f1c
autotest: correct checking of downloaded file
...
First time we've tried to round-trip a mission file with comments it it
New frames used by new mission files need stuff to be ignored
2020-04-15 16:24:40 +10:00
Peter Barker
899b98b2f9
Plane: add test for loading/restoring large missions
2020-04-15 16:24:40 +10:00
Andrew Tridgell
7ad8ea017c
autotest: make column ordering in rst gen stable
...
needed for cache of param builds
2020-04-15 15:11:21 +10:00
Andy Piper
6245197204
waf: add support for the macOS clang address sanitizer
2020-04-15 07:22:49 +10:00
Peter Barker
0e40d1cb6b
autotest: correct key for Rover -> APMrover2 in skidsteer test
2020-04-14 15:09:17 +10:00
Peter Barker
10e8f3f3d7
autotest: canonicalise on defaults_filepath rather than defaults_file
...
This naming better represents the fact this isn't just a filename.
2020-04-14 15:09:17 +10:00
Samuel Tabor
c4e255fa5f
autotest: Fix key error
2020-04-14 15:09:17 +10:00
Andrew Tridgell
1f3f04e5b8
Tools: added MatekH743 to build
2020-04-14 13:17:31 +10:00
Peter Barker
332a19d9dc
autotest: sim_vehicle.py: add backwards-compatible APMrover2 option
2020-04-14 09:50:34 +09:00
Peter Barker
2088446ebf
Tools: rename APMrover2 to Rover
2020-04-14 09:50:34 +09:00
Peter Barker
691ae58a79
Tools: rename APMrover2 to Rover
2020-04-14 09:50:34 +09:00
Andrew Tridgell
b5ef6d0b11
Tools: added MatekH743 bootloader
2020-04-14 10:02:51 +10:00
Andrew Tridgell
a74f2428f2
AP_Bootloader: fixed use of FLASH_RESERVE_END_KB
2020-04-14 10:02:51 +10:00
Andrew Tridgell
685d26c808
Tools: added --disable-ekf2 and --disable-ekf3 in sim_vehicle.py
2020-04-14 09:15:43 +10:00
Andrew Tridgell
823d666bc2
waf: added --disable-ekf2 and --disable-ekf3 build options
...
allows for testing disables in SITL
2020-04-14 09:15:43 +10:00
CUAVcaijie
b97d20acba
Tools: added CUAV-X7 to autobuild
2020-04-13 15:26:02 +10:00
Peter Barker
d43fc591c3
autotest: add skidsteer test
2020-04-12 20:34:26 +10:00
Peter Barker
9511fa59ec
autotest: permit specification of frame as part of customing cmdline
2020-04-12 20:34:26 +10:00
Peter Barker
e0380fc9be
autotest: improve debug information for missing fields
2020-04-12 08:36:48 +10:00
Andrew Tridgell
845755dd3d
Tools: removed GPS_POS vars from defaults
2020-04-11 21:14:31 +10:00
Philipp Borgers
5e09553449
Tools: remove trailing white spaces from output of generate_manifest
...
Explicitly set the seperators of the json.dumps call. Some versions of
the library in combination with set indent parameter create output that
contains quite a lot of trailing white spaces.
2020-04-10 16:25:09 +10:00
Willian Galvani
a1dcb8e3c1
Tools: use html.escape instead of cgi.escape
...
cgi.escape has been deprecated since Python 3.2
https://docs.python.org/3.5/library/cgi.html#cgi.escape
2020-04-10 15:40:01 +10:00
Henry Wurzburg
b3678fdf02
Tools: correct incorrect gservo6 alias name in mavinit.scr
2020-04-10 12:30:16 +10:00
bugobliterator
1f421edaf2
waf: chibios remove quotes from the default param filename
2020-04-10 07:04:21 +10:00
Randy Mackay
f78d8b009a
Tools: enable visual odometry for fly_vision_position test
2020-04-09 19:41:08 +09:00
Pierre Kancir
07435cc541
Tools: correct path for soaring mission
2020-04-09 09:01:03 +10:00
Pierre Kancir
d5aec30a7d
Tools: update path for antenna tracker test missions files
2020-04-09 09:01:03 +10:00
Pierre Kancir
77ee15bfa1
Tools: finish clean up path
2020-04-09 09:01:03 +10:00
Pierre Kancir
81274018c3
Tools: update path for sub test missions files
2020-04-09 09:01:03 +10:00
Pierre Kancir
4eceef1cef
Tools: update path for rover test missions files
2020-04-09 09:01:03 +10:00
Pierre Kancir
bcd15bc6e4
Tools: update path for plane test missions files
2020-04-09 09:01:03 +10:00
Pierre Kancir
24a2bc3b0e
Tools: update path for copter test missions files
2020-04-09 09:01:03 +10:00
Pierre Kancir
5b26df5780
Tools: put Mission files into right directories
2020-04-09 09:01:03 +10:00
Andrew Tridgell
04d760d54c
Tools: added new RM3100 ID
2020-04-08 11:21:51 +10:00
Peter Barker
2d171d0cb4
autotest: add sanity check for duplicate labels in LogWrite calls
2020-04-08 11:17:41 +10:00
Samuel Tabor
a4c5e12fac
Tools: Make soaring test a subclass of plane test.
2020-04-08 09:11:54 +10:00
Samuel Tabor
0df6d74d77
AP_Soaring: Update autotest to use delay_sim_time not wait_seconds.
2020-04-08 09:11:54 +10:00
Samuel Tabor
7168a65155
Autotest: Simplify soaring.py.
2020-04-08 09:11:54 +10:00
Samuel Tabor
528dcc3f6b
Autotest: Add test for soaring.
2020-04-08 09:11:54 +10:00
Samuel Tabor
a18d6e925d
AP_Soaring: Improved default sim parameters.
2020-04-08 09:11:54 +10:00
Samuel Tabor
5082c9be8b
SITL: Add plane-soaring type, including parameters, mission, simulated thermals and glider sim settings.
2020-04-08 09:11:54 +10:00
Peter Barker
5881692e4f
autotest: sub: fix altitude-hold for being below target altitude
2020-04-07 14:51:32 +10:00
Pierre Kancir
c4fa6fee9a
Tools: completion: add completion for autotest.py
2020-04-07 09:16:33 +10:00
Pierre Kancir
6dce7a88d4
Tools: completion: small correction to zsh
2020-04-07 09:16:33 +10:00
Pierre Kancir
5736e28693
Tools: completion bash: correct word reuse skipping
2020-04-07 09:16:33 +10:00
Pierre Kancir
3262175f86
Tools: completion: add bash completion for autotest.py
2020-04-07 09:16:33 +10:00
Peter Barker
52bb7760bc
autotest: add debug for COMMAND_LONG commands
2020-04-06 10:07:26 +10:00
juvinski
7919bafc86
Tools: added name to GIT_Success.txt
2020-04-04 08:06:46 +09:00
Peter Barker
d966f5718d
autotest: add option to list subtests
2020-04-03 17:00:22 +11:00
Peter Barker
45ccced4df
autotest: add examples to help output
2020-04-03 17:00:22 +11:00
Peter Barker
47e03d4e62
autotest: loosen epsilon on arriving at boundary
...
We don't always get within 2.5m
2020-04-02 12:56:24 +11:00
Andrew Tridgell
e2d6e70895
AP_Periph: fixed HWESC temperature decoding
...
now have protocol docs
2020-04-02 11:43:37 +11:00
Peter Barker
4bab3c083e
autotest: sort messages in logger documentation output files
2020-04-02 10:57:40 +11:00
Peter Barker
cbe1dba781
autotest: loosen slowdown constraint on zigzag test
2020-04-02 09:39:27 +11:00
Pierre Kancir
5d299eb584
Tools: add error keyword on param parse for newcomers
2020-04-02 08:11:42 +11:00
Peter Barker
f450df18b0
autotest: allow more time to loiter to ne in precision test
2020-04-01 21:51:22 +11:00
Jawed Alam
72c46a7fc8
Tools: added name to GIT_Success.txt
...
I added my name by forking the repository
2020-04-01 17:55:41 +09:00
jgruver
ff784aee67
Tools: Add name to GIT_Success
2020-04-01 17:48:22 +09:00
Peter Barker
2fb31e69ea
autotest: correct test class map for Helicopter
2020-04-01 11:17:56 +11:00
Marek Łukasiewicz
d41275298b
Tools: added name to GIT_Success.txt
2020-03-31 08:06:00 +09:00
bhaskar
544df71fd2
Tools: added name to GIT_Success.txt
2020-03-30 20:47:06 +09:00
Peter Barker
9da91b2005
autotest: execute check-logs step for Tracker
...
... and newly-renamed steps.
Also, eliminate no-longer needed step prefixes as we've canonicalised
them.
2020-03-30 13:34:08 +11:00
Peter Barker
53ced35f9d
autotest: correct bytes decoding for Python3 in Logger documentation
2020-03-29 14:44:36 +11:00
Peter Barker
b8dba9886f
autotest: Python3 fixes for LTM tests
2020-03-29 10:00:08 +11:00
Andrew Tridgell
9f2c689ec8
waf: fixed build to produce consistent binary
...
this ensures that optimisation levels are added regardless of whether
clean is run before or after a configure
2020-03-28 15:28:03 +11:00
Andrew Tridgell
4ca11224ba
waf: embed files from ROMFS directory in SITL
2020-03-28 15:28:03 +11:00
Andrew Tridgell
1b5e5de0d1
waf: prevent warnings about OSD_ENABLED in build
2020-03-28 15:28:03 +11:00
Pierre Kancir
aec5ae91fa
Tools: adjust zigzag timing to pass test
2020-03-27 22:13:52 +11:00
Pierre Kancir
3f441e61cd
Tools: copter : make zigzag more verbose
2020-03-27 22:13:52 +11:00
Pierre Kancir
f24f97e51b
Tools: sub: update to new wait functions
...
Signed-off-by: Pierre Kancir <pierre.kancir.emn@gmail.com>
2020-03-27 22:13:52 +11:00
Pierre Kancir
aba594fe2d
Tools: copter: update exception for rangefinder test
2020-03-27 22:13:52 +11:00
Pierre Kancir
1689714a5c
Tools: copter: add more verbose on fly_guided_change_submode
2020-03-27 22:13:52 +11:00
Pierre Kancir
56298aabda
Tools: update arduplane.py wait function parameters
2020-03-27 22:13:52 +11:00
Pierre Kancir
e4eebce5a6
Tools: update arducopter.py to use new wait functions
2020-03-27 22:13:52 +11:00
Pierre Kancir
2d65cbd884
Tools: Common : create generic wait_and_maintain function, upgrade all wait functions to use it
2020-03-27 22:13:52 +11:00
Peter Barker
87d363c3f4
Tools: use renamed autotest step names
2020-03-27 18:20:52 +11:00
Peter Barker
2d29cc3eda
Tools: build_ci.sh: use canonicalised autotest names
2020-03-27 09:29:19 +11:00
Peter Barker
be49396d32
autotest: canonicalise step names (e.g. drive.APMrover2 -> test.Rover)
...
Map from older step names to newer test names added for
backwards-compatability
2020-03-27 09:29:19 +11:00
Tejprakash-Sharma
cdbc5f1655
Tools/GIT_Test: Added a dev name
...
Tools/GIT_Test: Added a new dev name Tejprakash Sharma to GIT_SUCCESS.txt
2020-03-26 18:44:09 +09:00
Andrew Tridgell
318d467ecc
AP_Periph: fixed airspeed to use corrected pressure
...
this prevents the AP_Periph node from doing the fabs()
2020-03-25 20:37:00 +11:00
Peter Barker
bfc4802b37
autotest: fix sitl reboot
2020-03-25 20:19:25 +11:00
Ahmed Majuid
6ffc35fbf3
Tools: added name to GIT_Success.txt
2020-03-24 09:53:55 +09:00
Andrew Tridgell
bdc615e4cc
Tools: added rcda_decode script
2020-03-24 09:10:36 +09:00
bugobliterator
21a6a5d061
waf: disable use of libc realloc for chibios
2020-03-24 10:32:14 +11:00
bugobliterator
51fa1773b4
waf: enable heap methods for everything but bootloader
2020-03-24 10:32:14 +11:00
Rishabh
c859287310
Tools: param_metadata: check for duplicate enteries in parameter value field
2020-03-24 10:26:04 +11:00
Sohan Anisetty
b3fb99eddc
Tools: added name to GIT_Success.txt
2020-03-23 20:04:58 +09:00
Peter Barker
6206cbd1fa
autotest: add sanity checking for undocumented/overdocumented logger messages
2020-03-22 18:35:14 +11:00
Gabsxk
dfd3fa9b94
Tools: Gabsxk to GIT_Success.txt
2020-03-21 08:10:49 +09:00
Peter Barker
e671a0912e
autotest: logger_metadata: understand , in @LoggerMessage
...
This means multiple messages use exactly the same meaning in the fields
Also retain ordering of fields
2020-03-21 09:34:43 +11:00
Peter Barker
1104f15d88
Tools: build log message documentation on autotest server
2020-03-20 13:05:46 +11:00
Peter Barker
9bb40af1c7
Tools: add script to build all parameter documentation
2020-03-20 13:05:46 +11:00
Peter Barker
28c3ba32ae
autotest: add test for AP_Logger documentation generation
2020-03-20 13:05:46 +11:00
Peter Barker
60ff6c0b24
autotest: add parser for the logger metadata
2020-03-20 13:05:46 +11:00
Peter Barker
741d3e1435
autotest: make verify_parameter_values more verbose
2020-03-20 13:05:15 +11:00
Peter Barker
30baad35b2
autotest: improve debug on RC override test timeout
2020-03-20 12:19:44 +11:00
Peter Barker
403950f61f
autotest: add autotests for CPU failsafe
2020-03-20 12:19:21 +11:00
Peter Hall
32276d9725
Tools: autotest: apmrover2: add more scripts to and enable internal test
2020-03-19 15:28:39 -07:00
Peter Barker
61cc1decc3
Tools: start of script to help decode stm32 ICSR register
...
pbarker@bluebottle:~/rc/ardupilot(master)$ ./Tools/scripts/decode-ICSR.py 4196355
VECTACTIVE: 3 (Hard fault)
RESERVED1: 0
ROTOBASE: 1
VECTPENDING: 0
RESERVED2: 0
ISRPENDING: 1
RESERVED3: 0
PENDSTCLR: 0
PENDSVCLR: 0
PENDSVSET: 0
RESERVED4: 0
NMIPENDSET: 0
pbarker@bluebottle:~/rc/ardupilot(master)$
2020-03-18 11:22:41 +11:00
Peter Barker
92d2186b95
autotest: don't use self.mav.motors_disarmed_wait as it blocks forever
2020-03-17 16:31:29 +11:00
Peter Hall
9ae6633a08
AP_Periph: update to new NeoPixel API
2020-03-17 14:50:34 +11:00
Andrew Tridgell
92e4d9dd04
Tools: update R9Pilot bootloader
2020-03-14 07:06:10 +11:00
Andy Piper
718a6593e6
autotest: disable harmonic FFT test
2020-03-13 21:10:56 +11:00
Andy Piper
7c1757bab4
autotest: separate out harmonic matching test
...
be more forgiving about harmonic fit detection due to imperfect simulation
use the fft length to determine how accurate the frequency match should be
2020-03-13 21:10:56 +11:00
Callan Daniel
f1d6588954
add to locations.txt
...
Add Highway Airfield (South Africa) to locations.txt
2020-03-13 11:08:33 +11:00
Peter Barker
bb0920d56a
Tools: build_parameters: remove unused function parameters
2020-03-12 08:40:29 +11:00
Andrew Tridgell
305fc09e2b
Tools: rebuild bootloaders with CS fix
2020-03-11 09:53:06 +11:00
Andrew Tridgell
e15bb744ff
Tools: improve build_bootloaders.py script
...
give list of failed builds
2020-03-11 09:53:06 +11:00
Andrew Tridgell
0f7de04d79
Tools: added image_size to manifest
2020-03-11 09:43:06 +11:00
Andy Piper
94ff5d13c0
autotest: limit frequency matching to resolution of the FFT
2020-03-10 15:04:46 +11:00
Andrew Tridgell
998f93c7c9
AP_Periph: fixed HWESC RPM and current readings
2020-03-10 09:36:59 +11:00
Peter Barker
49314b2b86
Tools: build_autotest.sh: install pymavlink after MAVProxy
...
Currently installing MAVProxy pulls pymavlink in as a dependency, so we
end up running whatever MAVProxy's master branch is pointing to
(currently pymavlink>=2.3.3).
ardupilot master can reference a pymavlink commit which is not part of
whatever MAVProxy's master branch is pointing to, so we end up with
failures like this in autotest:
fly.ArduCopter:
Mount (Test Camera/Antenna Mount) ('module' object has no attribute 'MAV_CMD_DO_SET_ROI_SYSID') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-Mount.txt)
FixedYawCalibration (Test Fixed Yaw Calibration) ('module' object has no attribute 'MAV_CMD_FIXED_MAG_CAL_YAW') (see /mnt/volume_nyc3_01/autotest/APM/buildlogs/ArduCopter-FixedYawCalibration.txt)
If we install pymavlink after installing MAVProxy we should end up with
the pymavlink messages generated from the messages in our mavlink
subdirectory, rather that the pymavlink messages shipped as part of the
pymavlink pip release.
2020-03-09 15:04:20 +11:00
Peter Barker
5f8b7e990e
autotest: make scripts directory relative to CWD
...
This is where the library is expecting to find the scripts directory.
The existing setup assumes that autotest has been run from the root
directory - that's not always the case. For example, the autotest
server starts everything one-up from the root directory.
2020-03-09 14:34:02 +11:00
Rahul Ghangas
1fd5168eeb
Tools: Dev test, appending name to GIT_Sucess.txt
2020-03-09 08:52:16 +09:00
murata
d4d1eac612
Tools: Add Hachinohe mine
2020-03-07 21:07:16 +11:00
Peter Barker
d464db9c70
Tools: create log of build_binaries.py builds
2020-03-07 20:49:36 +11:00
Peter Barker
dc8e1bd4a4
autotest: flake8 fixes
2020-03-07 20:45:26 +11:00
Peter Barker
c7aff4eb11
autotest: fixes for quadplane fft test
...
recv_match's result is not iterable; it just gives you a single message.
printing the stacktrace when assigning to ex is tradition - we tend to
lose the stack traces otherwise
rebooting sitl is usually required if the context we've just popped had
a reboot in it (usually indicating a reboot-required parameter was set).
So I added a reboot after the context pop.
2020-03-07 20:45:26 +11:00
Andy Piper
de55e4dcc2
autotest: disable harmonic matching test
2020-03-07 20:44:52 +11:00
Andy Piper
eb0923a018
autotest: separate out harmonic matching test
2020-03-07 20:44:52 +11:00
gokul
cb37f66414
Tools: Added name(Gokul) to GIT_Success.txt
2020-03-07 09:22:44 +09:00
Peter Barker
4c964dd89f
autotest: param_parse.py: allow cr to exist on empty lines in prog_param
...
This should fix parameter building on the Windows CI autotest.
We allow empty lines between @Param blocks and the parameter (and, in
fact, require it before multi-entry @GROUPINFOs like vectors).
The regex wasn't taking into account Windows will have \r\n on that empty
line rather than just \n
2020-03-06 15:40:25 +11:00
Peter Barker
67a3610f54
autotest: correct dangling path separator issue in PYTHONPATH
2020-03-04 19:36:18 +11:00
Andrew Tridgell
5462c468cd
AP_Periph: fixed current decoding for HWESC
2020-03-04 16:21:06 +11:00
Andrew Tridgell
44bf05ab29
AP_Periph: added Hobbywing ESC telemetry support
...
useful to add UAVCAN ESC status for UART based telemetry for Hobbywing
ESCs
2020-03-04 16:21:06 +11:00
Peter Barker
c517124c72
Tools: correct path separator in PYTHONPATH
2020-03-04 15:25:14 +11:00
Peter Barker
8deaa36f5a
autotest: neaten start of MAVProxy, add debug showing cmdline
...
Attempting to diagnose failure of MAVProxy to find rline.py on the
autotest server.
2020-03-03 21:40:20 +11:00
Peter Barker
566732a2d7
autotest: tidy setting of PYTHONPATH in the environment
...
This could go badly for others appending to PYTHONPATH - this would have
left a trailing : on the end of the path
2020-03-03 21:39:56 +11:00
Peter Barker
7038d522b8
autotest: run GetCapabilities test on all vehicles
2020-03-03 09:44:39 +11:00
nnaka1
d5c0c62699
Tools: Add nnaka to git test
2020-03-02 13:40:04 +09:00
Peter Barker
3fac5ad52c
autotest: loosen gyro fft test to avoid spurious CI failures
2020-03-01 20:51:26 +11:00
Peter Barker
a9f3f9af40
autotest: attempt to fix param-parse crlf issue
2020-03-01 20:50:56 +11:00
Peter Barker
cb8d623624
autotest: add test for fixed yaw calibration
2020-02-29 16:25:30 +11:00
Andrew Tridgell
d83f380521
AP_Periph: adjust for updated LED API
2020-02-27 13:12:26 +11:00
Andy Piper
ee18db36fa
autotest: be more lenient on frequency with harmonic matching test
2020-02-25 08:35:09 +11:00
Peter Barker
b3bfc0bd32
autotest: add instant-disarm radio failsafe test
2020-02-24 12:25:42 +11:00
Andrew Tridgell
de791682e9
waf: fixed build on cygwin
...
this fixes a link error on cygwin with the new DSP libs
2020-02-22 22:41:24 +11:00
Peter Barker
194998d631
travis: restore fly.ArduCopter as running all tests
2020-02-22 16:51:39 +11:00
Peter Barker
82f53abee2
autotest: restore fly.ArduCopter as running all tests
...
the test list for ArduCopter is made up of those from tests1 and tests2
2020-02-22 16:51:39 +11:00
Arash Negahdar
9fb2914209
Tools: Only calculate root_dir and autotest_dir once in sim_vehicle.py
2020-02-22 13:12:42 +11:00
Andrew Tridgell
1a0079878a
Tools: rebuild AP_Periph bootloaders
2020-02-22 12:28:16 +11:00
Andrew Tridgell
84ac1ac41d
AP_Periph: don't probe rangefinder continuously
2020-02-22 12:28:16 +11:00
Andy Piper
05a0fe615b
Tools: split Copter tests into two runs to balance time on travis
2020-02-22 11:15:37 +11:00
Andy Piper
ba67ad39a0
Tools: quadplane test
2020-02-22 11:15:37 +11:00
Andy Piper
88f0c26636
Tools: add CMSIS DSP module to waf for M4 ChibiOS and control inclusion of FFT based on HAL_WITH_DSP and GYROFFT_ENABLED. target appropriate ARM cpus
...
sophisticated autotest for Gyro FFT
2020-02-22 11:15:37 +11:00
Pierre Kancir
e1d8148cc0
autotest: Python correctness fixes
...
Tools: common: correct copy shadowing in set_rc_from_map
Tools: common: comment out unused code
Tools: common: remove iteritem usage for py3
Tools: common: remove duplicate key in FRSkySPort id description for GPS
Tools: rover: correct type shadowing
Tools: rover: make expected_distance_epsilon float
Tools: rover: comment out unused code
Tools: rover: correct variable shadowing on my_message_hook
Tools: copter: correct variable shadowing
Tools: common: use Bool for port.setblocking
Tools: common: fix variable shadowing
2020-02-22 10:37:29 +11:00
Andrew Tridgell
c9c4167888
AP_Periph: fixed watchdog during DNA wait
...
thix fixes an issue with multiple AP_Periph nodes booting at the same
time
2020-02-22 09:35:39 +11:00
Peter Barker
293692cc24
autotest: strip whitespace from parameter attribute values
...
Attempt to fix \r\n issue on Azure cygwin tests
2020-02-21 19:51:15 +11:00
Randy Mackay
a9cc776c7d
Tools: update hexsoon edu450 recommended params
2020-02-20 19:28:24 +09:00
Pierre Kancir
1d8a9ab556
Tools: make dumpstack and run-coverage .sh script
2020-02-20 20:41:26 +11:00
Pierre Kancir
097cffaa06
Tools: build_ci: remove useless check for waf support
2020-02-20 20:41:26 +11:00
Andrew Tridgell
13f2320138
Tools: updated SuccexF4 bootloader
...
fixed board ID
2020-02-20 07:12:42 +11:00
Peter Barker
c4d282f05b
autotest: param_parse.py: whitespace-only line is param block delimiter
...
Several parameters were missing from the documentation because there was
a line with just trailing whitespace immediately after a parameter
metadata block.
Be more lenient.
2020-02-19 15:09:16 +11:00
Peter Barker
b2d05c9a85
autotest: make download_parameters more robust
2020-02-19 15:09:16 +11:00
Peter Barker
e3e152ae3e
autotest: make all-parameter-documentation-working a full autotest
2020-02-19 15:09:16 +11:00
Rishabh
f22e818161
Autotest: support new motor orders
2020-02-19 11:28:25 +09:00
Peter Barker
14e758a6d1
Tools: add sitltest-tracker into build_ci.sh
2020-02-19 13:13:45 +11:00
Peter Barker
a86dc33235
autotest: improve debugging of original location discrepancy
2020-02-18 12:29:00 +11:00