Commit Graph

8940 Commits

Author SHA1 Message Date
Peter Barker 5a2b7c0ab2 Tools: build_options.py: add RPM DroneCAN
.... otherwise no board will compile without dronecan enabled - and some won't build that way
2024-05-03 22:59:18 +10:00
Peter Barker 2746a02187 Tools: build_options.py: note that HereFlow requires DroneCAN 2024-05-03 22:59:18 +10:00
Peter Barker c8bcd35f94 Tools: build_options.py: note extended link stats requires MSP 2024-05-03 22:59:18 +10:00
Andy Piper 946c891e14 autotest: improve reliability of MotorVibration test 2024-05-03 07:34:21 +10:00
Andy Piper 95c06d418e autotest: tighten DynamicRpmNotches so that failure means failure
check notch attenuation at motor frequency
2024-05-03 07:34:21 +10:00
Iampete1 8cb368de0c Tools: ardupilotwaf: boards: enable `HAL_PERIPH_ENABLE_RPM_STREAM` on `sitl_periph_universal` 2024-05-02 20:25:38 +10:00
Iampete1 6dcb0af697 AP_Periph: add support for streaming dedicated RPM message 2024-05-02 20:25:38 +10:00
Andrew Tridgell 45114d8b03 Tools: added serial playback tool
for playing back serial data captured by ArduPilot
2024-05-02 12:17:49 +10:00
haarshitgarg 4c95a3b6ef Tools: enabled sending waypoints from a companion computer to ardupilot for copter and rover
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-05-02 09:08:34 +09:00
Iampete1 39d179162e Tools: autotest: copter: add max alt fence avoidance test 2024-05-01 17:25:07 +10:00
richaravoil 09d7cb0c95 Tools: adding active UART in the bootloader
Adding USART6 to be active in bootloader phase to allow flashing with a serial connection.
2024-05-01 17:21:30 +10:00
Andy Piper d04722530f bootloaders: iFlight Blitz H7 Pro 2024-05-01 17:19:05 +10:00
Peter Barker 6ddc237334 autotest: add test that weights for blending work 2024-05-01 10:19:58 +10:00
Peter Barker 1bab1a9571 autotest: add new blending test 2024-05-01 10:19:58 +10:00
Andy Piper 34827a0cf6 IO_Firmware: update to support 16 channels for SBUS OUT from all inputs 2024-05-01 08:21:01 +10:00
Peter Barker 29cbd8da15 Tools: add description for SIM_BARO_DRIFT 2024-04-30 16:39:32 +10:00
Peter Barker f5b062562a autotest: correct removal of hooks during exception handling 2024-04-30 16:39:32 +10:00
Peter Barker 3f0265bf58 autotest: add test for EK3_ORGN_HGT_MASK 2024-04-30 16:39:32 +10:00
bnsgeyer 31e556099b Tools: clean up heli autotest file 2024-04-30 10:21:29 +09:00
bnsgeyer ee5fee268f Tools: modify heli autotest to prevent autorotation test failure 2024-04-30 10:21:29 +09:00
jhemcu eb0d9dde5c AP_Bootloader: ID reserve for JHEMCUF405WING 2024-04-30 09:54:04 +10:00
Ryan Friedman 2c803e365e Tools: Autotest: Test for EAHRS misconfiguration prearm failure
* And test for single GPS reporting on Microstrain7

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-04-30 09:18:46 +10:00
Iampete1 801663a3e6 Tools: autotest: Copter: add Auto RTL test 2024-04-30 08:03:39 +09:00
Peter Barker bcf63326ea autotest: install hook in context
busted sanity check allowed this to survive
2024-04-29 17:51:00 +10:00
Andrew Tridgell 54bfaa4438 autotest: skip stratoship test 2024-04-27 22:03:05 +10:00
Andrew Tridgell 0bccd71201 Tools: added StratoBlimp to autotest 2024-04-27 22:03:05 +10:00
Andrew Tridgell 6199147fe2 Tools: new parameter units 2024-04-27 22:03:05 +10:00
Randy Mackay 338f492ac3 Tools: add xacti-config application
This allows configuring the Xacti cameras from the command line
2024-04-26 16:07:18 +09:00
Gone4Dirt 1a39bd1a6e Periph: Add probe continuous checks to airspeed and compass 2024-04-24 17:06:03 +10:00
Hubert f476ed02de bootloaders: add NxtPX4v2 bootloader 2024-04-24 13:57:48 +10:00
Tatsuya Yamaguchi c9f7a3c03d Tools: Scripts: Decode devid: add SCHA63T 2024-04-23 14:15:09 +01:00
Randy Mackay 533b2ed7be Tools: enable GuidedModeThrust autotest 2024-04-23 15:11:24 +09:00
Andrew Tridgell 0eded27a9f AP_Periph: check return of get_RelPosHeading 2024-04-23 10:32:43 +10:00
Hubert f3544f9a80 AP_Bootloader: add MicoAir743 bootloader 2024-04-23 09:56:23 +10:00
Henry Wurzburg 4d7e4d1ca9 Revert "hwdef: bdshot version of the MatekF765-SE"
This reverts commit ac86bd8d21.
2024-04-23 09:52:01 +10:00
Iampete1 8df49d72f3 Tools: autotest: quadplane: test alt assist and transition failure action 2024-04-23 09:11:34 +10:00
Peter Barker 8125f47a15 Tools: test_param_upgrade.py: take a --master-branch parameter
Allows testing against things which are not the master branch

This requires getting nasty in terms of removing the build directory because of our missing-dependecy-file waf issues.

Also requires handling branches that don't have the "novehicle" model.
2024-04-22 13:38:37 +10:00
Peter Barker 484ce402eb autotest: helicopter: have land_and_disarm also lower the rotor speed
similarly for do_RTL
2024-04-20 12:59:27 +10:00
Peter Barker 623f0b8899 autotest: rewrite PosHoldTakeoff using newly-available methods
take advantage of new infrastructure
2024-04-20 12:59:27 +10:00
Peter Barker 5ba8755802 autotest: stop passing defaults in via --defaults to custom_sitl_commandline 2024-04-20 09:43:37 +10:00
Peter Barker ca4fd52b95 autotest: correct parameters used for Callisto 2024-04-20 09:42:55 +10:00
Hubert 992c90ce59 AP_Bootloader: ID reserve for MicoAir743 2024-04-19 21:46:52 +10:00
Henry Wurzburg 3a5c7fefd2 Tools: remove Batt mon specific param from EDU650 2024-04-19 08:38:07 +09:00
SCRainbow cb61df9388 board_type.txt: Reserve an ID for JHEMCU H743 HD 2024-04-19 08:53:39 +10:00
bnsgeyer 0bdf073f38 Tools: Add Heli Autotune Autotest 2024-04-18 20:38:53 +10:00
Tatsuya Yamaguchi 3b51278481 Tools: autotest: added HEXA X 2024-04-18 08:25:41 +10:00
Michelle Rossouw 9d470d4446 Tools: Add Freestyle model for SITL 2024-04-18 08:24:18 +10:00
Peter Barker 8e6a7f8ead Copter: correct name used to retrieve parameters for frame 2024-04-18 08:24:18 +10:00
Peter Barker 578d51574d autotest: correct command-line for sitl in FlyEachFrame 2024-04-17 22:16:08 +10:00
Peter Barker 8c5136e06d Tools: move Arming, Beacon and RC_Mapper into ardupilotwaf.py
these were built for all vehicles, so put them in the common list
2024-04-17 18:11:46 +10:00
Andy Piper 7497118231 IO_Firmware: update iofirmare for SBUS_OUT 2024-04-17 17:49:56 +10:00
Andy Piper abb94b03f9 bootloaders: iFlight BLITZ Mini F745 2024-04-17 17:34:10 +10:00
Andy Piper b9079f932c bootloaders: iFlight Blitz F745 2024-04-17 17:34:10 +10:00
Gone4Dirt 853bfbf64d AP_Periph: Add support for up to two rangefinders 2024-04-17 17:06:42 +10:00
Peter Barker fe9fcf445e Tools: stop emitting debug as part of test_build_options.py 2024-04-17 14:06:24 +10:00
Peter Barker d0a7e70d0f autotest: correct format string in error path
name is a string, not an integer
2024-04-17 11:57:11 +10:00
Peter Barker 7f61acedd3 autotest: add test for Copter compassmot 2024-04-16 19:14:38 +10:00
Leonardo Garcia 7d00c77e48 bootloaders: Support for 3DR Control Zero H7 OEM rev G 2024-04-16 14:10:13 +10:00
Andrew Tridgell 72f87edfb4 Tools: added DroneCAN dependencies
See this report:

https://discuss.ardupilot.org/t/after-upgrading-the-aircraft-version-above-4-4-0-the-parameters-of-mnt-cannot-be-found
2024-04-16 09:23:34 +10:00
Henry Wurzburg f15f23d153 Tools: add MicoAir405Mini 2024-04-16 09:21:23 +10:00
FOG_Yamato ac86bd8d21 hwdef: bdshot version of the MatekF765-SE 2024-04-16 09:13:43 +10:00
Peter Barker d964d7f311 autotest: allow frame to be specified when creating simple missions 2024-04-15 16:57:09 +10:00
Peter Barker cf3cceff68 autotest: add test for GuidedModeThrust 2024-04-14 13:26:36 +10:00
Peter Barker 77cccd08a3 autotest: add test for moving from loiter to guided 2024-04-13 08:34:42 +09:00
Peter Barker 3be1b9efa6 autotest: add set_home function 2024-04-13 08:34:42 +09:00
Clyde McQueen 50015b4196 autotest: reduce SITL baro noise 2024-04-12 14:07:12 -03:00
Peter Barker 0f913b5bdf autotest: add test altitudes in camera log messages are correct 2024-04-11 22:39:09 +10:00
Andy Piper 904f1dffa7 AP_Bootloader: board ids for iFlight boards 2024-04-11 22:16:38 +10:00
Peter Barker c578a18b7f autotest: add test for compass_learn=3 when using gps-for-yaw 2024-04-11 20:49:03 +10:00
BloodSakura3774 9c87156266 board_types.txt: Reserving board id for sakurarc h743 2024-04-11 18:36:00 +10:00
Hubert 24cfe60df3 board_types.txt: Reserve ID for MicoAir405Mini 2024-04-11 18:35:51 +10:00
Hubert 2c267f462d board_type.txt: Reserve an ID for NxtPX4v2 2024-04-11 18:34:51 +10:00
Peter Barker f9e95be590 autotest: use defaults file to set speedup
this solves a problem where after a reboot the vehicle runs fast because we honour the --speedup parmeter over the SIM_SPEEDUP parameter.
2024-04-11 10:17:00 +10:00
Peter Barker c59e96cc15 autotest: remove unused unit conversion methods 2024-04-11 10:17:00 +10:00
Randy Mackay 065c7c6d9b Tools: locations.txt gets Kaga athletic stadium 2024-04-11 09:01:50 +09:00
madhunm 0a1d9b06b5 Added board IDs for Eagle Eye Drones 2024-04-10 21:55:21 +10:00
Peter Barker 1ed388c2e6 Tools: add test for ArmingSwitch after reboot 2024-04-10 21:53:23 +10:00
Peter Barker 800a834740 autotest: add test for PILOT_THR_BHV parameter 2024-04-10 21:52:58 +10:00
richaravoil d63307f881 Tools : add a script to make an OEM setup 2024-04-10 21:52:39 +10:00
Cedric0489 ef044e39e9 Tools: reserve ID for PixPilot-V6PRO 2024-04-10 21:52:18 +10:00
Peter Barker ae3c74b8d9 autotest: add a test for RTL_AUTOLAND=1 behaviour 2024-04-10 17:44:25 +10:00
Peter Barker daf6bca778 AP_Periph: correct compilation when HAL_GCS_ENABLED 2024-04-10 17:11:34 +10:00
muramura 4ef66dcf34 ardupilotwaf: change a word(NFC) 2024-04-10 14:20:04 +09:00
Andrew Tridgell a750192e87 Tools: added bootloader for BotBloxSwitch 2024-04-10 09:59:14 +10:00
Maxim Buzdalov 5e5fde78c2 Tools: use same-bdshotness boards for ccache test 2024-04-09 10:45:08 +10:00
Andy Piper b7330c3238 bootloaders: bootloader for CB Unammned Stamp H743 2024-04-09 09:26:40 +10:00
Peter Mullen 7a0569fd8f autotest: test ArduSub surface tracking modes 2024-04-08 11:18:23 -03:00
Peter Barker 0f67535350 autotest: augment WaitAndMaintain class, add WaitAndMaintainArmed 2024-04-08 12:05:38 +10:00
Peter Barker 6dccdde660 vehicle_test_suite: correct return value from armed()
this was returning the value of "128" rather than "True"
2024-04-08 12:05:38 +10:00
jamming 6f9967a8f7 board_types.txt: Add board_types for holybro 2024-04-06 10:56:50 +11:00
Oleksiy Protas 4e21dbcc0b waf: Detect board class by inheritance instead of naming 2024-04-06 09:45:01 +11:00
Michael du Breuil 9489e6bf86 Tools: add sw-boom-f407 bootloader 2024-04-05 10:53:38 +11:00
Michael du Breuil 81d7240bd9 AP_Periph: fix can mirroring 2024-04-05 10:53:38 +11:00
AlexandrShipovsky c5ebff5674 Tools: add CSKY405 board 2024-04-05 10:45:00 +11:00
Andy Piper 2d0b9b8e8c bootloaders: FoxeerF405v2 2024-04-03 18:50:52 +11:00
Randy Mackay 96e17f18cc Tools: waf help output shows --define under build 2024-04-03 18:30:59 +11:00
mateksys 95b043f9fa Tools: modify MatekH7A3 bootloader 2024-04-02 15:29:55 +11:00
Clyde McQueen c8fc90cca3 autotest: test SET_GPS_GLOBAL_ORIGIN mav msg 2024-04-02 11:00:22 +11:00
rmaia 5d427b1b70 Tools: add extended RC link stats OSD fields
Adds RSSI dBm, SNR, LQ, Tx power and active antenna OSD fields
2024-04-02 10:30:24 +11:00
zebulon-86 72120e8d44 Tools: extract_features.py: add AP_RangeFinder_RDS02UF 2024-04-01 16:12:53 +11:00
zebulon-86 c049a79bff Tools:add simulator for RDS02UF in autotest 2024-04-01 16:12:53 +11:00
zebulon-86 b9ede21378 Tools: add rangefinder backends to custom build server options 2024-04-01 16:12:53 +11:00
Henry Wurzburg 6d360ec79c Tools: move somne items in build options to different sections 2024-04-01 16:08:21 +11:00
TsuyoshiKawamura bc29550c9b autotest: RiTW using Zellij 2024-03-27 18:26:28 +11:00
Theonewhomadethings ba7fc3f53f Tools: added name to GIT_Success.txt file 2024-03-27 07:57:56 +09:00
Peter Barker bb76b7f480 AP_Bootloader: update comment to represent what we actual want to reserve
it would be very unfortunate for someone to allocate out of the same range we are using.
2024-03-26 11:01:15 +11:00
Peter Barker c450de6e96 AP_Periph: add assert that AP_CHECK_FIRMWARE_ENABLED is set 2024-03-26 10:50:11 +11:00
Peter Barker 77c7052865 autotest: add autotest for channel-6 tuning of wp speed 2024-03-25 23:19:49 +11:00
Ryan Friedman d4e0375d31 Tools: Fix incorrectly named DDS param
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-03-24 11:27:22 +11:00
Andrew Tridgell 4ba151151c CI: added --force to git tags --fetch
needed for new git version after server upgrade
2024-03-23 12:37:58 +11:00
Peter Barker e7bf9d2b57 Tools: size_compare_branches.py: write out some.csv less racily
The current construct wipes the old file before reading and collating the data and writing to the file.  This meant the file was empty a lot of the time...

Formulate the output then write to file....
2024-03-22 19:30:09 +11:00
myq aa8b48b8e8 Tools: added name to GIT_Success.txt 2024-03-21 11:40:59 +09:00
Andy Piper 2a47ac11e5 AP_Bootloader: add board ids for CBU StampH743 and Foxeer F405v2 2024-03-21 09:20:13 +11:00
Tim Tuxworth fe5c8d297e Tools: change NET_ENABLED to NET_ENABLE 2024-03-20 19:08:31 +11:00
Andy Piper dc2b172e4b AP_Bootloader: add Orqa F405 Pro 2024-03-20 19:04:21 +11:00
Andy Piper 7268755acd bootloaders: Orqa F405 Pro 2024-03-20 19:04:21 +11:00
Peter Barker c17a11b3c8 Tools: shorten labels in build options
long names here push out the display on a generated Wiki page.
2024-03-20 16:26:23 +11:00
Alex P 463301ac7a Tools: added JHEMCUGF16F405 bootloader 2024-03-19 19:53:03 +11:00
Wu 12cad9f95e Tools: added RadiolinkPIX6 support 2024-03-19 19:50:42 +11:00
Peter Barker 7e1a3ae4dc Tools: allow forwards/backwards for DroneCAN type autoconfig
ArduPilot configures a connected DroneCAN GPS based on its GPS Type.

Given parameter name changes, ArduPilot must be able to configure both new and old AP_Periphs, and new AP_Periphs have to cope with being configured by old ArduPilots.
2024-03-19 19:50:12 +11:00
Peter Barker 0e4b41baa6 Tools: rename GPS_ to GPS1_ 2024-03-19 19:50:12 +11:00
Peter Barker 89bdb14916 Tools: adjust for GPS parameter renames 2024-03-19 19:50:12 +11:00
Peter Barker 7e4d9f2893 AP_Periph: stop passing serial manager to GPS init
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker 7794f7fdaa Tools: move AP_OSD into common libraries list 2024-03-19 07:15:10 +11:00
Peter Barker dcbd2c6782 Tools: allow HarmonicNotches to be compiled out of the code 2024-03-19 07:04:13 +11:00
jkronk 949dec7a1c autotest: add Ainstein radar to copter rangefinder test 2024-03-18 12:40:37 -07:00
Andrew Tridgell e019488dcc CI: added a 6X plane build for SOHW 2024-03-18 14:12:25 +11:00
Peter Barker 40dd8139eb autotest: add script for testing parmameter upgrades 2024-03-17 19:12:56 +11:00
Peter Barker 1969c4bf9b Tools: write enablein-turn csv 2024-03-17 17:20:17 +11:00
Peter Barker 9f50a5046d Tools: add option to test_build_options.py to emit all disable defines for board 2024-03-17 17:20:17 +11:00
Andrew Tridgell 27261639d7 autotest: added SpringValleyRoad location 2024-03-17 09:07:29 +11:00
Andrew Tridgell 562da161fe Tools: added HiRes DroneCAN compass as selectable option 2024-03-16 20:10:35 +11:00
Andrew Tridgell 0d475caa64 Tools: added MatekL431-MagHiRes bootloader 2024-03-16 20:10:35 +11:00
Andrew Tridgell 9aade22c7e AP_Periph: support HiRes magnetometer data 2024-03-16 20:10:35 +11:00
Peter Barker 47d4451370 Tools: build_parameters: stop using --sitl option
this option was removed because we now mix the SIM parameters in with everything else.
2024-03-16 06:55:25 +11:00
Minderring a189fe2ecc scripts: add MicoAir405v2 to manifest generator 2024-03-15 13:04:29 +11:00
Minderring 9071b3f09c bootloaders: add MicoAir405v2 bootloader 2024-03-15 13:04:29 +11:00
Minderring 55fae5f250 AP_Bootloader: add board id for MicoAir405v2 2024-03-15 13:04:29 +11:00
Andrew Tridgell a654962b4c Tools: added crc32.py 2024-03-13 18:50:29 +11:00
Peter Barker d0bb0b729a autotest: remove special-case-for-reboot for Sub
we now instantiate AP_Stats so the boot count is available
2024-03-13 08:07:40 +09:00
yuri-rage 12c3391ac2 Tools: install Debian 12 prereqs 2024-03-12 22:06:57 +11:00
Peter Barker a7d9209001 autotest: re-enable Dijkstra tests 2024-03-12 21:13:33 +11:00
Peter Barker f89bfff037 autotest: ensure latest log is timestamped, small and not growing
A fixed time this log is open for ensures we know what we are downloading.

We will not be keeping dataflash logs of the rest of this test after this PR as we leave LOG_DISARMED as it is.

Waiting for GPS ensures the file gets a timestamp, so MAVProxy's "log download latest" will return that log file.
2024-03-12 21:13:25 +11:00
Andy Piper 1285b132ee bootloaders: update bootloader for BlitzF745AIO to keep RX UART pins high on boot 2024-03-12 09:26:58 +11:00
Peter Barker 90c4bd0ee8 Replay: instantiate SRV_Channels object
the init call in AP_Vehicle requires the singleton to be present
2024-03-12 09:10:22 +11:00
Clyde McQueen e3af56eff5 Sub: test for ABOVE_TERRAIN frame 2024-03-11 13:38:38 -03:00
Peter Barker f6e7b9de5b Tools: move AC_Avoidance defines into libraries 2024-03-11 18:07:18 +11:00
Andrew Tridgell dc97899ce8 autotest: set SIM_SPEEDUP=1 for log download
this may make the test more reliable
2024-03-10 15:24:57 +11:00
olliw42 31e2353c11 Tools: add RC_MAVLINK_RADIO to build options 2024-03-09 10:47:39 +11:00
Henry Wurzburg d657f40a41 Tools: fix logging feature extract 2024-03-07 18:12:53 +11:00
Peter Barker 3ca6e29ad1 autotest: reimplement wait_location with new object-based approach
the existing wait_and_maintain method is problematic when it comes to waiting on different value types.
2024-03-07 09:41:57 +11:00
Peter Barker 690596580a autotest: show map, fence and rally when map is shown 2024-03-06 19:54:08 +11:00
Andrew Tridgell fbfa3e43bc AP_Periph: allow for RTCMv3 packets larger than 300 bytes
with newer receivers, RTCMv3 packets can be larger than 300
2024-03-06 19:38:06 +11:00
Peter Barker f88d0a7d54 build_ci.sh: do a test build with HAL_LOGGING_ENABLED false 2024-03-06 18:40:34 +11:00
Andrew Tridgell 6a67830556 autotest: added quadplane ShipLanding test 2024-03-06 09:39:51 +11:00
Andrew Tridgell de786932a6 autotest: added PrecisionLanding test 2024-03-06 09:39:51 +11:00
Andrew Tridgell e3df084b96 autotest: fixed SIM_PLD_HEIGHT for AUTO_LAND_TO_BRAKE 2024-03-06 09:39:51 +11:00
Andrew Tridgell 350215eb70 autotest: fixed got and want ordering in text wait 2024-03-06 09:39:51 +11:00
Iampete1 4a310fb207 Tools: autotest: Plane: add min throttle test 2024-03-05 11:38:28 +11:00
subashchandar 7db7f95a3b AP_HAL_ChibiOS: hwdef: Add new hardware pixflamingo f7 2024-03-04 23:26:50 +00:00
Peter Barker d6df142eaa GCS_MAVLink: allow FTP to be compiled out with build_options.py 2024-03-03 08:38:22 +11:00
Peter Barker a1a920ba78 waf: add and use AP_CUSTOMROTATIONS_ENABLED 2024-03-03 08:22:46 +11:00
Peter Barker 40a0e06db3 Tools: add and use AP_CUSTOMROTATIONS_ENABLED
also add to build_options.py
2024-03-03 08:22:46 +11:00
Andrew Tridgell e58b2fc51a Tools: allow CPUInfo to build on HAL_Linux 2024-03-02 17:55:43 +11:00
Peter Barker bae88512bf autotest: remove pointless try/except in SMART_RTL test 2024-02-28 22:26:28 +11:00
Andrew Tridgell 03910b8df4 Tools: run examples with SITL 2024-02-28 19:22:14 +11:00
Andrew Piper c91a6fdba7 environment_install: fixup mac xcode install text 2024-02-28 19:17:00 +11:00
Randy Mackay e1e7882b7b Tools: remove vicon params from whitelist 2024-02-28 18:52:37 +11:00
Peter Barker 9aa6193568 autotest: test new safety switch command 2024-02-27 21:10:39 +11:00
Andrew Tridgell fee5374cb6 Tools: only produce _with_bl.hex not *.hex for vehicle firmware
if we are producing _with_bl.hex then don't also build *.hex as it can
confuse users who think they should flash *.hex with a DFU flashing
tool
2024-02-27 11:24:24 +11:00
Iampete1 ec762d5609 Tools: ardupilotwaf: boards: define `HAL_HAVE_AP_ROMFS_EMBEDDED_LUA` if lua files in ROMFS 2024-02-27 11:09:08 +11:00
Peter Barker df3267c9ba waf: remove SKETCH and SKETCHNAME from build sysmte
... renaming one of them to AP_BUILD_TARGET
2024-02-26 15:42:25 +11:00
Andrew Tridgell 0007c7dce0 AP_Periph: mark master as 1.8.0 dev 2024-02-26 07:53:39 +11:00
Andrew Tridgell edd03b1ac2 AP_Periph: release notes for 1.7.0 2024-02-26 07:52:55 +11:00
Peter Barker d92acaffce autotest: improve diagnostics around expected statustext 2024-02-23 20:13:29 +11:00
Andrew Tridgell 7790b1ec71 AP_Periph: map MAV_SEVERITY to DroneCAN debug levels 2024-02-22 15:03:01 +11:00
Peter Barker 21a01c5587 AP_GPS: remove dead GPS_MINDGPS variable 2024-02-22 14:41:29 +11:00
Peter Barker e72a39353e default_params: rename vee-gull parameters to remove space 2024-02-22 14:41:29 +11:00
Clyde McQueen f9db039dcc Sub: add SURFTRAK mode 2024-02-21 18:59:20 -03:00
Dr.-Ing. Amilcar do Carmo Lucas b6b4c972f9 Tools: Script to fetch online ArduPilot parameter documentation (if not cached) and
add it to the specified file or to all *.param and *.parm files in the specified directory.

1. Checks if a local cache of the XML file exists in the target directory or on the directory of the target file:
 - If it does, the script loads the file content.
 - If it doesn't, the script sends a GET request to the URL to fetch the XML data for the requested vehicle type.
2. Parses the XML data and creates a dictionary of parameter documentation.
3. DELETES all comments that start at the beginning of a line
4. Adds the parameter documentation to the target file or to all *.param,*.parm files in the target directory.

Supports AP_Periph, AntennaTracker, ArduCopter, ArduPlane, ArduSub, Blimp, Heli, Rover and SITL vehicle types
Supports both Mission Planner and MAVProxy file formats
Supports sorting the parameters
Has unit tests with 88% coverage

AP_FLAKE8_CLEAN

Author: Amilcar do Carmo Lucas, IAV GmbH

# Conflicts:
#	.github/workflows/test_unit_tests.yml
2024-02-22 08:31:57 +11:00
Andrew Tridgell c7a729b7f6 waf: fixed leading slashes in root of ROMFS 2024-02-22 07:43:16 +11:00
Simon Hancock e01e697343 Autotest: Generate LogMessages.xml for Sub 2024-02-21 21:05:22 +11:00
bugobliterator 7b6b6ae803 AP_Periph: fix version setting in CheckFirmware app descriptor 2024-02-21 18:54:17 +11:00
bugobliterator 7fabce6cb6 AP_Bootloader: add support for printing current firmware and boot status 2024-02-21 18:54:17 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 74640c9e65 Tools: Extracts parameter default values from an ArduPilot .bin file.
Supports Mission Planner, MAVProxy and QGCS file format output

Contains unittests with 95% coverage

Amilcar do Carmo Lucas, IAV GmbH
2024-02-21 18:24:16 +11:00
Peter Barker e4fc55f282 autotest: add test that tracker can use moving baseline yaw 2024-02-21 16:56:25 +11:00
Andrew Tridgell 4ad1231c8f waf: prevent use of C++ library calls that can cause exceptions
this cleans up our blacklist of library functions, and ensures there
can be no accidential use of std:: functions that cause exceptions in
flight code on HAL_ChibiOS
2024-02-21 12:09:48 +11:00
Andrew Tridgell 20cb709ca2 AP_Periph: use gmtime_r() instead of gmtime() 2024-02-21 12:09:48 +11:00
Andrew Tridgell a3697b3d97 waf: added -Wno-psabi
the ABI change warnings for gcc 7.1 are not useful
2024-02-21 12:09:48 +11:00
Andrew Tridgell a7fba2ba5f waf: added AP_JSON to library list 2024-02-21 12:09:48 +11:00
Peter Barker 392aa8fd48 waf: remove richenpower special-case
we started to include this everywhere anyway
2024-02-20 19:35:50 +11:00
Peter Barker 56a73dedae autotest: adjust tests for new GPS messages 2024-02-20 19:35:01 +11:00
Andrew Tridgell e9c59bf3ae autotest: fixed the 'X' frame 2024-02-19 14:30:13 +11:00
Andrew Tridgell 1d08662c72 autotest: fixed parameters for tilt quadplanes
and enable autotest of the disabled tilt quadplane frames
2024-02-18 16:28:43 +11:00
Jaaaky 9986fb9726 Tools: Add prerequisites install script for openSUSE Tumbleweed
Tried to make it as complete as compatible as possible with Ubuntu environment

Installing static libs for SITL_static
And gcc_arm-linux for Linux based boards
2024-02-17 08:56:49 +11:00
Andrew Tridgell 3668616c53 Tools: added -e to cygwin build
error if any part of build fails

also ensure cygwin build in CI is parallelised
2024-02-16 18:59:32 +11:00
Peter Barker 492bbe4830 Tools: remove HerePro
to be replaced by a HereProAP
2024-02-15 13:42:14 +11:00
Peter Barker 102ffd3aeb AP_Periph: don't send GPS messages if not compiled in 2024-02-15 12:17:07 +11:00
Randy Mackay c449c71286 Tools: update AION R1 params 2024-02-14 18:56:47 +11:00
Rhys Mainwaring e58dd0de73 Tools: ros2: add cmake options to ardupilot_sitl
- Add options for networking and PPP to match waf configure flags

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-02-13 21:56:46 +11:00
Tiziano Fiorenzani c864047c1f Tools: ardupilot_sitl launch file to include an out parameter for mavproxy 2024-02-13 13:20:35 +11:00
Richard Marko 04b46678a4 treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Peter Barker bdb84181bc Tools: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Andrew Tridgell 74e742f2c6 Tools: rebuild peripheral bootloaders
fixes issue with RAM0 mismatch
2024-02-12 15:45:07 +11:00
Andrew Tridgell 7199ccacda AP_Bootloader: cope with RAM0_START not matching between bl and periph
this allows us to stay in bootloader based solely on RTC_BOOT_CANBL
without the RAM0 area matching between bootloader and periph fw

fixes an issue with current bootloaders where the old bl may not match
current RAM0 value
2024-02-12 15:45:07 +11:00
Andrew Tridgell eaf40fbfb3 waf: help diagnose dronecangen errors 2024-02-11 16:48:52 +11:00
Andrew Tridgell 50332ab23f AP_Periph: check decode for DNA message 2024-02-11 16:48:52 +11:00
Peter Barker e59d432281 autotest: change default board for test_build_options
rather more rpresentative of what people are likely to compile for
2024-02-11 11:04:38 +11:00
Peter Barker 81f2e15f8b Tools: add Gundaroo oval testing location 2024-02-10 20:56:09 +11:00
Peter Barker 0eb73c1db2 autotest: only check for PitotBlockage once vehicle is loitering
vehicle should be a in a steady state before we make the ratio change to synthesise a pitot blockage.

Otherwise, changes to the shape of the takeoff will affect the heuristics used to detect pitot blockage.
2024-02-10 20:56:00 +11:00
Peter Barker 2fe2c3b520 Tools: move RC bits in mavlink to common code
Plane's semantics change to be like Copter. Rover, Sub and Tracker will start reporting the bits
2024-02-10 11:46:44 +11:00
Peter Barker 1e7df560aa Revert "board_list.py: correct autobuild target name"
This reverts commit 039701b616.

This broken builds on the build server.  We should be correcting the other way anyway, from antennatracker -> tracker
2024-02-10 11:46:14 +11:00
anchitbhuhan 8c87d96f97 Tools: added name to GIT_Success.txt 2024-02-10 08:26:19 +09:00
Randy Mackay 022e8be735 Tools: update hexsoon-edu650 notch params 2024-02-08 11:11:18 +09:00
Randy Mackay cbfb707dde Tools: rename hexsoon-edu650 param file 2024-02-08 11:11:18 +09:00
Randy Mackay b3f518996f Tools: update hexsoon-edu650 params 2024-02-08 11:11:18 +09:00
Peter Barker 3124731691 board_types.txt: reserve 1410 for RadiolinkPIX6 2024-02-06 11:44:45 +11:00
Peter Barker ecae3a462c Tools: param_parse.py: correct extraction of enum class in nested classes
It was putting AP_HAL::AnalogIn::PowerStatusFlag in AP_HAL::AnalogIn
2024-02-06 11:13:14 +11:00
Peter Barker 857547ba55 Tools: build_options.py: include fixed-yaw and in-flight learning options 2024-02-06 11:11:27 +11:00
Peter Barker 95661bb9bb waf: include piccolocan protocol directory in all libraries
with can_mgr in AP_Vehicle, eliding no longer works for the symbols generated from this directory, as *all* vehicles now get can, including the ones especially created in examples.  So now we include the symbols.
2024-02-06 11:03:54 +11:00
Peter Barker cd1e1273fa Tools: size_compare_branches.py: correct pruning of threads 2024-02-01 14:27:36 +11:00
Peter Barker 039701b616 board_list.py: correct autobuild target name
this has to be the waf target name
2024-02-01 12:31:04 +11:00
David O'Connor eaec73ca70 Tools: add AnyLeaf H7 board 2024-02-01 11:43:57 +11:00
Leonardo Garcia 5749bd5074 AP_HAL_ChibiOS: mRo KitCAN revC board fix
Add RM3100 reversal mask to deal with M10025C board changes.
2024-02-01 11:43:35 +11:00
Andrew Tridgell cc5579823d Tools: added MatekH7A3 bootloader 2024-02-01 11:43:24 +11:00
Andrew Tridgell 065ef471e7 AP_Bootloader: fixed build with TEST_FLASH enabled 2024-02-01 11:43:24 +11:00
yjuav 8e71cf83cd hwdef: add YJUAV_A6Ultra board support 2024-02-01 11:29:11 +11:00
Andrew Tridgell 4e8cc6d5ab AP_Bootloader: fixed ECC check for single bank H7 2024-01-30 12:32:23 +11:00
Gone4Dirt 26bfedb956 AP_Periph: Send generic equipment temperature data 2024-01-30 10:13:35 +11:00
Andrew Tridgell fd40b15e21 AP_Bootloader: added MatekH7A3 board type 2024-01-28 09:00:30 +11:00
Andrew Tridgell f1566a481e AP_Bootloader: added board ID for BotBloxSwitch 2024-01-28 09:00:19 +11:00
Leonardo Garcia 13266ea1f3 Tools: Allocate ID for mRo KitCAN revC board 2024-01-27 10:33:50 +11:00
Andrew Tridgell 743b1262a0 waf: removed old UAVCAN defines 2024-01-25 11:44:02 +11:00
Thomas Watson 52468f0238 AP_ROMFS: fix buffer null terminator
Ensure buffer is properly null terminated without changing the indicated
size even for uncompressed data.
2024-01-25 11:24:31 +11:00
Thomas Watson d13193150c AP_ROMFS: store size in file structure instead of compressed stream
Cleans up code.
2024-01-25 11:24:31 +11:00
Thomas Watson d46cb3fd85 AP_ROMFS: embed raw DEFLATE streams
Saves size not including unnecessary headers or code to parse them.
2024-01-25 11:24:31 +11:00
Thomas Watson 5d37442f7c Tools/embed: drop py2 compat, necessary for future improvements 2024-01-25 11:24:31 +11:00
Peter Barker d4cbb54e35 autotest: tidy setting of board type
splitting the string isn't pretty - just set two variables.
2024-01-24 18:42:18 +11:00
Peter Barker 113ada0524 Tools: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar 3a3f4ea446 autotest: Fractional Loiter Turn Test 2024-01-22 20:27:20 -08:00
Andrew Tridgell f6ff3b2fbb Tools: fixed incorrect param conversions 2024-01-23 15:00:30 +11:00
Andrew Tridgell 1341abc6b4 Tools: fixed name of pitch limit parameters 2024-01-23 15:00:30 +11:00
Andrew Tridgell bf60a3b385 Tools: added convert_param_scale.py 2024-01-23 15:00:30 +11:00
Andrew Tridgell 7de56d434c Tools: fixed parameter names 2024-01-23 15:00:30 +11:00
Andrew Tridgell eb492bd0aa autotest: fixed quadplane test 2024-01-23 15:00:30 +11:00
Andrew Tridgell cfcd28bc8c Tools: convert Q_VELZ_MAX to Q_PILOT_SPD_UP 2024-01-23 15:00:30 +11:00
Andrew Tridgell d9ee8113ee Tools: param conversion Q_LAND_SPEED -> Q_LAND_FINAL_SPD 2024-01-23 15:00:30 +11:00
Andrew Tridgell af420746ee Tools: param file TRIM_PITCH_DEG to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell 2f5cb42030 Tools: convert param files for LAND_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell 7a57ac640f Tools: convert param files LIM_ROLL_CD -> ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell badf8fabdd Tools: convert param files for pitch limits 2024-01-23 15:00:30 +11:00
Andrew Tridgell a06b2d7328 Tools: param rename for CRUISE_ALT_FLOOR 2024-01-23 15:00:30 +11:00
Andrew Tridgell e0cd06cc83 Tools: fixed name of TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell 286f6887bd Tools: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM 2024-01-23 15:00:30 +11:00
Andrew Tridgell 863f25e645 Tools: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell 4fea71246d Tools: change TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth afc093a9b2 autotest: change default params from TRIM_PITCH_CD to TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Tim Tuxworth 48359344c5 Tools: update Frame_params for TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Peter Barker b35431beb5 Tools: build_options.py: add option for HAL_LOGGING_ENABLED 2024-01-23 11:55:49 +11:00
Peter Barker 49c3f668de Tools: rename COMPASS_TYPEMASK to COMPASS_DISBLMSK
this is a very confusingly named parameter.  I've seen several instances of people treating this as an enable mask rather than a disable mask
2024-01-23 11:54:49 +11:00
David O'Connor 0c943cac58 Tools : reverse board ID 1146 for AnyleafH7 2024-01-21 18:58:45 +00:00
Simon Hancock 098a53e318 Tools: Updates to log message units and help text
parse.py: Remove lone bullet points rendered on replay messages
enum_parse.py: Tweak regex on enum parser to handle comments like: "FRED = 10, ///< text"
2024-01-21 14:26:54 +11:00
MallikarjunSE 101bc7c3a7 Tools: Add TrueNavPro-G4 bootloader 2024-01-21 13:10:10 +11:00
MallikarjunSE 8be6f1b57e Tools: add TrueNavIC bootloader 2024-01-21 13:10:10 +11:00
Andrew Tridgell 2f71e023db AP_Bootloader: added cleanup of web server threads 2024-01-21 12:30:08 +11:00
Andrew Tridgell 3e35773c8a Tools: added bootloader for PPPGW targets 2024-01-21 12:30:08 +11:00
Andrew Tridgell 9bb29aec36 AP_Periph: ensure no external flash in periph
bootloader protocol cannot support it in its current form
2024-01-21 12:30:08 +11:00
Andrew Tridgell 9bf5842ab2 AP_Bootloader: rename web request thread 2024-01-21 12:30:08 +11:00
Andrew Tridgell ae031c4f3f AP_Bootloader: prevent external flash in DroneCAN bootloader 2024-01-21 12:30:08 +11:00
Andrew Tridgell 335ed9ebf1 AP_Bootloader: save a few bytes of flash 2024-01-21 12:30:08 +11:00
Andrew Tridgell 1bf1689f2f AP_Bootloader: only erase the number of sectors we need 2024-01-21 12:30:08 +11:00
Andrew Tridgell 286b52e2cd AP_Bootloader: added bl network status to CAN 2024-01-21 12:30:08 +11:00
Andrew Tridgell b8e14c166f AP_Periph: fixed SITL build 2024-01-21 12:30:08 +11:00
Andrew Tridgell e18abc3a9b AP_Bootloader: added progress and status to fw upload 2024-01-21 12:30:08 +11:00
Andrew Tridgell 29876f649a AP_Bootloader: added reboot button 2024-01-21 12:30:08 +11:00
Andrew Tridgell 1bee4630cc AP_Bootloader: show IP as CAN debug msg in bootloader
this also saves a few bytes of flash for normal periph bootloader
2024-01-21 12:30:08 +11:00
Andrew Tridgell 38d7af450f AP_Periph: prevent wrap of free memory in VSSC 2024-01-21 12:30:08 +11:00
Andrew Tridgell 212bde0b61 AP_Bootloader: use IP address from periph if available 2024-01-21 12:30:08 +11:00
Andrew Tridgell ec9a8d7167 waf: CubePilot-PPPGW needs fiprintf 2024-01-21 12:30:08 +11:00
Andrew Tridgell 771e4be86d AP_Bootloader: added CubeRed Periph board ID 2024-01-21 12:30:08 +11:00
Andrew Tridgell 9904dca558 AP_Periph: added reboot link to web UI 2024-01-21 12:30:08 +11:00
Andrew Tridgell 7c711d7525 AP_Bootloader: added option web interface to the bootloader
for loading firmware via ethernet
2024-01-21 12:30:08 +11:00
Andrew Tridgell 59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +11:00
Andrew Tridgell 46f65aec4e AP_Periph: moved web UI script to Tools/AP_Periph
for use in multiple boards
2024-01-21 12:30:08 +11:00
Andrew Tridgell ebe7fc23b3 Tools: build a web enabled bootloader in CI 2024-01-21 12:30:08 +11:00
Henry Wurzburg 1bac278a38 Tools: add button build server option 2024-01-21 11:51:47 +11:00
Andrew Tridgell 2e9a43d781 AP_Bootloader: reverse an ID for Tulip Battery monitor 2024-01-20 11:50:31 +11:00
Andrew Tridgell fb26452b8d Tools: added linux boards to build sizes web page 2024-01-19 11:41:02 +11:00
Peter Barker a1fe322f46 Tools: param_parse.py: stop emitting field text in JSON output 2024-01-17 18:33:25 +11:00
Peter Barker e7cd43ad86 Tools: param_parse.py: sort RCn_OPTIONS progamatically 2024-01-17 18:33:25 +11:00
Peter Barker 7c52d8b468 build_options.py: add option to force APJ_TOOL parameter area 2024-01-17 18:28:48 +11:00
Peter Barker 3f9062d676 Tools: extend error message when not finding defaults 2024-01-17 18:28:48 +11:00
Peter Barker 0b7f6c90e5 autotest: stop testing embedded param parser
we're moving to ROMFS defaults files
2024-01-17 18:28:48 +11:00
Peter Barker 3aab3bac52 Tools/AP_HAL_ChibiOS: move defaults from tools to hwdef directory
Tools: move defaults from tools to hwdef directory
2024-01-17 18:28:48 +11:00
Peter Barker 0c98369fd5 Tools: remove script which generates MissionPlanner-style xml files
it now uses apm.pdef.xml
2024-01-17 14:10:01 +11:00
Peter Barker 51ed5b8dd9 Tools: param_parse.py: remove xmlemit_mp
this was used for a while to create xml files suitable for MissionPlanner toconsume.  MissionPlanner now uses apm.pdef.xml
2024-01-17 14:10:01 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 2564ca03e2 Tools: Spell correction 2024-01-17 08:40:15 +09:00
Joshua Henderson b42138bfb6 Tools : completion add submoduleclean & submodule_force_clean 2024-01-17 07:41:44 +11:00
Peter Barker a77df87b01 Tools: rename sim_periph_gps to sim_gps_universal, recreate sim_periph_gps 2024-01-16 12:16:35 +11:00
Simon Hancock c0a503d74d autotest: Provide format and unit/multiplier info for log messages
Definitions of each character are extracted from LogStructure.h
Data is extracted by parsing the logging definition struct
Also parse WriteMessage() calls for messages not defined in struct
Add support to separate log descriptions for messages with same field list
Compute derived unit from combination of format, unit and multiplier
For XML output the format and derived unit into new attributes
Add enumerations to the XML output (bitmasks were already done)
For MD,RST,HTML, output either derived unit, 'char[n]', 'bitmask' or 'enum'
Fix support for Blimp by adding it to the parse_enum.py lookup table
2024-01-16 11:24:34 +11:00