Commit Graph

6899 Commits

Author SHA1 Message Date
Peter Barker
c0243772b4 waf: add --define command-line option
Allows CPP defines to be specified on command-line

Eases enable/disable of optional features
2022-07-19 09:09:05 +10:00
Peter Barker
6c17fd7bac waf: build Richenpower on SITL by default 2022-07-19 09:09:05 +10:00
Andrew Tridgell
0d508750bc Tools: fixed the filter test tool for instance IMU data
and use indexed log search
2022-07-19 06:28:18 +10:00
Henry Wurzburg
406d03559f Tools:Add build option for Ublox 2022-07-18 16:50:31 +01:00
Peter Barker
4561e78dd5 AP_Periph: include GCS_MAVLink.h for firmware version type define 2022-07-16 17:15:52 +10:00
Leonard Hall
0405451463 SITL: Fix BaroWindCorrection Test 2022-07-15 09:59:44 +09:00
Leonard Hall
7a5c71d8a4 Tools: Update Callisto Model 2022-07-15 09:59:44 +09:00
Peter Barker
bceaa10794 autotest: add a test for rally point altitudes 2022-07-14 11:49:53 +10:00
Andy Piper
591f43e7d0 scripts: add TRAMP to build options 2022-07-14 09:23:59 +10:00
Pierre Kancir
99ef5f5957 Tools: create an ardupilot entrypoint instead of hacking .bashrc on docker 2022-07-13 18:45:44 +10:00
Tamas Nepusz
19bc7ebebe build_bootloaders.py should invoke bin2hex.py with the same Python interpreter as its own 2022-07-13 17:24:19 +10:00
Randy Mackay
67520c55d5 Tools: move Karuizawa location 2022-07-12 21:29:24 +09:00
TunaLobster
670378dc73 Tools: rstemit.py: Change Range to be clearer meaning 2022-07-12 12:58:39 +10:00
Andrew Tridgell
4d4a1ddd42 waf: setup UBSAN_ENABLED define 2022-07-12 11:00:08 +10:00
Andrew Tridgell
2f7a8769c0 autotest: added --ubsan and --ubsan-abort to sim_vehicle.py and autotest.py
allows for undefined behaviour checking in SITL
2022-07-12 11:00:08 +10:00
Andrew Tridgell
acf56204f2 waf: added --ubsan and --ubsan-abort options 2022-07-12 11:00:08 +10:00
Iampete1
1a70f9fffc Tools: scripts: build options: update AP_AIS_ENABLED to AP_AIS_ENABLED 2022-07-12 09:39:54 +10:00
Iampete1
28989f1838 Tools: ardupilotwaf: add AP_AIS to build 2022-07-12 09:39:54 +10:00
Peter Barker
2ca68da77a autotest: correct setting mode by number 2022-07-12 08:51:21 +10:00
Peter Barker
a672c7df97 autotest: add test for changing modes by mode number
Useful for when you don't have a mapping entry for the mode number yet
2022-07-12 08:51:21 +10:00
Peter Barker
72734d38de autotest: add test for AUTO_LAND_TO_BRAKE
Having some terrain-based issues with BRAKE mode
2022-07-10 20:59:52 +10:00
Peter Barker
7647e38f3f autotest: create get_home_tuple_from_mission method
Useful if you want to start a mission where a saved waypoint file's home location is
2022-07-10 20:59:52 +10:00
Peter Barker
0ec06511ae Tools: build_options: mount backends depend on mount being enabled 2022-07-08 16:00:57 +10:00
Peter Barker
86096261d0 autotest: add new wait_and_maintain_range method 2022-07-07 21:29:43 +10:00
Peter Barker
e77d0ce1a4 autotest: rewrite speedtofly test using wait_airspeed 2022-07-07 21:29:43 +10:00
Pierre Kancir
2b4a68fdbe CI: remove xenial from env config 2022-07-06 18:06:47 +10:00
Pierre Kancir
ba9c72f1a3 Tools: use lastest python2 release for requests for pyhton2 distro 2022-07-06 18:06:47 +10:00
Pierre Kancir
8af5763af3 CI: fix arch dev env install 2022-07-06 18:06:47 +10:00
Pierre Kancir
d2abd1eed9 Tools: fix configparser version for python2 2022-07-06 18:06:47 +10:00
Pierre Kancir
d768462155 Tools: env install: use dot for wget to reduce terminal usage 2022-07-06 18:06:47 +10:00
Pierre Kancir
1b4a7b5adf Tools: fix env install for bionic 2022-07-06 18:06:47 +10:00
Pierre Kancir
a6f32e1a24 Tools: Fix install script for various distro
remove disco and eoan that aren't working anymore.
fix buster, bionic and xenial that use python and not python2
2022-07-06 18:06:47 +10:00
Andrew Tridgell
53eb0191b1 Tools: fixed typo 2022-07-06 16:54:48 +10:00
xiao
084bae21ef HAL_ChibiOS: hwdef: MFE-PixSurveyA1 rename PixSurveyA1 2022-07-05 17:44:03 +10:00
xiao
b1638f4e9d Tools: added MFE-PixSurveyA1 board ID 2022-07-05 17:44:03 +10:00
Andrew Tridgell
003fef229c Tools: disable convertgpx step in autotest
this is taking 5 hours to run. It just isn't worth it
2022-07-04 20:05:06 +10:00
Andrew Tridgell
6eb406b2d6 Tools: support triple notch in FilterTool 2022-07-03 20:36:16 +10:00
Andy Piper
8799b3839a autotest: add triple notch test. 2022-07-03 18:21:41 +10:00
Andy Piper
f2aa6e99c3 autotest: test pre and post filter logging in FFT test 2022-07-03 18:19:55 +10:00
Peter Barker
215842fe82 Tools: add tests for ICE Planes 2022-07-01 19:33:51 +10:00
Ryan Beall
592201d831 CI fix Soaring channel 3 check timeout 2022-06-30 20:06:33 +10:00
Ryan Beall
5a26635aca CI fix Climb before turn Timeout again 2 2022-06-30 20:06:33 +10:00
Ryan Beall
69ffac890f CI fix Climb before turn Timeout again 2022-06-30 20:06:33 +10:00
Ryan Beall
2b9d116274 CI fix Climb before turn Timeout 2022-06-30 20:06:33 +10:00
Ryan Beall
ae6295e11c CI fix RTL Timeout 2022-06-30 20:06:33 +10:00
Peter Barker
043764fbf9 autotest: use set_parameters in rover; fixup tests to use context 2022-06-30 11:55:19 +10:00
Tom Pittenger
1c9c1d7207 AP_Bootloader: add target SkystarsH7HD 2022-06-30 11:08:51 +10:00
Peter Barker
bc12a61c9a autotest: use slightly faster recv_msg call in drain_mav
Cuts out some code in pymavlink's recv_match which we don't need here.  We even explicitly don't run the idle hooks which pymavlink supplied when we're running under drain_mav
2022-06-30 09:46:13 +10:00
Peter Barker
208554d402 autotest: correct diagnostic message 2022-06-29 21:03:42 +10:00
Peter Barker
f6816f38dc autotest: add timeout in drain_mav
At large speedups we can create more telemetry than we can consume.  Detect that and raise an exception, assuming we should be able to drain anything within 2 minutes
2022-06-29 21:03:42 +10:00
Peter Barker
ef0f5110cb autotest: set Rover speedup to 30
This is closer to what's achieved on modern CPUs.

Running at 100 can lead to very rapid RC inputs which can cause issues.
2022-06-29 21:02:27 +10:00
Peter Barker
b6f7887182 Tools: remove non-functional FRSKY_TELEM_ENABLED define 2022-06-29 10:59:50 +09:00
Peter Barker
67aa9ecdd4 Tools: adjust for when LTM telemetry is disabled 2022-06-28 20:19:41 +10:00
Peter Barker
c19549c3a9 Tools: add AP_LTM_TELEM_ENABLED 2022-06-28 20:19:41 +10:00
TunaLobster
2abf2702ce Tools: Add flake8 check to PrintVersion.py 2022-06-28 13:16:24 +10:00
TunaLobster
e77ab54de1 Tools: Improved flake8 speed, ignore, and exclude 2022-06-28 13:16:24 +10:00
李孟晓
ff7832510d Tools: add ICP101XX options to build_options.py 2022-06-28 11:59:04 +10:00
Andy Piper
1b2043edac AP_Bootloader: add Foxeer Reaper F745 v2 2022-06-28 11:03:26 +10:00
Andy Piper
746e1621b5 bootloaders: add Foxeer Reaper F745 v2 2022-06-28 11:03:26 +10:00
Peter Barker
554f20ddb1 Tools: configure_all.py: clarify command-line --stop option
This just makes it fatal on any command...
2022-06-28 08:18:27 +10:00
Andrew Tridgell
a554ac3500 Tools: added log scale option to FilterTool 2022-06-26 18:08:32 +10:00
Andrew Tridgell
7b8da9385d Tools: load FLTD from RLL_FLTD in FilterTool 2022-06-26 18:08:32 +10:00
Andrew Tridgell
2b03c49b49 AP_Bootloader: sync 6C board ID with px4 bootloader 2022-06-23 13:43:38 +10:00
Andrew Tridgell
40cfebd202 Tools: updated Pixhawk6C bootloader 2022-06-23 13:43:38 +10:00
Andrew Tridgell
7997029893 Tools: added Pixhawk6C bootloader 2022-06-23 12:37:24 +10:00
Randy Mackay
66f1603aea Tools: autotest default params for sub use MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
65d8cff1f2 Tools: LogAnalyzer checks MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Randy Mackay
1a5216aaee Tools: autotest for mount sets MNT_RC_RATE 2022-06-21 13:37:11 +09:00
Peter Barker
71a4d24e72 Tools: add rangefinder backends to custom build server options 2022-06-21 09:15:20 +10:00
Andrew Tridgell
3a6b153d55 Tools: added filter tool to web-firmware
makes it easier others to PR changes to improve the tool
2022-06-18 09:34:50 +10:00
Peter Barker
08ae4f050c autotest: fix race condition in button test
The subsequent test could end up arming the vehicle based on this left-over state.
2022-06-16 21:24:31 +10:00
Peter Barker
4a015bd479 autotest: fix race condition in mission-end-behaviour test 2022-06-16 21:24:31 +10:00
Peter Barker
57b0d7f235 autotest: change rover default speedup time to 100 2022-06-16 21:24:31 +10:00
Peter Barker
b150c48b5c Tools: add --no-run-with-defaults option to test-build-options script 2022-06-16 17:20:06 +10:00
Peter Barker
7120d4f750 autotest: fix race condition in need-ekf-to-arm check
At extreme speedups we may not detect the reboot in the Python before the autopilot is ready to arm...
2022-06-16 14:53:21 +10:00
Peter Barker
39a0ecbb4b autotest: check rate is configured after we do the rate check
This is just to make sure that the autopilot isn't losing the configuration somehow.
2022-06-16 10:04:08 +10:00
Peter Barker
6fcdea67c3 autotest: tidy hover_and_check_matched_frequency method
- remove pointless elses
 - clarify why a test is failing in exception messages
 - move variable definitions closer to their use
2022-06-15 19:07:34 +10:00
Andrew Tridgell
5a36d7cf0a AP_Periph: fixed non-contiguous mask for ESC telem output
this fixes the case where a peripheral node has an ESCs that are not
starting at the first channel. Reported here:

https://discuss.ardupilot.org/t/using-matekl431-adapters-for-pwm-and-dshot/85781/22

tested on MatekL431-Periph
2022-06-15 18:16:22 +10:00
Randy Mackay
e55fa6ad92 Tools: add build_options for individual mount drivers 2022-06-15 18:08:58 +10:00
Andrew Tridgell
7e4da1ef85 Tools: added Pixhawk6X bootloader 2022-06-15 17:28:40 +10:00
Andy Piper
f828c690e7 bootloaders: add MambaF405-2022 bootloaders 2022-06-15 17:05:41 +10:00
Andy Piper
3db079d15c Tools: add MambaF405 2022 MK4 2022-06-15 17:05:41 +10:00
Randy Mackay
e0ce8035b9 Tools: arduroller balance bot param update 2022-06-15 08:40:12 +09:00
Peter Barker
0697ce19d2 autotest: tidy wait_disarmed 2022-06-15 09:11:51 +10:00
Peter Barker
b18c597f0b autotest: fix race condition in arduplane.py fly_mission
We can lose the final message when we get_sim_time and wait_heartbeats and similar
2022-06-15 09:11:51 +10:00
Chuck Faber
b657d54336 Tools/scripts: Add Sagtech MXS to custom build server 2022-06-14 07:10:17 -07:00
Tom Pittenger
0c7e107157 Tools/waf: Add Sagetech SDK to WAF build 2022-06-14 07:10:17 -07:00
Peter Barker
1b22de0dd9 autotest: fix race condition in deepstall tests 2022-06-14 08:16:03 +10:00
Peter Barker
b550949766 autotest: scale SITL RC input according to speedup
Too slow when running at 100 times speedup
2022-06-13 21:41:41 +10:00
Peter Barker
abc1b7b644 autotest: factor out extract_median_FTN1_PkAvg_from_current_onboard_log 2022-06-13 21:21:30 +10:00
Peter Barker
d6dc0464dd autotest: tidy extraction of FTN1 data from dflogs in fft tests 2022-06-13 21:21:30 +10:00
Peter Barker
1a9470d635 autotest: return hover throttle from hover_for_interval 2022-06-13 21:21:30 +10:00
Peter Barker
ef29350a72 autotest: tidy hovering in fft tests 2022-06-13 12:01:13 +10:00
Peter Barker
fc2c3604e8 autotest: change plane default speedup time to 100 2022-06-12 15:56:53 +10:00
Peter Barker
171bdd9e5b autotest: better diagnostics for mission transfer 2022-06-12 15:56:53 +10:00
Peter Barker
e02d50d0e8 autotest: increase allowed time for mission item download
Because we're involving round-trip times to the Python and back, we need to allow more time to pass on the autopilot when downloading very large missions.  Add a factor based on speedup
2022-06-12 15:56:53 +10:00
Peter Barker
ad4fc316ec autotest: increase sample period for HIGH_LATENCY2 test
Should be useful at higher speedups
2022-06-12 15:56:53 +10:00
Peter Barker
2e0653ef71 autotest: be more lenient with terrain report fetching 2022-06-12 15:56:53 +10:00
Peter Barker
09ab90b8be autotest: fix flapping AirspeedDrivers test 2022-06-12 15:56:53 +10:00
Peter Barker
bb36cedee3 autotest: correct message hook handling
Fun with closures, and not removing hooks soon enough when popping contexts.
2022-06-12 15:56:53 +10:00