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