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