Peter Barker
c5f52a8355
Tools: autotest: tests for new fence code
...
Tools: autotest: move clear_mission up, use it before running each test
Also have it understand MAV_MISSION_TYPE_ALL
Tools: autotest: add tests for polyfence
Tools: autotest: add tests for multiple inclusion polyfences
Tools: autotest: ensure we can't arm inside a circle exclusion zone
Tools: autotest: add test for arming outside an inclusion zone
Tools: autotest: add tests for upload timeout
Tools: autotest: add tests for not arming due to polygon zones
Tools: autotest: add test for fence point reboot survivability
Tools: autotest: add test for moving fence point
Tools: autotest: add some tests via MAVProxy
Tools: autotest: add test for avoiding polygonal exclusion zones
Tools: autotest: add test for object avoidance
Currently disabled as it doesn't pass where it seemingly should.
Tools: autotest: skip MAVProxy tests on older MAVProxy versions
Tools: autotest: adjust fence loading for lack of string back from MAVProxy
Tools: autotest: create a do_RTL function
Tools: autotest: cope with loading QGC-style fence files
Tools: autotest: add test for object-avoidance in guided mode
Tools: autotest: add OA test for auto mode
Tools: autotest: add test for bendy ruler in guided mode
Tools: autotest: adjust for new MAVProxy fence module not emitting old strings
Tools: autotest: add tests for prearming due to bad parameter values
2019-09-28 07:58:48 +09:00
Peter Barker
073248eca5
Tools: autotest: remove vestiges of waf-run coverage
2019-09-27 07:20:21 +10:00
Peter Barker
a386048be7
Tools: autotest: add two basic tests for radio failsafe
2019-09-26 15:19:10 +10:00
Peter Barker
2e2bbf57bf
Tools: autotest: add disarm_wait function
2019-09-26 15:19:10 +10:00
Andy Piper
5f34ec6578
Tools: support lldb debugging for sim_vehicle and autotest
2019-09-26 09:02:11 +10:00
Peter Barker
47cb514446
Tools: autotest: enable EK3 for ride-along
...
This will have SITL cross more code, even if we don't actually use the
EK3 output
2019-09-25 21:14:14 +10:00
Peter Barker
b97b41a6e8
Tools: autotest: allow tracker to be armed between tests
2019-09-25 14:57:02 +10:00
Peter Barker
4c40640238
Tools: autotest: tidy handling of armed-at-end-of-test handling
2019-09-25 14:57:02 +10:00
Peter Barker
92160b454a
Tools: autotest: remove switch position assumption from takeoff
2019-09-25 13:42:21 +10:00
Andrew Tridgell
f5364e5efa
Tools: added script for creating apj file from *.bin
...
useful when you have a binary firmware and want to be able to upload
it with uploader.py
2019-09-25 08:40:02 +10:00
Peter Barker
f27b8a6c02
Tools: autotest: test for vehicle armed after test passes
...
postcondition of any test is that it leaves the vehicle disarmed
2019-09-24 20:00:07 +10:00
Peter Barker
d8fb003cc2
Tools: add entry for running unit tests to build_ci.sh
2019-09-24 14:30:13 +10:00
Peter Barker
84f6e49594
waf: cope with new format of gtest submodule
2019-09-24 14:30:13 +10:00
Peter Barker
52cb509f11
waf: add suggest-override even when building in uavcan
2019-09-24 14:30:13 +10:00
Andrew Tridgell
5aaeaaea8c
Tools: added UDP proxy code
...
very useful for fwding mavlink
2019-09-24 12:41:44 +10:00
Peter Barker
e50d237f3e
AP_Periph: stop compiling in AP_Buffer
2019-09-24 09:36:33 +10:00
Peter Barker
03e317fed8
Tools: autotest: send SIGTERM to processes before killing them
...
This allows coverage atexit functions to run
2019-09-23 19:36:38 +10:00
Andrew Tridgell
e9f8b91134
waf: fixed --build-dates option
...
and remove build_time from apj when --build-dates not used to avoid
changing apj file
2019-09-23 08:32:05 +10:00
Andrew Tridgell
8a05feb9d3
Tools: use --track-origins=yes in valgrind for sim_vehicle.py
...
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:06:36 +10:00
Peter Barker
642935fd43
Tools: random Python cleanups based on lgtm analysis
2019-09-21 22:26:03 +10:00
Peter Barker
de3c9340cb
Tools: autotest: correct timeout on heli spline mission
2019-09-19 22:39:10 +10:00
Peter Barker
f3eaf9ee6e
Tools: autotest: more coverage out of the dataflash-over-mavlink tests
2019-09-19 08:46:55 +10:00
Peter Barker
1f25b6e406
Tools: autotest: add test for SITL implementation of Block backend
2019-09-18 17:42:18 +10:00
Peter Barker
cefd30a086
travis: run balancebot tests as part of CI
2019-09-18 09:10:37 +10:00
Ebin
61e05ce881
Autotest: ATC_SPEED params for Balance Bot tweaked for better stability
2019-09-18 07:07:08 +10:00
Ebin
38c9763d48
Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10
2019-09-18 07:07:08 +10:00
Ebin
c449be3afb
Autotest: Balance Bot changes to Acro after Auto mission instead of Loiter
2019-09-18 07:07:08 +10:00
Peter Barker
8736a13a87
Tools: autotest: fix for Plane receiver health test
...
Won't be healthy until SITL is repolled for RC input
2019-09-17 13:31:06 +10:00
Peter Barker
1a7284ca73
Tools: autotest: add test for spline-as-last-waypoint
2019-09-17 09:05:23 +09:00
Peter Barker
192b275837
Tools: Replay: add dummy AP::advancedfailsafe method
2019-09-17 09:13:43 +10:00
Peter Barker
bba019abc2
Tools: autotest: add basic tests for AP_AdvancedFailsafe
2019-09-17 09:13:43 +10:00
Andrew Tridgell
84b035692f
Tools: added --no-bl option to configure_all.py
2019-09-16 12:53:44 +10:00
Andrew Tridgell
ab5868c0fa
Tools: added CubeBlack+ to autobuild
2019-09-16 12:53:44 +10:00
Andrew Tridgell
7b398d5336
Tools: added CubeBlack+ bootloader
2019-09-16 12:53:44 +10:00
Peter Barker
36ba3a6e4c
Tools: autotest: add test for follow mode
2019-09-16 12:00:11 +10:00
Peter Barker
4a35e8ee74
Tools: autotest: skip MIS_TOTAL parameter test on Tracker
...
This is CMD_TOTAL not MIS_TOTAL, and doesn't have facility for flags.
2019-09-14 09:26:11 +10:00
bnsgeyer
6074b1b7c9
Tools: add RPM to units list
2019-09-13 08:53:54 +09:00
Andrew Tridgell
f881e4a248
Tools: autobuild skyviper-journey
2019-09-12 14:02:36 +10:00
Andrew Tridgell
6c6a7cc675
Tools: removed old SkyViper-F412 defaults file
2019-09-12 14:02:36 +10:00
Andrew Tridgell
d9e3a01e57
Tools: fixed vsnprintf assumption in AP_Bootloader
2019-09-12 08:43:31 +10:00
Andrew Tridgell
bc0b9337a0
AP_Periph: fixed vsnprintf return assumption
2019-09-12 08:43:31 +10:00
Peter Barker
db6896d414
Tools: autotest: add Calvert Radio Aero Modeller's Society location
2019-09-11 06:55:59 +10:00
Peter Barker
6352e10811
Tools: scripts: build_ci.sh: understand env CI_BUILD_DEBUG
2019-09-11 06:55:37 +10:00
ken
00247e9d6a
Tools: added name to GIT_Success.txt
2019-09-10 15:53:54 +09:00
Andrew Tridgell
728e790873
AP_Periph: added README for AP_Periph development
2019-09-10 16:40:25 +10:00
Andrew Tridgell
42d72cfd66
AP_Periph: re-init LEDs at 1Hz
2019-09-10 16:40:03 +10:00
Andrew Tridgell
dec72302f2
AP_Periph: added a rainbow pattern on startup of CUAV_GPS
2019-09-10 16:22:33 +10:00
Andrew Tridgell
a4b3467dad
Tools: update CUAV_GPS bootloader
2019-09-10 16:22:33 +10:00
Andrew Tridgell
a42560ea27
AP_Bootloader: fixed CAN stay in bootloader functionality
2019-09-10 16:22:33 +10:00
Andrew Tridgell
8a689b2cd1
AP_Periph: support neopixel LEDs on CAN GPS
2019-09-10 16:22:33 +10:00
Andrew Tridgell
5ee66ab6a8
AP_Periph: added BUZZER_VOLUME parameter
2019-09-10 16:22:33 +10:00
Andrew Tridgell
01fc8dcb3c
AP_Periph: support safety button
2019-09-10 16:22:33 +10:00
Andrew Tridgell
0b6ef89498
AP_Periph: support SafetyState for safety LED
2019-09-10 16:22:33 +10:00
Andrew Tridgell
a469b93d23
AP_Periph: support UAVCAN buzzers
...
using BeepCommand
2019-09-10 16:22:33 +10:00
Peter Barker
45a76fe7fc
waf: add -Werror=format-extra-args to cxx flags
2019-09-10 10:04:48 +10:00
Andrew Tridgell
c90b937972
waf: wrap more libc functions
2019-09-09 13:31:30 +10:00
Andrew Tridgell
c2b06a3293
waf: wrap vsnprintf
2019-09-09 13:31:30 +10:00
Peter Barker
da2e00dd6f
Tools: autotest: fix race conditions in arm_vehicle and disarm_vehicle
2019-09-09 11:06:07 +10:00
Peter Barker
ba3f95ad20
Tools: autotest: add timeout parameter to detect_and_handle_reboot
2019-09-07 17:19:22 +10:00
Randy Mackay
1edd1034f9
Tools: update for amovlab-p200 default params
2019-09-06 14:39:34 +09:00
Randy Mackay
a648e7e695
Tools: add default params for amovlab p200 reference frame
...
also minor update to hexsoon edu450 params
2019-09-06 12:02:24 +09:00
Peter Barker
6c22faa585
Tools: Replay: correct compilation (missing override keywords)
2019-09-04 08:55:27 +10:00
Randy Mackay
b40c20aea2
Tools: update hexsoon edu450 params
2019-09-03 15:27:52 +09:00
Peter Barker
2273ffb267
waf: build in libraries/AP_NavEKF
2019-09-03 09:28:37 +10:00
Randy Mackay
ff72c15004
Tools: alphabetise sailboat SITL parm defaults
2019-09-01 09:11:25 +09:00
Randy Mackay
058867b12f
Tools: update sailboat SITL parm defaults
2019-09-01 09:11:25 +09:00
Peter Hall
baadc50c19
Tools: autotest update sailboat default params
2019-09-01 09:11:25 +09:00
Peter Barker
6206d214b8
Tools: build-with-disabled-features: flake8 compliance
2019-08-31 08:16:56 +10:00
Peter Barker
8ae9b8cc95
Tools: build-with-disabled-features: check on stm32 board
2019-08-31 08:16:56 +10:00
Andrew Tridgell
0e153313eb
Tools: fixed GPS pos error in Vicon script
2019-08-30 13:16:51 +10:00
Peter Barker
108f37c67c
Tools: autotest: ensure we can set parameters in groups with internal flag set
2019-08-30 06:57:30 +10:00
SajyBug
c45db920ff
Tools: added name to GIT_Success.txt
2019-08-29 10:38:21 -06:00
Phillip Kocmoud
1dc57c84c4
AP_Periph : CAN
...
Remove 100 times message counter to improve magnetometer performance.
Tested and uavcan.equipment.ahrs.MagneticFieldStrength improves from 7msgs/sec to 75msgs/sec which is likely the output rate of the actual sensor.
2019-08-29 18:01:22 +10:00
Randy Mackay
49b0d46612
Tools: param file for Hexsoon EDU450
2019-08-29 16:27:30 +09:00
Peter Barker
fba072e5fc
Tools: autotest; python3 fixes
2019-08-29 08:43:45 +10:00
Michael du Breuil
7ca6fd928e
Replay: Included needed headers directly
2019-08-28 13:13:03 +10:00
Peter Barker
291e2e3af6
waf: squash expansion-to-defined warnings
...
We use these a lot in our code and we're not particularly fussed with
portability.
2019-08-27 18:41:03 +10:00
Andrew Tridgell
da15fb988c
waf: add a lot more wrapped functions
...
this allows us to catch accidential inclusion of libc functions that
we don't want
2019-08-27 15:40:43 +10:00
Andrew Tridgell
abe53e1c9e
waf: build AP_Filesystem
2019-08-27 15:40:43 +10:00
Andrew Tridgell
99bcab955b
CI: added peripheral build to travis
2019-08-27 10:29:56 +10:00
Andrew Tridgell
11a1dfb869
Tools: added peripheral bootloaders
2019-08-27 10:29:56 +10:00
Andrew Tridgell
29fe4241a8
waf: use C11 for C files
...
needed for AP_Periph
2019-08-27 10:29:56 +10:00
Andrew Tridgell
d57ba14020
AP_Periph: added peripheral firmware
2019-08-27 10:29:56 +10:00
Andrew Tridgell
3bc5458a82
AP_Bootloader: added CAN support for AP_Periph
2019-08-27 10:29:56 +10:00
Peter Barker
4954c190da
Tools: autotest: add test for short failsafe triggering via low-throttle
2019-08-26 19:56:54 +10:00
Andrew Tridgell
6de85c4627
Tools: fixed autotest for throttle failsafe
2019-08-26 17:20:24 +10:00
Andrew Tridgell
687f2a3da4
Tools: fixed apj_tool for python3
...
py3 really is a major pain for simple string tools
2019-08-26 12:31:02 +10:00
Peter Barker
7a0970e499
Tools: add bootloaders for CubeSolo
2019-08-26 11:08:11 +10:00
Peter Barker
39b033253c
Tools: do not ignore .bin and .hex files in bootloaders directory
2019-08-26 11:08:11 +10:00
Peter Barker
813694894d
Tools: waf: add warning if bootloader not found
2019-08-26 11:08:11 +10:00
Peter Barker
cce85cb418
Tools: autotest: add test for inability to set MIS_TOTAL
2019-08-22 09:23:56 +10:00
Peter Barker
984be44eea
Tools: adjust reverse dependencies in build-with-disable-features.py
2019-08-21 17:27:20 +10:00
Peter Barker
479b2c5e11
Tools: autotest: allow nav-delay-abstime to delay arbitrary time
2019-08-21 16:08:24 +10:00
Peter Barker
cd45f3a14c
Tools: build_binaries.py: honour BUILDLOGS environment variable
2019-08-21 14:51:09 +10:00
mhefny
42cbb370f9
Tools: add Pyramid location
2019-08-19 19:36:25 +10:00
Peter Barker
c153a2d891
Tools: autotest: add test for motor test
2019-08-19 09:03:06 +09:00
Andrew Tridgell
a575b9a586
Tools: rebuilt IO firmware
...
new protocol version
2019-08-17 17:36:41 +10:00
Peter Barker
eb705dc88c
Tools: autotest: do not pass location to SITL unless user-specified
2019-08-15 18:00:35 +10:00
Peter Barker
a8a5ccf51b
Tools: autotest: test that long fs triggers even if short fs disabled
2019-08-15 12:07:30 +10:00
Peter Barker
6c5b03dbb7
Tools: Replay: var_info is now in GCS_MAVLINK_Parameters
2019-08-14 18:25:43 +10:00
Peter Barker
be173a9514
Tools: waf: stop adding -Wno-error=suggest-override for CAN boards
2019-08-14 16:33:29 +10:00
Peter Hall
ac237eea4b
Tools: autotest: update sailboat default params and add sailboat-motor frame
2019-08-14 09:26:01 +09:00
Peter Barker
1574464543
waf: do not -Werror=suggest-override on uavcan-enabled boards
...
uavcan doesn't have all of the required override keywords
SITL will still die without the keyword
2019-08-13 23:19:45 +10:00
Anthony Velte
892ad11552
Tools: Add scrimmage simulator to sim_vehicle.py
2019-08-13 10:07:26 +10:00
Peter Barker
92dde5b111
Tools: Replay: move automatic declination setting into AP_Compass itself
2019-08-13 10:02:13 +10:00
Peter Barker
c339d18ee6
Tools: add -Werror=suggest-override for gcc
2019-08-13 09:46:20 +10:00
Peter Barker
b61bfd663f
Tools: autotest: wait for EKF to be happy after returning its GPS
2019-08-12 13:12:11 +10:00
Peter Barker
6d6eb1f751
Tools: move coverage analysis into Tools/scripts/run-coverage
2019-08-12 12:29:51 +10:00
Andrew Tridgell
dbc1cd2b96
Tools: support GPS yaw in Vicon script
2019-08-12 10:25:40 +10:00
Peter Barker
bf0a947317
Tools: autotest: improve test diagnostics
2019-08-08 08:35:52 +10:00
Peter Barker
4b331419e3
Tools: autotest: improve mission download diagnostics
2019-08-07 14:15:47 +10:00
Peter Barker
9aa5cedd2a
Tools: autotest: increase timeout on mission_item_int
...
We may spend so much time parsing messages this deadline passes
2019-08-07 12:29:14 +10:00
Peter Barker
472d98dcb7
Tools: autotest: wait longer for mission acks
...
Nothing is adjusting the streamrates on our second mavlink port, meaning
we have to get through a lot of traffic before getting acks.
2019-08-07 12:28:57 +10:00
Peter Barker
cfd7e05257
Tools: build_binaries.py: correct comment on common_boards call
2019-08-07 11:54:04 +10:00
Peter Barker
066a382a3d
Tools: build_binaries.py: add omnibusf4 to build target list
2019-08-07 11:54:04 +10:00
Peter Barker
05a48928f8
Tools: autotest: assume Tracker has AP_Stats
2019-08-07 07:57:46 +09:00
Peter Barker
d68e8f4cfb
Tools: autotest: wait for any message on link before requesting mission count
2019-08-07 08:39:53 +10:00
Peter Barker
f896af6800
Tools: autotest: increase timeout waiting for MISSION_COUNT
2019-08-06 18:15:26 +10:00
Peter Barker
acf6cb8d75
Tools: autotest: rename clear_mission to clear_mission_using_mavproxy
2019-08-06 17:05:57 +10:00
Peter Barker
bca35ac469
Tools: autotest: stop trying to arm Heli in throw mode
2019-08-06 17:05:41 +10:00
Peter Barker
6896b7b302
Tools: autotest: improve tests of MISSON_ITEM compatability layer
...
Tools: autotest: test returned MISSION_ITEM has correct mission_type
Tools: autotest: correct spelling on mission
Tools: autotest: add sanity check for sequence number on returned items
Tools: autotest: add test that we MISSION_ACK for bad MISSION_ITEM seq
Tools: autotest: improve debug on MISSION_COUNT assertion
Tools: autotest: validate returned mission type
2019-08-06 13:58:44 +10:00
Peter Barker
16503f7f25
Tools: autotest: add test for Plane reposition
2019-08-06 12:52:09 +10:00
Andrew Tridgell
7fbe7de984
Tools: updated omnibus bootloaders
2019-08-06 11:22:52 +10:00
Peter Barker
0dfb1e858c
Tools: autotest: remove ineffective sub parameter
...
This would be SIM_BARO_RND.
Adding randomness by default may make autotests non-repeatable.
2019-08-06 09:39:24 +10:00
Pierre Kancir
bb13a75e30
Tools: check for feenableexcept on WAF
2019-08-06 09:37:30 +10:00
Peter Barker
cc742dbfc4
waf: make unused variables an error on C as well as C++ source files
2019-08-05 18:31:58 +10:00
Peter Barker
0805547ba6
Tools: autotest: break out roundtrip_fencepoint_protocol method
2019-08-05 18:31:27 +10:00
Peter Barker
44ccbcf78a
Tools: autotest: rename send_clear_mission to clear_mission
2019-08-05 16:49:58 +10:00
Peter Barker
12b9928a56
Tools: autotest: break out a load_fence function
2019-08-05 16:37:08 +10:00
Andrew Tridgell
cee7cce1ca
autotest: update vision position test for new msg
2019-08-05 13:58:08 +10:00
Andrew Tridgell
562f4ed1a3
Tools: added Vicon mavlink gateway script
2019-08-03 11:29:42 +10:00
Peter Barker
a3b5ed442c
waf: add -Werror=ignored-qualifiers
...
Sub recently got a patch which introduced a bunch of these warnings
2019-08-02 08:23:57 +10:00
Peter Barker
428b790771
Tools: autotest: correct rally point upload tests
2019-08-01 17:44:37 +10:00
Andrew Tridgell
86c05aba8f
Tools: added Durandal bootloader
2019-08-01 14:11:06 +10:00
Andrew Tridgell
e708446f4d
Tools: rename Pixhawk6 to Durandal
2019-08-01 14:11:06 +10:00
Peter Barker
be20f458bf
Tools: sim_vehicle.py: sort vehicle type in help
2019-07-30 14:05:12 +10:00
Leonard Hall
fb790cadda
Tools: update parameter files after PID upgrade
2019-07-25 17:38:15 +09:00
bugobliterator
d921285b9d
Tools: update iofirmware
2019-07-25 17:05:41 +10:00
bugobliterator
6469174a84
Tools: move to using separate firmwares for heater polarity values
2019-07-25 17:05:41 +10:00
Peter Barker
47e1733bc5
Tools: autotest: correct RC2_REV to RC2_REVERSED in comment
2019-07-24 13:36:26 +09:00
Peter Barker
1fbd41e6f3
Tools: autotest: add test for Rover SmartRTL
2019-07-23 19:00:38 +10:00
Peter Barker
6fc22cd5a3
Tools: autotest: make rangefinder test more reliable
2019-07-23 17:08:02 +10:00
Michael du Breuil
fbc719c113
Tools: Run parameter emitters
2019-07-23 09:29:48 +10:00
Michael du Breuil
bd8d63dd3f
Tools: Add edn_format to CI
2019-07-23 09:29:48 +10:00
Peter Barker
ecb8a2ee24
Tools: move openocd to use stlink-v2
2019-07-20 14:43:27 +10:00
Amilcar Lucas
80bf2d6192
Tools: FilterTestTool - add missing information
2019-07-19 09:21:15 +09:00
Peter Barker
392a174e2e
Tools: scripts: dumpstack: do not run any gdbinit scripts
...
Often these scripts look for hardware dongles that may not exist
2019-07-17 14:04:41 +10:00
Rajat Singhal
ffdf520a01
autotest: enable airsim SITL backend
2019-07-17 07:26:50 +10:00
Pierre Kancir
1f9adf1f3b
Tools: remove log module from default autotest modules
2019-07-16 18:58:54 +10:00
Pierre Kancir
666e7b88d7
Tools: common: dynamicly load and unload log module as needed
2019-07-16 18:58:54 +10:00