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
Andrew Tridgell
8441f4a130
autotest: fixed FETTec bad mask test
...
can support up to 15 outputs with FETTec now
2022-06-10 13:46:43 +10:00
Randy Mackay
104e9202af
Tools: remove AP_ToshibaCAN from waf
2022-06-10 12:08:05 +09:00
Randy Mackay
b9f4998fd8
AP_Periph: remove ToshibaCAN from param descriptions
2022-06-10 12:08:05 +09:00
Andrew Tridgell
f728894eec
AP_Periph: added EFI support
2022-06-09 21:10:37 +10:00
Andrew Tridgell
b7ddcdfb71
Tools: added MatekL431-EFI bootloader
2022-06-09 21:10:37 +10:00
Andrew Tridgell
25d231187f
AP_Periph: added RNGFND_MAX_RATE parameter
...
prevent duplicate samples and allow setting of maximum rate we sample
rangefinder
2022-06-09 16:51:56 +10:00
Andy Piper
3935971e46
Tools: add MambaH743 to manifest generator
2022-06-08 21:44:21 +10:00
Andy Piper
f952fe8a37
AP_Bootloader: add MambaH743v4 board id
2022-06-08 21:44:21 +10:00
Andy Piper
77928b5688
bootloaders: add MambaH743v4 bootloader
2022-06-08 21:44:21 +10:00
Pierre Kancir
02e23302be
Tools: fix line ending
2022-06-08 08:16:42 +09:00
Pierre Kancir
df1fa1d615
Tools: vagrant: fix exec permissions
2022-06-08 08:16:42 +09:00
Pierre Kancir
020bd0ba1e
Tools: fix exec permission
2022-06-08 08:16:42 +09:00
Pierre Kancir
e99ddb9f52
Tools: completion: fix permissions
2022-06-08 08:16:42 +09:00
Pierre Kancir
e2ce9b388c
Tools: fix rstemit.py permission
2022-06-08 08:16:42 +09:00
Pierre Kancir
9f1784a264
Tools: remove old iris_ros.py files
2022-06-08 08:16:42 +09:00
Pierre Kancir
4b67ed808f
Tools: logger_metadata: remove useless shebang
2022-06-08 08:16:42 +09:00
Pierre Kancir
5bdc77a5b9
Tools: param_metadata: remove useless shebang
2022-06-08 08:16:42 +09:00
Pierre Kancir
4e2e4fa4d4
Tools: autotest: remove useless shebang
2022-06-08 08:16:42 +09:00
Pierre Kancir
2cca370a74
Tools: ardupilotwaf: remove useless shebang on non exec files
2022-06-08 08:16:42 +09:00
Pierre Kancir
a8a578970b
Tools: make printversion executable
2022-06-08 08:16:42 +09:00
Pierre Kancir
5628b8d230
Tools: fix executable permission and trailing whitespace
2022-06-08 08:16:42 +09:00
Andrew Tridgell
f0c3d5129c
Tools: cope with change in cygwin build
...
copy both with and without exe extension
2022-06-07 11:20:03 +10:00
Pradeep
80e2533cf0
AP_Periph: node stats
...
- Added new config parameter object - STAT
- init and update statistics
2022-06-07 09:57:32 +10:00
Pradeep
183352cdfe
AP_Periph: choose node stats - build files
...
Added - AP_Stat library and AP_STATS_ENABLED build options
2022-06-07 09:57:32 +10:00
bugobliterator
a30f239069
bootloaders: update CubeOrange and related hardware bootloaders
2022-06-03 16:41:22 +10:00
bugobliterator
c4fe3dec91
bootloaders: update CubeOrangePlus bootloader with correct hwdef
2022-06-03 16:41:22 +10:00
bugobliterator
ca12a621cf
bootloaders: update CubeOrangePlus bootloader to use H757 chipset
2022-06-03 16:41:22 +10:00
Andy Piper
f244866329
autotest: add test for FFT continuous averaging
2022-06-01 15:49:32 +01:00
Andrew Tridgell
8f2f770e93
Replay: support set source events
2022-05-31 09:17:37 +10:00
Ruffalo-sunghwan
d8dc73289d
Tools: add name to GIT_Success.txt
...
RuffaloLavoisier (Jeon sunghwan)
2022-05-28 15:03:30 -07:00
Sion Vaughan-Thomas
12e3206ddd
Tools: added board IDs for GreenSight boards
2022-05-27 05:51:24 +10:00
Peter Barker
a09e8527ff
Tools: build_options.py: disable MSP, UAVCAN, Dummy and ExternalAHRS baro backends by default
...
Causes build errors as (e.g. ExternalAHRS is disable by default)
2022-05-26 21:45:45 +10:00
ES-Alexander
f6544ca25a
Tools: uploader.py: exit with error on failure
...
- Script was already exiting at this point anyway, this just sets a non-zero program return code in the case of a failure
- Means programatic callers can detect if flashing fails, without needing to monitor (and parse) stdout
2022-05-26 09:30:27 +10:00
Peter Barker
b99c4b3a89
build_options.py: enable baro backends by default
2022-05-25 18:17:49 +10:00
Peter Barker
069fdfae60
autotest: test SITL airspeed sensor backend
2022-05-25 17:52:44 +10:00
Peter Barker
0e9236a116
Tools: build_options.py: fix double-definition of AP_BARO_MSP_ENABLED
...
Fixes redefinition on custom build server
2022-05-25 17:49:38 +10:00
Pierre Kancir
0e1297177b
Tools: fix arch install script
2022-05-25 06:42:57 +10:00
Peter Barker
973b2d11a2
Tools: add parameters to test_build_options.py script
...
filtering by define name is the most useful bit
2022-05-22 12:11:45 +10:00
Peter Barker
e7d8ad4096
Tools: add baro backend drivers to build options
2022-05-22 12:11:45 +10:00
Peter Barker
c8bc8a8824
Tools: allow baro backends to be individually compiled out
2022-05-22 12:11:45 +10:00
Iampete1
d5e282c5a1
Tools: allow FBWB alt control option in LOITER
2022-05-22 12:09:43 +10:00
Andrew Tridgell
5e184e167c
AP_Periph: allow peripherals to handle servos beyond 16
2022-05-22 12:07:37 +10:00
Andrew Tridgell
10d7a559d2
AP_Periph: 32 servo conversion
2022-05-22 12:07:37 +10:00
Peter Barker
24771ab2a4
autotest: fix DO_CHANGE_SPEED autotest
...
Recent airspeed fixes means we need to give the vehicle more time to achieve the initial airspeed
2022-05-20 09:56:31 +10:00
Randy Mackay
e1d7b81f9d
Tools: update holybro s500 default params
2022-05-19 08:39:32 +09:00
Peter Barker
d6504bcaa8
autotest: remove hack to get dual-airspeed-autocal passing
2022-05-18 18:06:18 +10:00
bugobliterator
28f03e64bc
AP_Bootloader: add CubeRed and CubeRed IO board types
2022-05-18 15:33:06 +10:00
Peter Barker
4240ad7ae9
autotest: update test for which entry is last in tasks table
2022-05-18 12:25:26 +09:00
Andrew Tridgell
985e24275a
autotest: don't try to arm in RTL mode for quadplanes
2022-05-18 06:43:16 +10:00
Andrew Tridgell
895c57562c
autotest: adjust DO_CHANGE_SPEED test for EAS2TAS corrections
2022-05-17 19:34:32 +10:00
Andrew Tridgell
7fb38f8b22
autotest: removed SIM_WIND_DELAY
2022-05-17 19:34:32 +10:00
Pierre Kancir
1090a881b0
Tools: environment_install: set python3 as default on ubuntu
2022-05-17 09:27:03 +10:00
Peter Barker
cebb57266d
autotest: calibrate two airspeed sensors in-flight
2022-05-16 09:50:52 +10:00
Peter Barker
b8407a4bec
autotest: adjust current wp reset
2022-05-15 21:17:50 +10:00
Andrew Tridgell
151f17d563
autotest: reset mission on takeoff for quadplanes
2022-05-15 21:17:50 +10:00
kenking2536
5e528ba7a1
Tools: install aarch64 ARM compiler if required
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-05-14 21:14:53 +10:00
Peter Barker
287573fff7
autotest: add test for large circle radii in NAV_LOITER_TURNS
2022-05-11 17:40:35 +10:00
Peter Barker
336079ddfa
autotest: add test for compass error state logging
2022-05-10 19:46:40 +10:00
Andrew Tridgell
69508804b4
Tools: added Foxtech GreatShark parameters
2022-05-10 15:12:38 +10:00
Andrew Tridgell
38c3c965cb
Tools: rename quadplane param files
...
follws convention used in MissionPlanner for frame file selection
2022-05-10 11:38:52 +10:00
Peter Barker
74ca672caf
Tools: add build options for airspeed to custom build server
2022-05-10 09:02:51 +10:00
Andrew Tridgell
bc1ced0779
Tools: added FlyingMoonF427 bootloader
2022-05-08 18:41:39 +10:00
Andrew Tridgell
8cb1519034
Tools: added FlyingMoon407 bootloader
2022-05-08 18:41:39 +10:00
Andrew Tridgell
a27a76c4f5
Tools: added board IDs for FlyingMoon boards
2022-05-08 18:41:39 +10:00
QioTek
f5bae62dbb
Tools: added QioTekAdeptF427 and F407 board ID
...
Tools: added QioTekAdeptF427 and F407 board ID
2022-05-08 06:55:49 +10:00
Andrew Tridgell
6bfaa3ef62
Tools: added notch params for quadplanes
2022-05-05 17:49:24 +10:00
Andrew Tridgell
ab9d13f5dd
Tools: added SparkleTech airframes
2022-05-05 17:45:17 +10:00
Peter Barker
b659360d64
autotest: test DO_CHANGE_SPEED mission item for Plane
2022-05-05 10:48:35 +10:00
Andrew Tridgell
bd1df121f8
Tools: added MFD CrossWind VTOL parameters
2022-05-04 17:35:50 +10:00
Andy Piper
0fa0a27c77
autotest: add FFT averaging test.
...
add harmonic test for FFT averaging
reduce configuration for averaged FFT test
enable harmonic notch in-flight
2022-05-04 17:05:51 +10:00
Peter Barker
b2d811a444
autotest: add test for sensor health logging
2022-05-03 17:38:09 +10:00
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
2022-05-03 10:09:12 +10:00
Iampete1
73dfcfb7d9
Tools: autotest: models: Callisto.json: add number of motors
2022-05-03 10:03:07 +10:00
Andy Piper
67aecea4c1
autotest: remove fast_loop tasks test
2022-05-03 08:20:13 +09:00
Andrew Tridgell
8c1c948e24
Tools: added frame parameters for two quadplanes
2022-05-03 08:52:40 +10:00
Rhys Mainwaring
6d7086a8ad
Tools: change terminal to current dir if using osascript in run_in_terminal_window.sh
...
- Ensure the spawned terminal has the same pwd as the calling script to allow SITL to resolve relative paths
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2022-05-02 11:28:12 +10:00
Mirko Denecke
4c727eca60
Tools: fix auxiliary typo
2022-05-02 10:55:08 +10:00
Peter Barker
5b3a01ecb3
Vagrant: fixes for Jammy virtual machine
2022-05-02 08:05:00 +10:00
Oleksandr Shcherbatii
0cec5dccea
Tools: Fix setup for Jammy
2022-05-02 08:05:00 +10:00
Andrew Tridgell
406de11fe9
AP_Periph: mark ESC DShot channels as digital
...
this allows them to get the right default MIN and MAX values on the
channels
2022-04-28 13:56:41 +10:00
Andrew Tridgell
5b5319f1b3
Tools: added MatekL431-DShot bootloader
2022-04-28 13:56:16 +10:00
Leonardo Garcia
0eb6ae365a
AP_InertialSensor: Added BMI085 support
...
Fixed styling for 61125e2
Remove whitespace l202
Removed else
2022-04-27 18:37:39 +10:00
Andy Piper
8e0f83aaae
Tools: iFlight Chimera 7 parameters
2022-04-27 17:51:56 +10:00
Andrew Tridgell
e00608d922
Tools: fixed type of max-gap in CAN fix2 script
2022-04-27 17:13:07 +10:00
Peter Barker
876cc77808
autotest: fix Rover syntax for Python2
...
Apparently ** is Python3-only
2022-04-24 14:21:45 +09:00
Agent-Birkhoff
275682be15
Tools: add name to Git_Test
2022-04-23 08:58:38 +09:00
Peter Barker
43b5f22c1a
autotest: add test for avoidance resume-auto-or-loiter action
2022-04-21 06:59:39 +10:00
Andrew Tridgell
05bda89516
Tools: rebuild peripheral bootloaders
...
get longer timeout to make updating firmware remotely using CAN over
mavlink possible over slow links. This helps with supporting users
remotely
2022-04-20 12:27:29 +10:00
Andrew Tridgell
51fa26c505
Tools: added options to board_list.py
...
make it easier to rebuild all bootloaders for AP_Periph with:
./Tools/scripts/board_list.py AP_Periph --per-line | xargs -i ./Tools/scripts/build_bootloaders.py '{}'
2022-04-20 12:27:29 +10:00
Lee Yong Ler
c523aa3460
Tools: Update GIT_Success.txt
2022-04-19 19:28:46 +09:00
Peter Barker
1340132f6f
autotest: add rangefinder test
2022-04-19 10:26:10 +10:00
Andrew Tridgell
35a2ca62ee
Tools: added test script for checking for Fix2 missed frames
...
used to track down the F405 and L431 lost frames
2022-04-18 14:40:53 +10:00
Andrew Tridgell
227e82053a
AP_Periph: fixed GPS dropout on F4 and L4 GPS nodes
...
we need more time for other threads on these nodes or we will end up dropping GPS frames
2022-04-18 14:40:53 +10:00
Peter Barker
ecd5cb21fc
autotest: tidy richenpower test using new methods
2022-04-18 12:41:45 +10:00
Andrew Tridgell
ea3ff853c7
Tools: added MatekL431-Rangefinder bootloader
2022-04-17 17:40:04 +10:00
Andrew Tridgell
db9d796dd4
Tools: update for changed INS_NOTCH parameter name
2022-04-16 08:14:06 +10:00
Andrew Tridgell
fbc9b771d1
AP_Periph: updated release nodes for 1.3.1
2022-04-15 13:48:31 +10:00
Peter Barker
fe740681af
autotest: test_build_options.py: undef variables before setting them
2022-04-15 12:37:26 +10:00
Willian Galvani
cb4f5ac578
Autotest: Sub: tweak params
2022-04-13 16:23:55 -03:00
Willian Galvani
c63d12b6c9
Autotest: Sub: fix sub tests for new althold implementation
...
With this implementation (same as copter's) 1450 is within the pilot deadzone,
which breaks the test.
2022-04-13 16:23:55 -03:00
Willian Galvani
81cd49213a
Autotest: Sub: tighten default watch_altitude_maintened delta
2022-04-13 16:23:55 -03:00
Willian Galvani
e23e2cb63f
Autotest: Sub: Add depth hold cases of large buoyancies and small inputs
2022-04-13 16:23:55 -03:00
Andrew Tridgell
69666d19ee
Tools: fix cygwin build error
2022-04-13 18:30:18 +10:00
Peter Barker
c33f6f3a8d
autotest: add tests to ensure we get BCN, RPM and PRX/PRXR log msgs
2022-04-13 16:22:19 +10:00
QioTek
56513a0761
Tools: added QioTekAdeptF427 board ID
...
Tools: added QioTekAdeptF427 board ID
2022-04-12 23:32:28 +10:00
Peter Barker
7474a31a83
waf: take ap_version.h int items from environment as we do str items
...
This will mean we take the integer version of GIT_VERSION from the env
too
2022-04-12 11:47:48 +10:00
Peter Barker
eb930f830b
Tools: build_ci.sh: set consistent GIT_VERSION_INT in env
...
For consistent compiler output
2022-04-12 11:47:48 +10:00
Peter Barker
c805310152
Tools.py: add Volz, RobotisServo and FETTec to build_options.py
...
Allows for enabling/disabling on custom build server
2022-04-12 10:35:01 +10:00
Andy Piper
1072cc772d
bootloaders: MatekF765-Wing-bdshot bootloader
2022-04-12 10:03:11 +10:00
Henry Wurzburg
98aec61899
Tools: add airspeed defaults to vehicle defaults files
2022-04-12 09:53:01 +10:00
Andy Piper
64743b73ca
AP_Bootloader: change timeout on external flash init
2022-04-12 09:19:45 +10:00
Michel Pastor
ef1058e60c
Tools: add revo-mini-sd bootloader
2022-04-12 09:17:03 +10:00
Lokesh Ramina
e2313cccc4
Tools: added CarbonixF405 board ID
...
CarbonixF405 a new board added
2022-04-11 12:58:48 +10:00
Peter Barker
870527a385
Tools: allow size-compare_branches.py on AP_Periph
2022-04-11 08:07:42 +10:00
Andrew Tridgell
2b2cac3f19
autotest: fixed annoying gdb pagination on reboot
2022-04-08 09:00:22 +10:00
Andrew Tridgell
08e22095a9
Tools: added script to make using a crash_dump.bin easier
2022-04-07 18:11:10 +10:00
Peter Barker
7c526d52fe
autotest: correct streaming-boolean bug for parsing of log structures from code
2022-04-06 21:54:15 +10:00
Peter Barker
55d0cf4b03
autotest: add diagnostics for log parse issues
2022-04-06 21:54:15 +10:00
Peter Barker
9f7ae1ee96
autotest: extract ids and message infos per-file, not on aggregate
...
Will allow for better diagnostics when something goes wrong
2022-04-06 21:54:15 +10:00
Andrew Tridgell
10d7ea9358
Tools: recognise "AUTOBUILD_TARGETS None"
...
and make for easier testing on command line
2022-04-06 14:13:44 +10:00
Peter Barker
582eed12bf
autotest: correct extraction of fields from LogWrite messages
2022-04-05 17:57:40 +10:00
Peter Barker
934a125875
Tools: add script which tells you how Copter.ap changes over time
...
This is a global state object which we really want to get rid of - but
while we have it it does contain some useful state.
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$ ./Tools/scripts/du32_change.py ~/rc/log32.bin
1648874490: Creating connection
Original armed_with_airmode_switch: 0
Original auto_armed: 0
Original compass_mot: 0
Original gps_glitching: 0
Original in_arming_delay: 1
Original initialised: 1
Original initialised_params: 1
Original land_complete: 1
Original land_complete_maybe: 1
Original land_repo_active: 0
Original logging_started: 1
Original motor_interlock_switch: 0
Original motor_test: 0
Original new_radio_frame: 1
Original pre_arm_check: 1
Original pre_arm_rc_check: 1
Original prec_land_active: 0
Original rc_receiver_present: 1
Original system_time_set_unused: 0
Original throttle_zero: 1
Original unused1: 0
Original unused2: 0
Original unused3: 0
Original unused_was_simple_mode bit1: 0
Original unused_was_simple_mode bit2: 0
Original usb_connected_unused: 0
Original using_interlock: 0
2022-04-01 08:19:27.03: -in_arming_delay
2022-04-01 08:19:31.04: +auto_armed -throttle_zero
2022-04-01 08:19:38.04: -land_complete -land_complete_maybe
2022-04-01 08:20:34.29: +throttle_zero
2022-04-01 08:20:35.29: -auto_armed +land_complete +land_complete_maybe
pbarker@bluebottle:~/rc/ardupilot(pr/du32-change)$
2022-04-05 17:56:37 +10:00
Peter Barker
2fb1bde457
autotest: add test for earth-frame-accel
2022-04-03 11:41:09 +10:00
Peter Barker
62fe90caa1
autotest: add more convenience methods for checking received data
2022-04-03 09:35:09 +10:00
Henry Wurzburg
3cc75ecd38
Tools: add blimp as vehicle option in sim_vehicle
2022-04-02 14:58:53 +11:00
Randy Mackay
b6af126514
Tools: relax rover sprayer test
...
vehicle's speed is slightly lower when using SCurve navigation
2022-03-30 15:34:14 +09:00
Randy Mackay
ea5e3a8ae0
Tools: rover autotests send position-target-global-int more slowly
...
SCurves do not work with very fast changes of target
2022-03-30 15:34:14 +09:00
Randy Mackay
8ff6972b7e
Tools: rover autotest DriveRTL timeout increased by 10sec
2022-03-30 15:34:14 +09:00
Andy Piper
2e52496432
bootloaders: update spracing h7 extreme bootloader
2022-03-29 10:39:35 +11:00
bugobliterator
df95b1ee13
Tools: modify scripts to allow vcan iface to have CANFD supported
2022-03-27 06:07:34 -07:00
bugobliterator
7770c960c9
waf: add support for CANFD in SITL
2022-03-27 06:07:34 -07:00
Peter Barker
05be2ac8c9
autotest: print mag cal progress messages when testing mag cal
2022-03-26 11:17:14 +11:00
Peter Barker
79098d1d10
autotest: correct diagnostic message symlink->link
2022-03-26 11:16:55 +11:00
Peter Barker
7a62b5429b
autotest: add test for landing speed
2022-03-23 21:07:05 +11:00
Andrew Tridgell
3f865ba102
web: changed from '3DR' to 'SiK'
...
these radios have not been sold by 3DR for a long time
2022-03-23 19:23:17 +11:00
bugobliterator
7f5dc33e7e
AP_Periph: allow can_printf as periph member method as well
2022-03-23 18:59:43 +11:00
Andrew Tridgell
33b7f8f46e
Tools: rebuild IO firmware
2022-03-22 10:30:35 +11:00
Pierre Kancir
699651e306
Tools: add pexpect on Arch env
2022-03-22 09:08:06 +11:00
Pierre Kancir
e704e84bf9
Tools: fix package install on Python2
2022-03-22 09:08:06 +11:00
bugobliterator
95b69ba1fd
AP_Bootloader: add board type CubeOrangePlus
2022-03-20 07:23:10 -07:00
Peter Barker
6b48a8df02
Tools: correct antennatracker name in size_compare_branches.py
2022-03-20 21:46:45 +11:00
Andrew Tridgell
62db423758
Tools: update MatekL431 bootloaders
2022-03-19 12:06:04 +11:00
mateksys
b3f7556ac2
Tools: add MatekL431 bootloader
2022-03-19 12:06:04 +11:00
Andrew Tridgell
994e1e0c0a
AP_Periph: mark version as 1.4.0dev
2022-03-18 21:16:13 +11:00
Andrew Tridgell
59456b4f82
AP_Periph: updated release notes for 1.3.0
2022-03-18 21:14:07 +11:00
Andrew Tridgell
116c692e2b
AP_Periph: rename ReleaseNotes.txt
...
be consistent with plane and copter
2022-03-18 21:14:04 +11:00
Peter Barker
4c8fc3bcaf
waf: split AP_HAL_SITL and AP_SIM_ENABLED
2022-03-17 14:39:55 +11:00
Joshua Henderson
fcb0538fef
autotest: common check_mission_items_same loosen z to 1E-3
2022-03-16 18:41:52 +11:00
Peter Barker
a19fa24ccd
Tools: test_build_options.py: add bin mappings for all vehicles
2022-03-15 11:44:45 +11:00
Andy Piper
6c74c5d4da
scripts: add KakuteH7 and KakuteH7-bdshot.
2022-03-15 10:18:58 +11:00
Andy Piper
38f7c306bc
bootloaders: bootloader for KakuteH7-bdshot
2022-03-15 10:18:58 +11:00
Peter Barker
1a58b3b025
waf: disable airspeed on sitl_periph_gps
2022-03-15 08:52:37 +11:00
Peter Barker
573cb0494d
autotest: set RL_AUTOLAND=1 for more tests
2022-03-14 09:52:41 +11:00
Andrew Tridgell
46a7f2cc4b
autotest: adjust for RTL_AUTOLAND failure
2022-03-14 09:52:41 +11:00
bugobliterator
29673de4f3
AP_Periph: add parameters for setting up FD Bitrates
2022-03-11 18:13:54 +11:00
bugobliterator
47e710c21a
waf: enable tao option for sitl_periph_gps
2022-03-11 18:13:54 +11:00
bugobliterator
1f6c380f69
AP_Bootloader: add value for extra argument in encode methods
2022-03-11 18:13:54 +11:00
bugobliterator
79f55e7aad
waf: enable option for setting TAO state
2022-03-11 18:13:54 +11:00
Siddharth Purohit
8a8de73d89
AP_Periph: add support for CANFD trx
2022-03-11 18:13:54 +11:00
Siddharth Purohit
5e54871d82
ardupilotwaf: set flags for CANFD support as applicable
2022-03-11 18:13:54 +11:00
bugobliterator
068208e4d7
AP_Periph: add debug option for hold in bootloader after 15s
2022-03-11 18:13:54 +11:00
Peter Barker
e94f28c81d
Tools: build_options.py: make and assert it flake8-clean
2022-03-11 13:17:27 +11:00
Peter Barker
bac20bd876
autotest: board_list.py: correct autobuild target name for Tracker
...
We're using the shortened name throughout
2022-03-11 09:46:43 +11:00
Peter Barker
ee138e6b3c
Tools: remove Solo Cubes and skyvipers from blacklist
2022-03-11 09:14:08 +11:00
Peter Barker
9eb5c93c55
Tools: board_list.py: build Sub binaries
2022-03-10 21:06:44 +11:00
Peter Barker
a2057b752d
Tools: build_options.py: fix syntax error
2022-03-10 18:56:01 +11:00
MallikarjunSE
c690efb033
Tools: Rename board
2022-03-10 08:29:51 +11:00
Andrew Tridgell
b9d96ad148
Tools: update runplanetest.py
...
added prearm check and cope with python3
2022-03-10 07:34:20 +11:00
Andrew Tridgell
431330c651
Tools: added SFO_Bay location
2022-03-10 07:34:20 +11:00
Andrew Tridgell
6fcf85edb8
autotest: more changes for plane disarm disallow
2022-03-09 17:13:45 +11:00
Andrew Tridgell
a98e913a2a
autotest: flake8 warning fixes
2022-03-09 17:13:45 +11:00
Andrew Tridgell
e6bbd7f548
autotest: adjust for arming change in plane
...
expect disarm to fail when airmode on
2022-03-09 17:13:45 +11:00
Andrew Tridgell
693022d344
Tools: add AntennaTracker to builds list
...
for completeness, and time monitoring
2022-03-08 14:36:42 -08:00
Henry Wurzburg
ca9e3e95a8
Tools: add build option for Rangefinders
2022-03-08 14:33:38 -08:00
Willian Galvani
1ab7eeb25f
Tools: util.py: fix comment for reltopdir()
2022-03-08 14:29:29 -08:00
Michael Oborne
a7a903e110
CPUInfo: add DSP
2022-03-08 14:26:57 -08:00
Andrew Tridgell
0853accea1
AP_Periph: fixed moving baseline yaw for single CAN peripherals
...
the AP_GPS_UAVCAN driver requires this param for auto-config of MB yaw
on DroneCAN GPS
2022-03-09 07:52:42 +11:00
Andrew Tridgell
da950952a5
Tools: added HolybroG4_GPS bootloader
2022-03-09 07:51:35 +11:00
m
37abfb98dc
autotest: Copter Pause/Continue in AUTO and GUIDED modes with SCurves
2022-03-08 13:12:36 +09:00
Peter Barker
f2fe55b5da
autotest: correct exception handling for Python 3.10
2022-03-07 19:36:05 +11:00
Andrew Tridgell
452121eca1
Tools: fixed env install for ubuntu 22.04
2022-03-07 11:58:20 +11:00
Peter Barker
c27e3f0c35
test_build_options.py: emit size savings from disabling features
2022-03-05 21:27:25 +11:00
Peter Barker
3ad10d7077
Tools: convert test_build_options to an object
2022-03-05 21:27:25 +11:00
Peter Barker
3fa12152f6
autotest: add tests for high latency control protocol
2022-03-05 11:08:30 +11:00
Peter Barker
cb6f9ea6a1
Tools: allow specification of AUTOBUILD_TARGETS in hwdef files
2022-03-03 09:03:17 +11:00
Iampete1
6ac661c6ce
Tools: ardupilotwaf: add AP_CustomRotations
2022-03-02 18:16:42 +11:00
Andy Piper
587254e5a5
bootloaders: update BeastH7v2 bootloaders
2022-03-02 15:46:17 +11:00
Evgeniy
74bbf1bd9e
Tools: BeastH7v2 board added
2022-03-02 15:46:17 +11:00
Andrew Tridgell
7470920dc6
Tools: switch compiler for new releases to 10.2
...
only sub stable and beta on old compiler
2022-03-02 11:25:09 +11:00
Peter Barker
1321a66d97
Replay: include cleanups
2022-03-01 11:21:33 +11:00
Andy Piper
fdaaa589e5
waf: move external flash binaries to regular name to aid publishing
2022-03-01 11:15:52 +11:00
Henry Wurzburg
b3af8221be
Tools: clarify and simplify RC failsafe messages
2022-03-01 11:05:15 +11:00
Peter Barker
850227ffdb
autotest: add test for THR_FAILSAFE==2 and throttle output
2022-03-01 10:29:37 +11:00
Peter Barker
122d97ece7
autotest: add comment clarifying what an error actually means
2022-02-28 12:47:57 +11:00
Peter Barker
7bb13e934d
autotest: add support for multi-line log formats
2022-02-28 12:47:57 +11:00
Peter Barker
f79c43eebd
Tools: build_binaries.py: ensure existence of buildlogs dir
...
If buildlogs didn't exist then the sqlite database creation would fail.
This really shouldn't have been done in init anyway...
2022-02-26 14:17:01 +11:00
murata
53d8d9b58e
Frame_params: Add DJI AGRAS MG-1
2022-02-26 08:28:45 +09:00
Peter Barker
e6c1bc2402
autotest: fix MAVFTP test
2022-02-26 10:11:19 +11:00
Peter Barker
3f7e120a67
autotest: add test for terrain_check
2022-02-25 09:28:04 +11:00
Peter Barker
62efb470f6
autotest: change fly_terrain_mission test name
2022-02-25 09:28:04 +11:00