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