Commit Graph

5843 Commits

Author SHA1 Message Date
Andy Piper 2df7b5453e autotest: add test for ESC telemetry driven notches. 2021-05-12 17:01:11 +10:00
Peter Barker d2f78c69be autotest: add a simple test for SMART_RTL 2021-05-12 13:01:50 +10:00
Peter Barker 9965f1a31d autotest: add some helpers for local-position movement 2021-05-12 13:01:50 +10:00
Peter Barker 7ab094f3a1 autotest: tidy fly_guided_move_local 2021-05-12 13:01:50 +10:00
Peter Barker 1d6efbd56f autotest: fix loiter_to_ne
Co-Authored-By: leonardthall@gmail.com
2021-05-11 14:51:28 +10:00
TunaLobster 19c7e349f9 Tools: Add cygwin package to env install scripts for SITL binaries 2021-05-11 10:39:12 +09:00
Andrew Tridgell 8bad533a8e Tools: build FreeflyRTK in CI
this is our only F732 build
2021-05-09 06:44:19 +10:00
Andrew Tridgell 03132c378d Tools: added FreeflyRTK bootloaders 2021-05-09 06:44:19 +10:00
Andrew Tridgell c5182e6c16 Tools: auto-build FreeflyRTK 2021-05-09 06:44:19 +10:00
Andrew Tridgell a23e821f94 AP_Periph: allow safety LED as backup main LED for DNA 2021-05-09 06:44:19 +10:00
Andrew Tridgell efe8042fbe AP_Periph: allow for reboot while in DNA 2021-05-09 06:44:19 +10:00
Andrew Tridgell 724cea2b0d AP_Periph: allow build with no PWM to allow for notify 2021-05-09 06:44:19 +10:00
Andrew Tridgell 44eadb7291 AP_Bootloader: added FreeflyRTK board type 2021-05-09 06:44:19 +10:00
Peter Barker 04aed49572 autotest: adjust GyroFFT threshold to make it pass
From Andy:

Can you make this 0. The test should then pass. I'm not terribly happy about it but its better than disabling the test and I can't tell whether there is actually a problem or not.
2021-05-07 18:30:08 +10:00
Peter Barker 0a235ce094 autotest: remove retry loop from within GyroFFT
This effectively removes an infinite loop from the GyroFFT test.
2021-05-07 18:30:08 +10:00
Peter Barker 765889b827 autotest: don't send statustext during exception
During an exception we don't want to be trying to print these
2021-05-07 14:21:44 +10:00
Peter Barker f78cf73726 autotest: don't fail completely if ArduPilot process dies 2021-05-07 12:22:11 +10:00
Peter Barker b04dfda9fb autotest: enable deca and dodeca frames in FlyEachFrame test 2021-05-06 16:26:28 +10:00
Peter Barker cf4acaa2aa autotest: re-enable quadplane QAutoTune test 2021-05-05 23:43:59 +10:00
Andy Piper 2b327af79b AP_Periph: use tone alarm types 2021-05-05 17:41:24 +10:00
James O'Shannessy bc38d8a78c AutoTest: Fix autotest from failing due to state from earlier test
Autotest was failing because there was an expectation that the plane would fly relatively north from the takeoff point.
This assumption may not be true. We work around it by using a tin can instead of an exclusion polygon so that we breach no matter the direction we fly.
2021-05-05 10:59:10 +10:00
James O'Shannessy 0e656c1504 AutoTest: Ensure Plane uses home as Fence Return Point if one is not present and no exclusion fence is present 2021-05-05 10:59:10 +10:00
Peter Barker 9a13b5c9b6 autotest: add test for auxfunc triggering via script 2021-05-05 07:13:18 +10:00
Iampete1 8544d00c97 Tools: rename TURN_MAX_G to ATC_TURN_MAX_G in param sets 2021-05-03 19:22:16 -04:00
Iampete1 aa72b7da46 Tools: autotest: Plane: add loiter terrain following test 2021-05-02 18:51:27 +10:00
Traxius1 619e6cb1b7 Tools: added name to GIT_Success.txt 2021-05-02 09:28:57 +10:00
Peter Barker 57abaf0dec autotest: remove retry loop from within GyroFFTHarmonic 2021-05-01 21:30:28 +10:00
Peter Barker 4928ec18af autotest: remove retry loop from within fly_dynamic_notches
We retried externally to the test - may as well do so within
2021-05-01 21:30:28 +10:00
Peter Barker 8fdfdebe55 autotest: pass sitl_commandline_customised up the context stack
We're running tests on the Callisto frame when we shouldn't in Copter as
the information was lost in nested Contexts.

We can only reset the SITL commandline at an actual Test level - if a
defaults file has been used then it is unclear as to what the state of
any parameter is in storage as we move between contexts
2021-05-01 17:22:36 +10:00
Peter Barker 117a44b589 autotest: remove corefiles at start of run
These lead to false-positive failures in the test suite
2021-05-01 17:22:36 +10:00
Peter Barker 2cd0099bbc autotest: exclude decarotor from fly-each-frame-test 2021-05-01 13:25:13 +10:00
Peter Barker 76678ffaf3 autotest: fix octa-cwx in SITL 2021-05-01 13:25:13 +10:00
Peter Barker 5172e767df autotest: fix octa-dji in SITL 2021-05-01 13:25:13 +10:00
Peter Barker c7c4c17c68 autotest: improve change_mode debug 2021-05-01 13:25:13 +10:00
Peter Barker 63ba484087 autotest: add test which flies each frame we can 2021-05-01 13:25:13 +10:00
jbarrozo 3b1f5f0b15 autotest: added Boquig 2021-04-29 13:35:22 +10:00
Peter Barker 40a84bc566 Replay: link AP_Avoidance
[864/864] Linking build/bbbmini/tools/Replay
11:47:27 runner ['/usr/lib/ccache/arm-linux-gnueabihf-g++', '-Wl,--gc-sections', '-pthread', 'Tools/Replay/DataFlashFileReader.cpp.34.o', 'Tools/Replay/LR_MsgHandler.cpp.34.o', 'Tools/Replay/LogReader.cpp.34.o', 'Tools/Replay/MsgHandler.cpp.34.o', 'Tools/Replay/Replay.cpp.34.o', '-otools/Replay', '-Wl,-Bstatic', '-Llib', '-lReplay_libs', '-Wl,-Bdynamic', '-lm', '-ldl']
lib/libReplay_libs.a(RC_Channel.cpp.0.o): In function `RC_Channel::do_aux_function_avoid_adsb(RC_Channel::AuxSwitchPos)':
RC_Channel.cpp:(.text._ZN10RC_Channel26do_aux_function_avoid_adsbENS_12AuxSwitchPosE+0x4): undefined reference to `AP::ap_avoidance()'
2021-04-29 13:00:40 +10:00
Vladimir Ermakov 50641e8f7c Tools: add Ubuntu 21.04 to environment setup script
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-04-29 12:37:03 +10:00
Peter Barker e4c405b77b autotest: add a test for Spline missions showing terrain requirement 2021-04-28 18:40:26 +10:00
Iampete1 3bea2fd89b Tools: autotest: defualts: setup direct acutated wing servo 2021-04-28 08:22:47 +01:00
Iampete1 0628aa9e29 Tools: autotest: add sailboat autotest 2021-04-28 15:16:35 +10:00
Peter Barker fc426e01c2 autotest: stop using start_test for things that aren't actually tests
start_test should only be used for top-level tests, not parts of
top-level tests
2021-04-28 13:53:46 +10:00
Peter Barker 6af0f460af autotest: add duplicate-logmessage-field sanity check 2021-04-27 16:38:40 +10:00
Andrew Tridgell b6fde7ed5a Tools: added can_sitl.sh to make using SITL with real CAN devices easy 2021-04-27 09:01:02 +10:00
QioTek 278593a6a0 HAL_ChibiOS: added f103-QiotekPeriph
HAL_ChibiOS: added f103-QiotekPeriph
2021-04-24 07:48:40 +10:00
Andrew Tridgell a04e8746a4 waf: removed debug code
this was in to test cygwin ar behaviour on linux. It should not have
been committed.

Thanks to Andy for letting me know it broke MacOS
2021-04-23 05:50:23 +10:00
Andrew Tridgell 4c9fc334cc CI: enable cygwin build in github actions
this will allow us to drop azure builds once this is confirmed working
2021-04-22 14:03:19 +10:00
Hwurzburg 6235f7f8f4 AP_Periph: fix metadata error preventing emitting to wiki 2021-04-21 17:31:43 -07:00
Andrew Tridgell c88524a1ac Tools: auto-build luminousbee5 2021-04-21 20:41:34 +10:00
Andrew Tridgell de893a2530 Tools: allocate ID 1029 for luminousbee5
1028 will be the FreeflyRTK
2021-04-21 20:41:34 +10:00