Commit Graph

8441 Commits

Author SHA1 Message Date
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