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
Peter Barker
fb1209ff3c
AP_Periph: add missing AP_AHRS include
2024-01-15 20:41:58 +11:00
Peter Barker
38a9960b31
AP_Periph: add missing include for AP_RTC
...
shouldn't be instantiating one of these without directly including the header.
Was being included transitively
2024-01-15 20:41:58 +11:00
Peter Barker
2ca8cc572c
Tools: build_options.py: Ghost telem requires ghost RC
2024-01-15 09:39:41 +11:00
Peter Barker
fe30a93602
build_options.py: correct entries for Ghost telem protocol
2024-01-15 09:39:41 +11:00
MallikarjunSE
c7c2c54c26
Tools: Reserve board IDs for Sierra
2024-01-13 17:12:06 -08:00
AndersonRayner
d53807cb6c
Tools: Update sitl-on-hardware README.md to match new file paths.
...
The sitl-on-hardware paths have changed. This updates the readme file to reflect the new file locations.
2024-01-13 13:55:25 -08:00
Rhys Mainwaring
5ee05b6799
Tools: ros2: pass verbose flag to micro-ROS agent.
...
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-01-13 13:43:12 -08:00
Siddharth Purohit
d278ed3f2c
Tools: add bin file when building binaries for Here4FC
2024-01-13 23:03:52 +11:00
TsuyoshiKawamura
e0971c7d1a
Tools: make target directory before linking
2024-01-13 19:30:54 +11:00
Andrew Tridgell
2e8be66353
CI: added Pixhawk6X-PPPGW to CI builds
2024-01-12 19:06:49 -08:00
Andrew Tridgell
c59287bf9b
AP_Periph: fixed version handling in periph
2024-01-12 19:06:49 -08:00
Mehmet Keten
625b7b6ab7
Tools: added name to GIT_Success.txt
2024-01-13 09:00:12 +09:00
Andrew Tridgell
ee6478b465
Tools: added CubePilot-PPPGW bootloader
2024-01-12 14:23:34 -08:00
Andrew Tridgell
44bc523db8
AP_Periph: added support for PPP gatewate peripheral
2024-01-12 14:23:34 -08:00
Andrew Tridgell
458d8cad4e
Tools: added Pixhawk6X-PPPGW board
2024-01-12 14:23:34 -08:00
Peter Barker
34bc01ec71
Tools: size_compare_branches.py: upon process failure write out a file containing diagnostics
2024-01-12 15:23:47 +11:00
Peter Barker
1748711b99
Tools: size_compare_branches.py: restart failed threads
2024-01-12 15:23:47 +11:00
Andrew Tridgell
59108e9524
Tools: added Alia xplane parameters
2024-01-12 14:02:59 +11:00
Peter Barker
d26d9585ad
AP_Bootloader: gate call check_good_firmware on AP_CHECK_FIRMWARE_ENABLED
...
this method doesn't exist if that defines doesn't
2024-01-12 12:04:56 +11:00
Peter Barker
85fc178769
AP_Bootloader: correct placement of AP_BOOTLOADER_ALWAYS_ERASE
...
this moves it outside of defined(BOOTLOADER_DEV_LIST)
2024-01-12 12:04:56 +11:00
Andy Piper
3c9c4a58b8
scripts: add Ghost protocol to build_options.py
2024-01-10 18:32:53 +11:00
Iampete1
a5f2076d21
Tools: AP_Periph: add support for relay via incoming hardpoint command
2024-01-10 18:29:24 +11:00
Andrew Tridgell
7e5e55a97b
autotest: fix for flapping multicast log download test
...
we had two ports outputting to 14550 which could cause the test to be
very slow
2024-01-10 18:07:29 +11:00
Bob Long
eb10b81964
Tools: uploader.py: set write_timeout
...
This is needed to prevent Windows from hanging when trying to write to
"Standard Serial over Bluetooth" ports.
2024-01-09 01:32:16 -08:00
Peter Barker
5acf58c310
autotest: add test for receiving base messages
2024-01-07 13:04:03 -08:00
bugobliterator
c693d4f0e4
Tools: add Here4FC bootloaders
2024-01-08 07:05:34 +11:00
Andrew Tridgell
8ddfa02575
Tools: fixed est32 gdb init
2024-01-07 20:51:55 +11:00
Andrew Tridgell
c7c0680352
waf: enable sim on hw for esp32 empty builds
2024-01-07 20:51:55 +11:00
Andrew Tridgell
40e9b94f58
CI: test sim-on-hw build in CI
2024-01-07 20:51:55 +11:00
Andrew Tridgell
30ad0560f4
Tools: added CAN playback tool
...
uses frames from lua CAN bus capture and plays back for driver
development
2024-01-07 12:23:39 +11:00
David Buzz
977b5dfe33
Tools: DynamicRpmNotches is mostly within 5% but 10% prevents the test from flapping as much
2024-01-07 10:32:47 +11:00
Andrew Tridgell
b03728853e
Tools: allow CPUInfo to build on systems without ESC telem
2024-01-07 09:36:29 +11:00
David Buzz
9a4a3bf551
Tools: on esp32 force constants to single-precision like chibios port does.
2024-01-07 08:26:07 +11:00
David 'Buzz' Bussenschutt
6d4747a38c
Tools: fix esp32 CI build
...
install gevent as a package first seems to allow it to avoid issues.
also 3.11 is reqd, and 3.10 usn't good enough.
2024-01-07 08:09:21 +11:00
freenamegit
c48f5c09db
Tools: added name to GIT_Success.txt
2024-01-05 11:11:30 +11:00
Peter Barker
2cfbd25988
Tools: improve diagnostics from failed check_replay
2024-01-05 10:12:18 +11:00
Andrew Tridgell
f8c3b494d1
autotest: fixed missing Blimp for enum parsing
2024-01-05 09:33:31 +11:00
Peter Barker
18adc77979
autotest: add flight test for OpticalFlow
2024-01-04 20:48:46 +11:00
Peter Barker
c22794d078
AP_Periph: add missing SITL includes
...
these are required for compilation when other things are introduced
2024-01-03 18:33:10 +11:00
Peter Barker
24f7ff7b61
autotest: Use contexts to control script lifetimes in networking tests
...
this way if the test gets an exception part-way through the scripts are removed from the directories appropriately
2024-01-03 17:36:10 +11:00
Andrew Tridgell
f4e731781d
CI: debug ppp install
2024-01-03 12:14:47 +11:00
Andrew Tridgell
b340b5f8ca
Tools: added PPP as a build option
2024-01-03 12:14:47 +11:00
Andrew Tridgell
eb6c62f319
CI: added CubeOrange-PPP build test
2024-01-03 12:14:47 +11:00
Andrew Tridgell
8aaedccacc
Tools: install ppp in ubuntu
2024-01-03 12:14:47 +11:00
Andrew Tridgell
60bfcf3cdc
autotest: added a web server test
...
both native sockets and PPP
2024-01-03 12:14:47 +11:00
Andrew Tridgell
c85f4f875c
Tools: disable lwip with clang
2024-01-03 12:14:47 +11:00
Andrew Tridgell
799b01c6c6
Tools: added --enable-ppp to sim_vehicle.py
2024-01-03 12:14:47 +11:00
Andrew Tridgell
d26530c892
waf: added --enable-ppp option
2024-01-03 12:14:47 +11:00
Andrew Tridgell
8b3f3bc2d2
waf: new location for lwip
2024-01-03 12:14:47 +11:00
Andrew Tridgell
fb0a0de2f2
waf: added env.BOARD_CLASS
2024-01-03 12:14:47 +11:00
Andrew Tridgell
a53be122db
waf: removed lwip source paths in chibios class
2024-01-03 12:14:47 +11:00
Andrew Tridgell
a5fee135b0
waf: added paths for PPP build
2024-01-03 12:14:47 +11:00
Peter Barker
f8fcc96103
Tools: don't check all files if no files-to-check supplied
2024-01-03 11:46:05 +11:00
Peter Barker
3bd8f1a3df
AP_Periph: rename rx-protocol-stats ins local to avoid conflict with ins singleton
2024-01-03 11:43:43 +11:00
Andrew Tridgell
816e3fae3e
autotest: fixed flapping sub log download test
...
the log being downloaded can be very large, and times out. Setting
LOG_DISARMED=1 gives us a small log to download
2024-01-02 11:34:12 +11:00
Peter Mullen
948ee94cee
Tools/autotest: Add LUA interface to access Range Finder state
2024-01-02 11:31:02 +11:00
Andrew Tridgell
f5bc7f02a8
Tools: changed to --enable-fgview
2024-01-02 08:12:37 +11:00
Iampete1
b13632cc94
Tools: Scripts: decode_ICSR: use decoder_m4_pendsvset function
2024-01-01 11:31:40 +11:00
Andrew Tridgell
564041f592
waf: added WAF_BUILD_TARGET for esp32 build
2023-12-31 09:55:16 +11:00
Andrew Tridgell
990b10bbca
Tools: added esp32s3empty and gdb startup file for esp32
2023-12-31 09:55:02 +11:00
Andrew Tridgell
e5f1c6e27d
Tools: added MatekL431-Serial bootloader
2023-12-27 05:13:14 -07:00
Andrew Tridgell
e94ab529cc
waf: enable periph serial options in SITL periph
2023-12-27 05:13:14 -07:00
Andrew Tridgell
83cfcd841b
AP_Periph: added support for SERIAL_OPTIONS
...
allows for options and flow control per serial port
2023-12-27 05:13:14 -07:00
Andy Piper
da1066124e
IO_Firmware: fix occasional internal errors on startup
2023-12-24 14:39:05 +11:00
Andrew Tridgell
ff22c103b2
Tools: allow div1000 testing on all boards
2023-12-21 09:09:11 +11:00
Ryan Friedman
7f9992dd24
Tools: add REP-147 Global Position Control
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-20 02:37:01 +00:00
Andrew Tridgell
cd72dcb73f
AP_Periph: use a 1s deadline for packets
...
this fixes an issue with early discard of packets on MCUs with small
number of transmit slots and higher packet send count
2023-12-19 18:56:46 +11:00
Andrew Tridgell
23e67f7b53
waf: enable CAN deadlines in AP_Periph
2023-12-19 18:56:46 +11:00
Andrew Tridgell
388fab1ef8
Tools: added testing of _hrt_div1000()
2023-12-19 11:47:24 +11:00
Andrew Tridgell
e33f0269d3
Tools: improved benchmarking of time functions
2023-12-19 11:47:24 +11:00
Michael du Breuil
a45353b17f
autotest: Update tests for relay
2023-12-19 10:01:01 +11:00
Thomas Watson
14180b5b93
AP_HAL_SITL: deprecate and warn on legacy --uartX option use
2023-12-19 06:53:15 +11:00
Thomas Watson
de5b46e028
Tools: remove references to legacy UART order
...
Also delete some unused variables and update the completions.
2023-12-19 06:53:15 +11:00
Andy Piper
d90224280e
IO_Firmware: iofirmware for bdshot on f103.
2023-12-18 19:02:52 +11:00
Andrew Tridgell
59ec0a6b56
Tools: added test for InertialLabs EAHRS
2023-12-17 09:47:30 +11:00
Abu Mohammad
56cc78b853
Tools: added name to GIT_Success.txt
2023-12-14 19:28:05 +09:00
Peter Barker
fc9e6de99a
Tools: size_compare_branches.py: add canzero to linux boards
2023-12-13 14:30:46 +11:00
Peter Barker
575314d31e
Tools: mac: force install to avoid npm installation error
...
2023-12-11T23:04:39.8671350Z already exists. You may want to remove it:
2023-12-11T23:04:39.8679620Z rm '/usr/local/lib/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js'
2023-12-11T23:04:39.8682240Z
2023-12-11T23:04:39.8691710Z To force the link and overwrite all conflicting files:
2023-12-11T23:04:39.8700070Z brew link --overwrite node@18
2023-12-11T23:04:39.8726220Z
2023-12-11T23:04:39.8736300Z To list all files that would be deleted:
2023-12-11T23:04:39.8744090Z brew link --overwrite --dry-run node@18
... also remove hack to force update to succeed
2023-12-12 15:02:58 +11:00
Andy Piper
c93fd0b534
Tools: new standard tunes for Holybro QAV250 and X500v2
2023-12-12 11:33:51 +11:00
tomas.vrsansky
3dd27b7ac5
Tools: add hwdef files for Airvolute DCS2 onboard FMU
...
added ethernet config to hwdef
updated readme.md
hwdef: MAC parameters redefined according to ChibiOS
hwdef: add default params for Airvolute DCS2 on board FMU
update according to new changes in ChibiOS MAC driver
added defines to support ethernet communication
bootloaders: Airvolute-DCS2
2023-12-12 11:09:09 +11:00
Andy Piper
4a48dc2dde
IO_Firmware: fix adc reading
2023-12-11 20:46:28 +11:00
Andrew Tridgell
75fca4c171
Tools: fixed AerobaticsScripting test
...
we no longer allow open() on directories so that we match ChibiOS
FATFS
2023-12-11 18:00:38 +11:00
Andrew Tridgell
8f2911d0e2
waf: fix dependency on lwip code
2023-12-11 18:00:38 +11:00
bugobliterator
273e0795d0
Tools: ignore the error from brew update
2023-12-10 18:52:11 +11:00
Tiziano Fiorenzani
34ed4d1202
Tools: ros2 sitl package added ardupilot_msgs dependency
2023-12-08 03:08:50 +00:00
Randy Mackay
fdb1c26ae8
Tools: copter do-change-speed autotest checks takeoff
2023-12-06 08:44:52 +09:00
Ka Ru
e384c78904
Tools: add can-zero board
2023-12-05 07:41:06 -06:00
Peter Barker
59badf6947
autotest: fix message_has_field_values for strings
2023-12-05 20:15:21 +11:00
Peter Barker
7bd2e728f3
autotest: tidy Rover Scripting test
2023-12-05 20:15:21 +11:00
Ryan Friedman
bcd11701fa
Tools: Add MicroStrain7 support
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Bob Long
49dea0bd2e
autotest: add DCM climb rate test for quadplanes
2023-12-05 10:44:37 +11:00
Peter Barker
576dc9d05f
Tools: clamp empy to version 3
...
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Tom Pittenger
5bc3830451
autotest: don't set DHCP in SITL/CI because we can't
2023-12-02 08:17:52 +11:00
Iampete1
2c84799bb5
Tools: Scripts: Decode devid: add ICM45686
2023-11-30 14:26:26 -08:00
Clyde McQueen
ce824b725d
Sub: copy 4.1 parm defaults
2023-11-29 22:13:02 -03:00
Andrew Tridgell
11d0e36e36
Tools: added IMUOUT to build options
2023-11-30 07:05:02 +11:00
Andrew Tridgell
e04d1bba9e
Tools: added IMU decoder script
2023-11-30 07:05:02 +11:00
Andrew Tridgell
0a4eb251c6
AP_Periph: disable UART reboot check for non-debug builds
...
this was causing loss of bytes on GPS peripherals as the reboot check
swallowed data. The option is really only meant for debug builds to
make ./waf AP_Periph --upload work, so disable by default on non-debug
builds
we could just remove this option where it is in hwdef.dat files, but I
know quite a few peripherals are out-of-tree, so this catches the
error for those too
the symptoms were high GPS delta values
2023-11-29 12:53:01 +11:00
Tom Pittenger
7da434d1e0
AP_Periph: fix include order network build error
2023-11-29 12:29:19 +11:00
Tom Pittenger
2650137e8c
Tools: fix AP_Periph param docs generator
2023-11-29 12:11:14 +11:00
Peter Barker
11a5b78a0c
waf: correct sitl_periph_gps build
2023-11-29 07:36:47 +11:00
Ryan Friedman
adff2ed5d7
Tools: Add g++ 11.4 to whitelist
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 12:21:10 +11:00
Andrew Tridgell
afe0b849b9
Tools: test all 4 network port types
2023-11-28 12:18:55 +11:00
Andrew Tridgell
c2ea29a198
waf: added compat/posix lwip headers to path
...
this simplifies the networking code
2023-11-28 12:18:55 +11:00
Gone4Dirt
1355c60daf
autotest: Test both telemetry protocols for IE24 fuel cell
2023-11-28 11:27:14 +11:00
daniel.li
9f3595d573
Tools: Add Aocoda-RC-H743Dual target
2023-11-28 10:29:23 +11:00
Andrew Tridgell
fcb3d40ffd
Tools: sort serial ports for uploader
...
this ensures that the first port on linux is used, the 2nd port may
not have mavlink enabled
2023-11-27 13:33:27 -08:00
Peter Barker
5f1f3e5519
waf: keep EKF2 enabled in SITL
...
just because we don't compile this in doesn't mean we shouldn't continue to test it
2023-11-27 09:05:08 +11:00
Peter Barker
aa9bbd0fcb
waf: invert ekf2-disable command-line option
2023-11-27 09:05:08 +11:00
Tom Pittenger
496125a8cb
Tools: add AP_BATTERY_WATT_MAX_ENABLED to docs
2023-11-26 11:57:14 +11:00
Tom Pittenger
f870b63851
AP_Periph: move Network Passthrough to it's own file
2023-11-26 11:28:57 +11:00
Tom Pittenger
0b60777db6
AP_Periph: add Networking-UART passthrough
2023-11-26 11:28:57 +11:00
Andrew Tridgell
afc112295c
Tools: allow networking in SITL periph
2023-11-26 11:28:57 +11:00
Ryan Friedman
07cfd14828
Tools: remove enable-networking
...
* This flag was already removed, but the flags were left around
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-26 10:36:20 +11:00
yjuav
8d4611f22f
AP_Bootloader: reserve board id for YJUAV_A6Ultra
2023-11-25 13:47:52 -08:00
Ryan Friedman
ea237724c7
Tools: autotest: Fix junit printing for double str
...
* Can't concetenate a double to a string without fstring or a type
change
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-24 18:08:53 +11:00
Andy Piper
8718261f27
AP_Periph: add CAN_TERMINATE for software driven termination
2023-11-23 12:18:29 -08:00
Peter Barker
a8e2908e8b
autotest: build AP_Periph parameters in autotest
2023-11-23 12:17:49 -08:00
Peter Barker
6809f243f1
Tools: CI: build AP_Periph parameters in CI
2023-11-22 21:43:53 -08:00
Peter Barker
47a18596db
AP_Periph: correct parameter documentation
2023-11-22 21:43:53 -08:00
Peter Barker
4fd54dccaf
autotest: correct python function typing bug around Dict vs dict
2023-11-23 10:02:26 +11:00
Ryan Friedman
61e2c5fda1
Tools: ros2: Enforce black instead of flake8
...
* Removed dependency on ament_lint_common
* Removed all flake8 artifacts
* Ordered linters alphabetically
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 11:50:39 -08:00
Ryan Friedman
85172b5646
Tools: ros2: Run ament_black on all files
...
* This commit is files changed automatically by the black linter
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-22 11:50:39 -08:00
Pierre Kancir
8cd91b4789
Tools: add more tests for log downloads
2023-11-22 18:35:21 +11:00
Pierre Kancir
92c338f5d4
Tools: fix junit report and add firmware version on report
2023-11-22 18:32:19 +11:00
Pierre Kancir
c1c730a9bb
Tools: fix flake8 issue
2023-11-22 18:32:19 +11:00
Pierre Kancir
1d7d6328bb
Tools: make CI output junit xml results
2023-11-22 18:32:19 +11:00
Pierre Kancir
aaa56699dd
Tools: add junitparser to default install
...
skip-checks: true
2023-11-22 18:32:19 +11:00
Pierre Kancir
3d379c2b07
Tools: add junit output for autotest
2023-11-22 18:32:19 +11:00
Andrew Tridgell
d23c633b2c
Tools: added a test for serial over CAN
...
download a log with mavproxy from a serial over CAN port which then
comes out as UDP
2023-11-22 17:19:12 +11:00
Andrew Tridgell
d42e5d89fe
Tools: added DroneCAN serial to options and extract features
2023-11-22 17:19:12 +11:00
Andrew Tridgell
68f5c7b4dc
AP_Periph: fixed reply for serial tunnel
...
add in serial index
2023-11-22 17:19:12 +11:00
Andy Piper
942be4f2f8
autotest: update PIDNotches to use AP_Filter format
2023-11-21 13:26:23 +11:00
Andy Piper
61e91dde35
autotest: add PID notches test
2023-11-21 13:26:23 +11:00
Peter Barker
b83fc15759
Tools: tidy MSG_MCU_STATUS defines
2023-11-21 13:21:13 +11:00
Andrew Tridgell
f175cb19a1
Tools: added autotest for networking over UDP
...
downloads a log with mavlink over UDP from NET_P1 port
2023-11-17 10:54:24 -08:00
Andrew Tridgell
d5470ae466
Tools: disable networking in ccache test
...
this allows for fair comparison between Durandal and Pixhawk6X
2023-11-17 10:54:24 -08:00
Andrew Tridgell
7024f4d22a
Tools: change to --disable-networking for SITL
2023-11-17 10:54:24 -08:00
Andrew Tridgell
aec605b020
waf: enable networking by default when supported, and disable with --disable-networking
2023-11-17 10:54:24 -08:00
Andrew Tridgell
d625a1b13b
Tools: fixed EFI test suite disarm
2023-11-17 13:09:02 +11:00
Andrew Tridgell
f12166c2d4
Tools: added EFI hirth to options and features
2023-11-17 13:09:02 +11:00
Andrew Tridgell
6b2fe38ce8
Tools: fixed fuel flow EFI test
2023-11-17 13:09:02 +11:00
Peter Barker
6c0d540afe
autotest: add simulator Hirth EFI
2023-11-17 13:09:02 +11:00
Pradeep CK
32f6c1c53f
waf: disable ICE in SITL periph
2023-11-17 13:09:02 +11:00
Tom Pittenger
2c23ae970f
AP_Periph: allow showing SerialManager params without HAL_GCS
2023-11-16 10:58:50 -08:00
Ryan Friedman
ec2b47ba59
Tools: ros2: Enable networking when needed
...
* DDS was built without networking so UDP stopped working
* Networking is automatically added when you want network tests
* --enable-networking should only be on sitl
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-15 21:30:27 -08:00
Tom Pittenger
ba2cbbcebf
Tools/autotest: fix whitespace in sim_vehicle.py
2023-11-15 12:43:41 -08:00
Andrew Tridgell
bbe7ad484e
Tools: added --enable-networking and --enable-networking-tests to sim_vehicle.py
2023-11-15 12:43:41 -08:00
Andrew Tridgell
c4cf3268cb
waf: added --enable-networking and --enable-networking-tests
2023-11-15 12:43:41 -08:00
jfbblue0922
374573ae39
Tools/scripts: add AP_RANGEFINDER_JRE_SERIAL_ENABLED
2023-11-15 19:10:05 +09:00
Lokesh Ramina
6fe9090367
Tools : Decode_devid Add Compass QMC5883P, AK09915
2023-11-15 10:53:38 +11:00
Ryan Friedman
c4e2c4f7cb
Tools: Expect different GSOF detection string
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-14 10:26:01 +11:00
Nick Exton
55d7965379
autotest: Rover: fix return type for invalid DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Nick Exton
64e6a85e4b
autotest: Test when invalid tag is selected via DO_JUMP_TAG
2023-11-14 10:22:45 +11:00
Nick Exton
b96acbc97e
autotest: Test when invalid item is selected via DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Nick Exton
e2e05af914
autotest: Add test for handling of param2 (reset) of DO_SET_MISSION_CURRENT
2023-11-14 10:22:45 +11:00
Henry Wurzburg
d2984cbd99
Tools:reserve ATOMRCF405NAVI_DLX bd id
2023-11-13 12:09:09 +11:00
Peter Barker
18ea26768d
board_types.txt: reserve ID for FreeSpace PowerStack
2023-11-13 09:52:26 +11:00
Peter Barker
0143bf22d4
autotest: understand verbose and very_vrbose for wait_message_field_values
2023-11-12 08:19:49 +11:00
Cedric0489
63c198199b
Tools: added PixPilot-C3
2023-11-10 17:14:18 +11:00
Ryan Friedman
8b0bc101f2
Tools: ros2: Add missing socat dependency
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-10 17:11:45 +11:00
prathapjaga
409ee80e00
Update GIT_Success.txt
2023-11-09 10:25:35 -08:00
Peter Barker
8d03d7e15d
autotest: test gripper as both long and int
...
... and make use of context_collect for statustext
2023-11-08 18:15:25 +11:00
Peter Barker
b69879fe87
autotest: add test for battery reset
2023-11-08 18:14:27 +11:00
Peter Barker
387aa63b90
Tools: handle MAV_CMD_DO_SPRAYER as both long and int
2023-11-07 10:55:46 +11:00
yjuav
f7dd6dec96
hwdef: add YJUAV_A6SE_H743 board support
2023-11-07 10:31:20 +11:00
Peter Barker
5586daec49
Tools: add AP_TEMPCALIBRATION_ENABLED to build_options
2023-11-07 07:46:24 +11:00
Peter Barker
1f7e87ddf5
Tools: build_options.py: move baro-related thigns to new Baro section
2023-11-07 07:46:24 +11:00
Andrew Tridgell
78ae42c45f
Tools: added Web Tools landing page
2023-11-06 10:33:24 +11:00
bugobliterator
ec2e92de30
AP_Periph: solve a potential case where last_transmit_us can change inside irqs
2023-11-02 15:55:21 +11:00
Asif Khan
6528394797
Tools: custom build server support for SEND_FOV_STATUS
2023-11-02 15:54:37 +11:00
Peter Barker
0e2261832e
autotest: more test for emitted digicam command-long messages
2023-11-02 15:54:13 +11:00
Peter Barker
dc824506ae
autotest: add test for correct response to pressure calibration when no airspeed
2023-11-02 15:52:30 +11:00
Willian Galvani
40cdb5d01e
Autotest: improve flapping Sub test
2023-11-01 20:43:38 +11:00
Peter Barker
6439528d6a
autotest: augment tests for running the prearm checks
2023-11-01 19:30:44 +11:00
Andy Piper
c346694f71
bootloaders: SpeedyBeeF405v4
2023-11-01 19:25:19 +11:00
Iampete1
9ed5dfc768
Tools: autotest: Plane: TerrainRally: test terrain alt frame on rally point
2023-11-01 19:06:39 +11:00
Randy Mackay
24db18db32
Tools: correct copter mount test
2023-11-01 18:16:55 +11:00
yjuav
2baf9c3adb
AP_Bootloader: reserve board id for YJUAV_A6SE_H743
2023-11-01 16:53:16 +11:00
Peter Barker
29f5bce611
autotest: tidy testing of SentToComponents
2023-11-01 12:32:47 +11:00
Peter Barker
a53d583963
autotest: assert_received_message_values gets timeout and check_context
2023-11-01 12:32:47 +11:00
Iampete1
220ab515b7
autotest: plane: add MAV_CMD_NAV_ALTITUDE_WAIT wiggle check
2023-10-31 14:06:22 +11:00
Willian Galvani
24bed08c4e
Tools: Autotest: fix and re-enable Subs's MAV_CMD_DO_CHANGE_SPEED test
2023-10-31 09:23:26 +11:00
Daniel Li
7ddcd7ab0c
AP_Bootloader: Reserve Aocoda-RC board IDs and apply for H743DUAL/F405V3
2023-10-30 15:32:49 +11:00
daniel.li
6f2236e351
AP_Bootloader: Fix AIRVOLUTE format issue
2023-10-30 14:03:42 +11:00
Nick Exton
f6a2f2e535
autotest: Add Copter test to verify clearing ROIs
2023-10-30 08:28:23 +09:00
Peter Barker
6589290053
Tools: filter empty columns out of size_compare result
2023-10-27 17:41:30 +11:00
Peter Barker
a8bd417527
autotest: cope with rename of AutoTest to Testsuite
2023-10-27 14:17:09 +11:00
Peter Barker
00bbb61411
autotest: rename common.py to vehicle_test_suite.py
2023-10-27 14:17:09 +11:00
Peter Barker
0928927ab7
Tools: correct use of AP_RANGEFINDER_LUA_ENABLED
...
new, separate define to AP_SCRIPTING_ENABLED use was incomplete
2023-10-27 14:16:47 +11:00
Peter Barker
e5613de586
Tools: extract_features.py: add option to find feature by string-present-in-codebase
...
sometimes a features isn't represented by a symbol, but can be found with a specific string....
2023-10-27 14:15:53 +11:00
Peter Barker
a04bfff957
Tools: add AC_PAYLOAD_PLACE_ENABLED to build options
2023-10-27 14:15:53 +11:00
Peter Barker
e110ee5537
autotest: stop using removed MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS
2023-10-26 13:19:59 +11:00
Peter Barker
5e55e143cc
autotest: test MAV_CMD_CONTROL_HIGH_LATENCY as both long and int
2023-10-26 13:19:29 +11:00
Minderring
62af92ef8a
AP_Bootloader: add board id for MICOAIR405
2023-10-25 10:21:26 -07:00
Peter Barker
73be6c55f7
Tools: add Sagetech MXS simulator
2023-10-25 20:06:47 +11:00
rishabsingh3003
221628c396
Tools: Update new rangefinders in build_options.py
2023-10-25 10:03:54 +11:00
Andrew Tridgell
1d05196b52
waf: moved SKETCHBOOK to AP_BUILD_ROOT in ap_version.h
2023-10-25 09:50:08 +11:00
Peter Barker
f9165c786d
autotest: add test for Copter taking off above-home via command int
2023-10-24 12:59:19 +11:00
Peter Barker
7de20c09f2
autotest: test MAV_CMD_NAV_TAKEOFF on Copter
2023-10-24 12:59:19 +11:00
Andy Piper
de05ee442d
bootloaders: BETAFPV-F405 bootloaders
2023-10-24 11:44:54 +11:00
Peter Barker
c3c7784c23
autotest: add explicit tes for MAV_CMD_DO_FENCE_ENABLE
2023-10-24 11:37:18 +11:00
Michael du Breuil
4a5684dc8e
Tools: Add sw-spar-f407 bootloader
2023-10-24 09:48:13 +11:00
Peter Barker
c65675a64d
autotest: add an epsilon kwarg for assert_parameter_values
...
... and reimplement assert_parameter_vaue in terms of that function
2023-10-20 17:59:05 +11:00
muramura
68350130b0
SimOnHW: Incorporate POSHOLD by default
2023-10-20 07:57:21 +11:00
Peter Barker
9de147a11a
Tools: add script to filter output from size_compare_branches.py
2023-10-20 07:04:26 +11:00
Peter Barker
091c315fa4
autotest: add a test for quadplane Q_GUIDED_MODE
2023-10-19 09:16:45 +11:00
tomas.vrsansky
8d0c6c349f
AP_Bootloader: Airvolute DCS2 ID reservation
2023-10-19 09:10:26 +11:00
Peter Barker
0e458f3342
autotest: test DO_SEND_BANNER as both long and int
2023-10-18 19:49:17 +11:00
Peter Barker
69b4694cee
autotest: allow more time for disarm on vtol-state test
...
right on the edge
2023-10-18 19:49:06 +11:00
Peter Barker
7e1492d2b7
autotest: add test for MAV_CMD_NAV_TAKEOFF for quadplane using command_long
2023-10-18 19:49:06 +11:00
Peter Barker
e8be3a4e21
autotest: add explicit test for MAV_CMD_GET_HOME_POSITION
2023-10-18 19:48:23 +11:00
Peter Barker
a98def0b6d
autotest: add test for SET_ATTITUDE_TARGET headings
2023-10-18 11:17:32 +11:00
Peter Barker
fb87369c7e
Tools: Replay: correct compilation when AdvancedFailsafe not available
2023-10-17 18:21:04 +11:00
Peter Barker
7d9cd3c1de
Tools: accept LOITER_UNLIM and RETURN_TO_LAUNCH as command_int
2023-10-17 12:58:57 +11:00
Peter Barker
aaca600a94
autotest: test setting modes via COMMAND_INT and DO_SET_MODE
2023-10-17 10:41:36 +11:00
Peter Barker
90d39a6ee0
GCS_MAVLink: add build option for deprecated MISSION_REQUEST
...
replaced by MISSION_REQUEST_INT
2023-10-17 10:40:12 +11:00
Michael du Breuil
00a5c92635
AP_Periph: Rate limit EFI driver updates
...
Also remove the last update variables for features that were compiled
out.
2023-10-17 10:14:03 +11:00
Peter Barker
acf8162e5e
autotest: correct hook removal for Copter tests
...
these hooks were remaining active if the test failed
2023-10-16 12:15:29 +11:00
Peter Barker
918448031e
Vagrant: add Mantic Minotaur to available VMs
2023-10-16 09:12:42 +11:00
Peter Barker
f5d4122959
Tools: adjust install_prereqs_ubuntu.sh to handle Mantic
2023-10-16 09:12:42 +11:00
Andrew Tridgell
823a917ae1
autotest: added Plane.TerrainRally test
...
reproduces the issue from
https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-14 10:46:00 +11:00
Andy Piper
4c77037572
AP_Bootloader: add SpeedyBeeF405v4
2023-10-13 20:04:26 +11:00
Andrew Tridgell
4709a1592f
Tools: rebuild IO firmware
2023-10-13 09:42:25 +11:00
jfbblue0922
0f1e766269
AP_HAL_ChibiOS: JFB110 board definition
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-10-12 17:03:04 +11:00
Peter Barker
566371837c
Tools: add and use HAP_PERIPH_ENABLE_RTC
2023-10-11 19:17:27 +11:00
Peter Barker
1ea494a159
waf: disable RTC on sitl_periph_gps
2023-10-11 19:17:27 +11:00
Peter Barker
56e9be120a
autotest: don't build examples for fmuv2
...
needs extra defines as we kill features from it
2023-10-11 19:09:46 +11:00
Peter Barker
c942dad35e
Tools: allow Plane to run MAV_CMD_MISSION_START as long and int
2023-10-11 19:05:56 +11:00
Peter Barker
28a141b423
autotest: add autotests for MAV_CMD_SET_SOURCE_SET mavlink command
2023-10-11 18:37:02 +11:00
Peter Barker
e2531a93f2
Tools: accept MAV_CMD_CONDITION_YAW as both long and int in Sub
2023-10-10 08:32:54 +09:00
rishabsingh3003
48224dad92
Tools: add bootloader for MatekL431-ADSB
2023-10-09 16:18:13 -07:00
Andrew Tridgell
65099d0626
Tools: allow Ohm units in parameters
2023-10-08 11:04:21 +11:00
Peter Barker
54c5809428
Tools: add InterActTest to show interaction with automated setup
2023-10-06 13:03:53 +11:00
Peter Barker
675c6e27e9
autotest: fix interact
2023-10-06 13:03:53 +11:00
Peter Barker
69cf34ad62
bootloaders: freshen CubeOrangePlus bootloader
...
notably this includes flash-from-SD-card support
2023-10-05 18:55:48 +11:00
Peter Barker
473d16b39a
bootloaders: update CubeOrange bootloader to include flash-from-sd support
...
this is just a rebuild of this firmware; the changes have been in the hwdef for a very long time
2023-10-05 12:53:36 +11:00
Anthony Luo
695831628a
Tools: document airspeed params
2023-10-05 08:18:44 +11:00
Huibean
293ab353db
Tools: board_types.txt: add Vimdrones board types
2023-10-05 08:18:27 +11:00
Peter Barker
3dfd06cff2
Tools: add tests for MAV_CMD_DO_LAND_START for both int and long
2023-10-04 19:04:25 +11:00
Peter Barker
1f8df2204f
bootloaders: refresh Pixhawk6X bootloader
...
... and include the elf file so we can try to tell what's in the bin
2023-10-04 19:03:24 +11:00
Peter Barker
4adc3fb25f
autotest: test MAV_CMD_DO_AUX_FUNCTION as both COMMAND_LONG and COMMAND_INT
2023-10-04 19:01:22 +11:00
Peter Barker
938ec84fa7
autotest: add (disabled) sub test for MAV_CMD_DO_CHANGE_SPEED
...
this doesn't work on master either...
2023-10-04 18:36:52 +11:00
Peter Barker
748dd22f4e
AP_Periph: instantiate AP_AHRS even if not in SITL
...
Closes potential problem with HerePro if it calls AP_AHRS methods
2023-10-04 18:10:58 +11:00
Peter Barker
f72bfcc373
autotest: add upload_rally_points_from_locations
2023-10-03 23:55:22 +11:00
Peter Barker
41518a4fc0
autotest: add test for Sub MAV_CMD_MISSION_START
2023-10-03 23:54:40 +11:00
Peter Barker
d74947db10
Tools: handle message interval commands as both long and int
2023-10-03 10:12:21 +09:00
Tom Pittenger
3013a7959d
Tools: add build_option - ODID (OpenDroneID/RemoteID)
2023-10-03 10:17:19 +11:00
Tom Pittenger
9cc3d71c50
Tools: add extract_features Check Firmware and ODID
2023-10-03 10:17:19 +11:00
Andrew Tridgell
af061d41ae
waf: enable ADSB in SITL periph
2023-10-02 21:45:28 +11:00
Andrew Tridgell
a60c449833
autotest: enable ADSB on ADSB SITL periph
2023-10-02 21:45:28 +11:00
Andrew Tridgell
7aa1f5af22
waf: enable mavlink bindings in SITL periph
2023-10-02 21:45:28 +11:00
Andrew Tridgell
bb004c499f
AP_Periph: fixed ADSB peripheral to send heartbeat
...
and remove duplicated mavlink bindings
2023-10-02 21:45:28 +11:00
Andrew Tridgell
8e7c70a0f2
AP_Periph: support mavlink based simulated devices in SITL periph
2023-10-02 21:45:28 +11:00
Andrew Tridgell
13765ec9ee
AP_Periph: fixed array delete in batt_balance
2023-10-02 21:45:28 +11:00
Andrew Tridgell
50ae89ed8c
AP_Periph: support per-cell info in periph battery monitoring
...
useful for SMBus batteries
2023-10-02 21:45:28 +11:00
Peter Barker
1641aa42ec
autotest: add test for MAV_CMD_DO_LAND_START
2023-09-29 13:55:32 +10:00
Peter Barker
3a465829b3
Tools: accept several mode-changing commands via command_int
...
... as well as via command_long
2023-09-29 08:56:50 +10:00
Peter Barker
e2895c08ae
autotest: rename PayLoadPlaceMission to PayloadPlaceMission
2023-09-28 17:13:38 +10:00
Peter Barker
5cb20abaa7
autotest: rename get_message_rate to measure_message_rate
2023-09-28 13:43:59 +10:00
Andy Piper
e068847185
AP_Bootloader: update board id for TMotor H7
2023-09-28 07:38:43 +10:00
Peter Barker
ad70237013
Tools: handle MAV_CMD_DO_FLIGHTTERMINATION as both long and int
2023-09-27 11:27:45 -07:00
Michael du Breuil
4381c17cb2
AP_Periph: Fix bad conversion of APD ESC telemetry
...
le16toh() returns an unsigned type, which keeps the number as positive
when cast to float. It needs to be explictly converted to a signed
number first.
Tested with real hardware.
2023-09-27 08:40:10 -07:00
Peter Barker
67b9a50153
autotest: add test for Plane do-go-around
2023-09-27 17:37:55 +10:00
Paul Riseborough
acfb5ccc05
Tools: Add test for quadplane forward motor use and pitch limiting
2023-09-27 11:43:45 +10:00
Peter Barker
fa6ec69bf1
autotest: add tests for Sub NAV_LAND and NAV_LOITER_UNLIM via mavlink
2023-09-26 11:38:28 +10:00
Peter Barker
489bb2c897
autotest: add test for MAV_CMD_AIRFRAME_CONFIGURATION
2023-09-26 11:37:42 +10:00
Peter Barker
e8792eec68
autotest: add test for enabling autotune via mavlink command
2023-09-26 11:36:57 +10:00
Peter Barker
91f457d4eb
autotest: test CMD_CONDITION_YAW for Copter as COMMAND_INT and COMMAND_LONG
2023-09-26 11:35:55 +10:00
Peter Barker
8cac60ca88
autotest: tweak test_mount_pitch win condition
...
we only need to see the sample once when hold is 0
2023-09-26 08:46:56 +10:00
Henry Wurzburg
224c1ee2a9
Tools:correct desc of batt->esc param
2023-09-22 23:10:21 -07:00
Peter Barker
5298187aaa
autotest: print command number when sending commands
2023-09-21 21:04:17 +10:00
Peter Barker
d946877fd4
autotest: fix DO_CHANGE_SPEED test
...
we could arrive back at our home location and stop before enough time passed to satisfy the test. i.e. doing exactly the same steps out and back again without allowing for differences in timing leads to random failure
2023-09-21 21:03:25 +10:00
Peter Barker
a26ebd3600
Tools: build_options.py: add option to remove AP_Tuning from build
2023-09-21 07:07:58 +10:00
Peter Barker
712237ec3a
autotest: add test for Plane MAV_CMD_DO_PARACUTE
2023-09-20 17:37:59 +10:00
Peter Barker
613524d7d5
autotest: Copter: add test for DO_CHANGE_SPEED in guided mode
2023-09-20 15:44:38 +10:00
Peter Barker
c352de2dd8
autotest: add test for Copter MISSION_START mavlink command
2023-09-20 09:39:31 +10:00
Peter Barker
d7a9e40395
autotest: reuse Copter motor test for QuadPlane
2023-09-19 20:31:03 +10:00
Peter Barker
164b7328bd
Tools: add COMPASS_CAL_ENABLED to build_options.py
2023-09-19 16:54:59 +10:00
Tom Pittenger
ca7c410b8b
AP_Periph: add CAN3 to param CAN_MIRROR_PORTS desc
2023-09-19 12:17:28 +10:00
Michael du Breuil
6897dd08ef
Tools: AP_Periph: Add CAN_MIRROR
...
This allows us to mirror CAN traffic between ports on demand.
2023-09-19 12:17:28 +10:00
Henry Wurzburg
5bb96d31e3
Tools: limit AFS to Plane and fix symbol lookup
2023-09-19 11:19:06 +10:00
Peter Barker
f22818a4b0
autotest: run reboots with cmd_int
2023-09-19 11:16:10 +10:00
Peter Barker
5ed1344115
Tools: handle MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN as INT or LONG
2023-09-19 11:16:10 +10:00
Peter Barker
8e4755f202
Tools: handle DO_PARACHUTE as both command_long and command_int
2023-09-19 11:14:29 +10:00
Randy Mackay
2835deb0de
Tools: autotest FlyEachFrame yaw rate relaxed
2023-09-19 10:53:04 +10:00
Randy Mackay
3f531d18bc
Tools: SITL default tricopter yaw servo trim fix
2023-09-19 10:53:04 +10:00
Randy Mackay
df0dad79bf
Tools: SITL default copter yaw tune improvement
2023-09-19 10:53:04 +10:00
Tom Pittenger
ea207c4b4a
AP_Periph: add AP_PERIPH_SAFTEY_SWITCH_ENABLED
2023-09-19 09:29:26 +10:00
Henry Wurzburg
6d1fed9657
Tools:add qualifier for ADSB type in readme
2023-09-18 13:41:04 -07:00
Peter Barker
23150a0830
autotest: loosen constraint on achieved angles
...
apparently within 5 degrees is asking too much....
2023-09-18 20:40:18 +10:00
Peter Barker
ecbad5b35a
autotest: add test for ArduPlane fly-inverted mission item
2023-09-17 09:54:51 +10:00
Andrew Tridgell
faad074abd
AP_Periph: fixed debug bitmask docs
2023-09-14 17:08:10 +10:00
Michael du Breuil
ee4e5766fb
Tools: Add sw-nav-f405 bootloader
2023-09-14 10:56:20 +10:00
Peter Barker
1a97d222d0
autotest: quadplane: fix race condition on RTL heartbeats
2023-09-14 09:04:41 +10:00
Peter Barker
f30dcdc0c3
autotest: remove really long debug line
...
So this was over 255*50 bytes long..... meaning the sequence number overflows...
2023-09-14 09:04:18 +10:00
Peter Barker
2319ba5e58
autotest: stop echoing autopilot statustext messages back to autopilot
...
These are already logged on the autopilot as MSG messages (without the extra stuff we tack on.
They are also already in our .tlog because we just received them via statustext....
2023-09-14 09:04:18 +10:00
Peter Barker
5a0b3f7d53
autotest: send all of progress message to autopilot
...
sending only the very first portion of these makes the feature less useful, so use statustext chunking feature to send all of message
2023-09-14 09:04:18 +10:00
Peter Barker
cb2ea97f66
autotest: add test for DO_VTOL_TRANSITION
2023-09-13 21:25:14 +10:00
Peter Barker
1036244c65
autotest: tidy and re-enable QAUTOTUNE test
...
.... this one seems to have been accidentally removed at some stage...
2023-09-13 19:43:21 +10:00
Peter Barker
5e9c2a04d0
Copter: allow motor tests to be triggered with COMMAND_INT
2023-09-13 18:14:31 +10:00
Peter Barker
219a13e45f
autotest: tweak wait-for-gps-health
...
show how long we had to wait, ensure we don't work with stale data
2023-09-13 17:24:07 +10:00
Peter Barker
0918ddc05a
autotest: allow lots of time for GPS rate to recover after simple gyrocal
...
simple gyro cal makes the GPS units go unhealthy as they are
not maintaining their update rate (gyro cal is synchronous
in the main loop). Usually ~30 seconds to recover...
2023-09-13 17:24:07 +10:00
Peter Barker
8b59ad9006
autotest: add tests for MAV_CMD_PREFLIGHT_CALIBRATION
2023-09-13 17:24:07 +10:00
Andy Piper
a242a4750c
bootloaders: ARK_CANNODE bootloaders
2023-09-13 17:06:02 +10:00
Andy Piper
1e7aff132f
bootloaders: mRoControlZeroOEMH7 bdshot version
2023-09-13 17:04:24 +10:00
Andy Piper
e000e57572
bootloaders: bootloaders for Flywoo F405 Pro
2023-09-13 17:03:51 +10:00
Peter Barker
909401b15f
autotest: loosen constrain on proximity distance message
...
the floating/double changes appear to have cause this to start to flap
2023-09-13 12:46:58 +10:00
Ryan Friedman
fc924857d3
Tools: ROS2 add missing runtime dependency for running ardupilot_sitl
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-13 11:50:15 +10:00
Peter Barker
f2f7f7de3b
autotest: add test for Plane MAV_CMD_DO_VTOL_TRANSITION mission item
2023-09-13 11:48:27 +10:00
Tom Pittenger
2365f5ca1a
AP_Periph: Update BATT_HIDE_MASK desc
...
Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>
2023-09-13 08:16:45 +10:00
Tom Pittenger
6fb94828fe
AP_Periph: add param BATT_HIDE_MASK
2023-09-13 08:16:45 +10:00