Commit Graph

6621 Commits

Author SHA1 Message Date
Willian Galvani 55d8ba647c Tools: Scripts: firmware_version_decoder: add --expected-hash for running in CI 2022-02-15 10:38:28 +11:00
Peter Barker 0cd5bdebfb autotest: reduce Copter speed requirement in DO_CHANGE_SPEED 2022-02-15 08:29:10 +09:00
Peter Barker fdae5f3ccc autotest: correct wait_groundspeed method 2022-02-14 14:07:47 +11:00
Peter Barker dc312260de autotest: add test for DO_CHANGE_SPEED 2022-02-14 14:07:47 +11:00
Randy Mackay 61871b1d7b Tools: disable Plane Landing-Drift test 2022-02-12 08:28:44 +09:00
Randy Mackay 10f4500584 Tools: remove SPORT from autotests 2022-02-11 16:11:39 +09:00
Patrick José Pereira 4525627664 Tools: scripts: Update firmware version decoder
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-02-11 09:21:00 +11:00
Andrew Tridgell e56fbfd69b Tools: update IO firmware 2022-02-11 08:10:25 +11:00
Andy Piper 10d99a52eb AP_Bootloader: allow external flash load in middle 2022-02-09 12:47:55 +00:00
Andy Piper 960c0d0f8b scripts: allow more time for external flash verification
create ssbl uploader script for SPRacingH7
2022-02-09 12:47:55 +00:00
Andy Piper 3f7a726970 waf: add linker map on linking 2022-02-09 12:47:55 +00:00
Andy Piper f6c07df162 Tools: make CPUInfo test fairer, add data for external flash
fix CPUInfo on linux
make cache disabling optional in CPUInfo
2022-02-09 12:47:55 +00:00
Andy Piper 55db600c10 bootloaders: add DevEBoxH7v2 bootloader for external flash 2022-02-09 12:47:55 +00:00
Andy Piper 46ae9d2c34 autotest: TasksV1 -> TasksV2 2022-02-09 12:47:55 +00:00
Andy Piper 2beb9cfc7d waf: rename EXTERNAL_PROG_FLASH_MB to EXT_FLASH_SIZE_MB 2022-02-09 12:47:55 +00:00
Peter Barker a7d3324759 autotest: increase timeout while under Valgrind 2022-02-09 22:20:31 +11:00
Peter Barker e3631aca91 autotest: print distance remaining while waiting for current wp 2022-02-09 19:27:21 +11:00
Peter Barker 13d5b00a22 autotest: increase timeout in Baro-Drift test
timeout was being hit on the autotest server

Also wait_disarmed isntead of wait for statustext You get a bit more information about what's going on this way
2022-02-09 19:27:21 +11:00
Peter Barker 410507d54d waf: include integer version of GIT_VERSION (hash) 2022-02-09 18:32:38 +11:00
Peter Barker a897fbc6db locations.txt: add KalaupapaCliffs and LakeGeorgeLookout
good for large differences in terrain vs home alt
2022-02-09 17:01:07 +11:00
Peter Barker c12e0fa3af autotest: reset rather than reboot if required on test fail 2022-02-09 17:01:07 +11:00
Samuel Tabor dbc63f7b0d autotest: Improve Landing-Drift 2022-02-08 13:25:17 +11:00
Peter Barker b45680c9ee Tools: update build_autotest.sh to reflect server content
these times have had to move out as our builds are taking a long time
now
2022-02-08 12:08:17 +11:00
Peter Barker a81a1fb19f Tools: build ArduPilot against all.xml not ardupilotmega.xml 2022-02-08 11:00:41 +11:00
Peter Barker d086b5e9fc autotest: add test for DO_CHANGE_ALTITUDE 2022-02-08 10:59:13 +11:00
Peter Barker b7df2bce5f Tools: provide default implemenation of handle_change_alt_request
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.

This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Joshua Henderson 2ea33324a0 AP_Periph: add define for BARO_ENABLE 2022-02-08 10:41:02 +11:00
Joshua Henderson de4727ed87 Bootloaders: add f405-MatekAirspeed 2022-02-08 10:41:02 +11:00
Gone4Dirt a11634e1e8 Tools: autotest: quadplane: add weathervane test 2022-02-08 10:38:16 +11:00
RuffaloVM 0a98561a9d Autotest : correct spelling on ardupilot 2022-02-07 21:20:48 +11:00
Peter Barker 6eba851b00 Revert "Tools: update reltopdir function to use relpath()"
This reverts commit 392911fc62.
2022-02-07 14:13:08 +11:00
Bill Geyer 12210f9066 Tools: tradheli-change param name from _VFF to _FF 2022-02-04 08:03:38 +09:00
Tatsuya Yamaguchi 08438c30a6 Tools: autotest for takeoff altitude 2022-02-03 21:33:05 +11:00
Willian Galvani 5cb1444b1d Tools: use path relative to current directory to load parameters 2022-02-02 08:37:17 -08:00
Joshua Henderson b3e78e1e8d ardupilotwaf: grouped_program use nested dicts 2022-02-02 19:36:39 +11:00
Joshua Henderson 0339f09b07 AP_Periph: use AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2022-02-02 18:45:59 +11:00
Willian Galvani 6e91ae554a Tools: use relative paths for parameter files 2022-02-01 17:35:26 +11:00
Willian Galvani 392911fc62 Tools: update reltopdir function to use relpath() 2022-02-01 17:35:26 +11:00
Willian Galvani 2b9d56c252 Tools: embed default.param files for Linux boards 2022-02-01 17:35:26 +11:00
Hwurzburg 9c91e3c793 Tools: update option names in BATTMonitor in prep for expansion 2022-02-01 12:35:03 +11:00
Marek Šuppa 49e88b7aea Tools: add missing comma to sim_vehicle.py
* Add missing comma in `sim_vehicle.py`.

Signed-off-by: mr.Shu <mr@shu.io>
2022-01-31 08:54:01 +09:00
Andrew Tridgell df9f4fcddc Tools: update IO fw with larger SBUS frame gap 2022-01-29 15:09:29 +11:00
Randy Mackay d1bf4f1c1e Tools: autotest for OpticalFlowCalibration 2022-01-29 08:26:12 +09:00
Bill Geyer 2d81e01b10 Tools: improve tradheli sitl default params 2022-01-26 22:15:09 -05:00
Andrew Tridgell c2dd7f4c9e AP_Periph: fixed LED setup call 2022-01-27 08:26:47 +11:00
Peter Barker c83446a359 Tools: add quick-and-dirty EKF-status-change dump tool 2022-01-26 18:55:11 +11:00
Andrew Tridgell 4e6d3030b6 AP_Bootloader: fixed ID conflict
AP_HW_MRO_MAXXIUM seems to be unused
2022-01-25 15:13:59 +11:00
VMsunghwan 5d29d945e0 autotest : Update receive
recieve -> receive
2022-01-24 18:34:21 +11:00
Michelle Rossouw 1d8a62f064 Tools: Add gen date to build_sizes script, make flash size of -1 not turn up as low flash, some formatting fixes. 2022-01-21 13:26:52 +11:00
bugobliterator 9469817e03 AP_Periph: send epoch time for both message and GNSS timestamp 2022-01-20 17:26:35 +11:00
Peter Barker 0af97b5bdb Tools: test_build_options.py: test disabling all options 2022-01-19 18:33:07 +11:00
ot0tot 13050b325b Tools: add JHEMCU GSF405A bootloader and ID 2022-01-19 18:31:05 +11:00
ot0tot 1a08a1e1a1 hwdef: add support for JHEMCU GSF405A 2022-01-19 18:31:05 +11:00
Josh Henderson a60c1168ef Autotest: Helicopter add airspeed driver test 2022-01-19 18:21:32 +11:00
Joshua Henderson 92aff3bded AP_Periph: use airspeed.set_log_bit() 2022-01-19 18:21:32 +11:00
Peter Barker c056a7948d Tools: move Airspeed up to AP_Vehicle, provide dummy 2022-01-19 18:21:32 +11:00
Josh Henderson 2f7e07069f Replay: move AP_Airspeed to AP_Vehicle 2022-01-19 18:21:32 +11:00
Joshua Henderson 8580a0e661 Autotest: Copter test_mount correct set_attitude use 2022-01-19 18:03:17 +11:00
Peter Barker 43b4f86485 waf: use GIT_VERSION from env if available
This allows for reproducible builds to be produced
2022-01-18 11:30:41 +11:00
Peter Barker 2fe709a59c Tools: build_ci.sh: use valid hexadecmail digits in GIT_VERSION
building AP_Periph requires these to be able to be converted into a
number
2022-01-18 11:30:41 +11:00
Peter Barker 09dac0cc8a Tools: board_list.py: add AP_PERIPH_HEAVY into is-periph check 2022-01-18 11:07:28 +11:00
Peter Barker a74795bc67 Tools: board_list.py: remove Pixracer-periph from blacklist 2022-01-18 11:07:28 +11:00
Takeshi Yamada e770e2fba9 Tools: added name to GIT_Success.txt 2022-01-17 08:35:37 +11:00
VMsunghwan 105fc36da5 autotest : correct in typos line 8549 Receving -> Receiving 2022-01-15 13:11:58 +11:00
Peter Barker ddcd6e6244 Tools: add optical flow options to build_options.py 2022-01-14 11:49:01 +11:00
Peter Barker ef11400e13 Tools: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Peter Barker dfea221a49 board_list.py: tidy 2022-01-13 14:44:23 +11:00
Peter Barker 7a9474749a build_options.py: correct GPS Drivers section
must be within closing ] for array
2022-01-13 09:45:08 +11:00
Peter Barker 62285d51a8 build_options.py: remove HAL_MPPT_PACKETDIGITAL_CAN_ENABLE 2022-01-12 23:09:17 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 84e10f035d autotest: correct typos in callisto.json comments 2022-01-12 16:47:42 +09:00
Iampete1 00eca20cf4 Tools: logger metadata: emit rst discription on new line 2022-01-12 18:17:58 +11:00
Joshua Henderson 7cb88554da Autotest: copter add test for mount_mode 2022-01-12 18:03:27 +11:00
Hwurzburg 1948073438 Tools: add build options for GPS backends 2022-01-12 16:17:21 +11:00
Pierre Kancir d9c562cfae Tools: add HAL_COVERAGE_BUILD for coverage build 2022-01-12 12:31:56 +11:00
Pierre Kancir 78c4918b32 Tools: expose coverage parameter on sim_vehicle.py 2022-01-12 12:31:56 +11:00
Peter Barker b737d113c9 Tools: correct board_list.py for being copied into root dir in autotest 2022-01-12 10:28:17 +11:00
Peter Barker 7bb36a5630 autotest: correct path to source build_sizes.py script
This script is run on the build server from the APM root directory; this
bit copies it there before we change branches in the repo
2022-01-12 10:28:17 +11:00
Peter Barker 50d30ae045 autotest: reformat things-to-copy list 2022-01-12 10:28:17 +11:00
Andrew Tridgell fbc7962723 autotest: fixed GripperMission test in rover
the Mission Complete was coming too quickly after the gripper release
2022-01-12 07:54:46 +11:00
Andrew Tridgell 2193f18ad7 autotest: fixed DCM fallback test
give equivalent lag to old test
2022-01-12 07:54:46 +11:00
Andrew Tridgell 0ae04ba9dc autotest: updated frame params for SIM_GPS_LAG_MS 2022-01-12 07:54:46 +11:00
Peter Barker 29b8b12538 autotest: add test_build_options to test each entry in build_options.py 2022-01-11 13:24:25 +11:00
Andrew Tridgell da6acaad57 Tools: build new f405-MatekGPS bootloader 2022-01-11 11:33:30 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 15e99e306d Tools: add more categories and reorganize a bit
Should be NFC, it does not add nor remove options
2022-01-11 11:07:59 +11:00
Andy Piper 891ffa7b8c AP_Bootloader: adjust board id of KakuteH7Mini 2022-01-11 10:58:55 +11:00
Andy Piper 99ad242dc6 bootloaders: add KakuteH7Mini 2022-01-11 10:58:55 +11:00
Peter Barker 8fb28ac906 autotest: build-with-disabled-features.py: flake8-clean 2022-01-10 21:21:52 +11:00
Pierre Kancir ae2d3a8570 Tools: add blue and bbbmini to firmware server 2022-01-09 11:34:59 +11:00
Hwurzburg a774745a2f Tools: Add OSP field location 2022-01-09 10:51:39 +11:00
Peter Barker c8780792d4 autotest: loosen position constraint on SET_POSITION_TARGET_LOCAL_NED test 2022-01-08 13:59:19 +11:00
Michelle Rossouw 62bd62e9b7 Tools: build_sizes move to folder, no red for old stable/beta, add hyperlink for boards 2022-01-08 13:54:08 +11:00
Peter Barker 7cd58e59c5 Tools: fix define name HAL_CRSF_TELEM_TEXT_SELECTION_ENABLED 2022-01-08 06:18:39 +11:00
Peter Barker fb94cc4092 Tools: use define for define rather than default... 2022-01-08 06:18:39 +11:00
Michelle Rossouw 7f2d95900d Tools: Add blimp link to firmware homepage 2022-01-07 22:54:13 +11:00
Michelle Rossouw b58ecff90e Tools: Add blimp log message documentation to be built 2022-01-07 22:54:13 +11:00
Peter Barker 62df8facd9 autotest: fix rover POSITION_TARGET_LOCAL test 2022-01-07 22:47:19 +11:00
Peter Barker d6f4f54c0a Tools: include brand name and manufacturer in APJ file, use for manifest 2022-01-07 22:46:52 +11:00
Peter Barker 21c42e3123 Tools: board_list.py: generate from hwdef files 2022-01-07 22:46:52 +11:00
khanasif786 6095992f14 Autotest:Copter test fix for tri
fixed excessive yaw rate for 'tri' frame
2022-01-06 19:04:50 +11:00
Peter Barker a58e808af8 autotest: fix Rover gripper mission test
We can lose the statustext when getting current time
2022-01-06 17:48:30 +11:00
Michelle Rossouw 24f8e03bf6 Tools: Auto-build blimp firmwares 2022-01-06 10:06:33 +11:00
Peter Barker 50942b2df7 Tools: add script returning build options 2022-01-05 19:25:16 +11:00
Michelle Rossouw 38cd386d44 Tools: Add css, red/yellow colour and filtering 2022-01-05 19:03:22 +11:00
Andy Piper 6b9d24e033 bootloaders: add BeastF7V2 2022-01-05 18:50:41 +11:00
Andy Piper d1298c751b AP_Bootloader: add BeastF7v2 2022-01-05 18:50:41 +11:00
Andy Piper 2fcec7d03f scripts: add BeastF7v2 2022-01-05 18:50:41 +11:00
Peter Barker 427c08db26 autotest: add methods for asserting received mavlink data 2022-01-04 14:37:18 +11:00
Joshua Henderson ac4304e2c4 Tool: ardupilotwaf fix duplicate reporting from build summary 2022-01-03 12:40:42 +11:00
Joshua Henderson e610acf998 Tools: SITL Copter-heli.parm remove WP_YAW_BEHAVIOR 2022-01-01 23:22:15 -05:00
Andrew Tridgell e5888d42d9 Tools: update build_sizes.py from master 2021-12-31 11:11:34 +11:00
Andrew Tridgell 7e2b010458 Tools: a script to list builds with flash free
example: https://firmware.ardupilot.org/Tools/BuildSizes/builds.html

Pair programmed with MichelleR
2021-12-31 11:11:34 +11:00
Andy Piper d307b15c2d Tools: add BMI270 to decode_devid.py 2021-12-31 09:25:29 +11:00
Andrew Tridgell b901117ab9 Tools: added missing periph builds 2021-12-30 06:03:14 +11:00
MallikarjunSE 02c0ff25c6 Tools: Reserve board id for SierraF412 2021-12-29 10:12:40 +11:00
Andrew Tridgell d62e946d48 AP_Periph: fixed temperature reporting
more common to have ESC temp than motor temp, so report ESC
temperature
2021-12-28 16:30:14 +11:00
Josh Henderson d410533424 Tools: fix Build_Summary when more than one targert 2021-12-28 10:27:10 +11:00
Samuel Tabor 71596c2c9f autotest: Add a test for GLIDE_SLOPE_THR 2021-12-27 11:27:52 +11:00
Shiv Tyagi 442e783214 Tools: fix DataFlashSITL autotest
Co-Authored-By: Peter Barker <7077857+peterbarker@users.noreply.github.com>
2021-12-25 09:14:31 +11:00
mateksys ac49b2a3c8 Tools: add MatekF405-TE bootloader and autobuild 2021-12-22 18:47:37 +11:00
Andy Piper dbcc8215fa autotest: setup FFT harmonics correctly for dynamic harmonics.
octacopter notches test
2021-12-22 18:13:38 +11:00
Josh Henderson 74fa47a3bb Tools: fix flash size reporting due to crash_log 2021-12-21 20:33:00 +11:00
Andrew Tridgell 244f0f3e45 Tools: auto-build PixC4-Jetson 2021-12-21 13:05:34 +11:00
Brad Stinson 55d82a4cd8 Tools: build 8MHz IO firmware 2021-12-21 13:05:34 +11:00
Brad Stinson 0b7d7017e6 Tools: add prebuilt iofirmware for f103 8MHz 2021-12-21 13:05:34 +11:00
Peter Barker 7ebf45616d Tools: scripts: copy param_parse.py JSON output as part of build_parameters.sh
This will populate https://autotest.ardupilot.org/Parameters/ArduCopter/
with the json output
2021-12-21 11:55:51 +11:00
Peter Barker dfa373c1d7 autotest: param_parse.py: correct JSON output 2021-12-21 11:55:51 +11:00
bugobliterator a9c78fe7e3 Tools: also test out directory working in one of the build tests 2021-12-20 12:47:25 +11:00
bugobliterator 9eb3a976bc waf: allow build with ardupilot as a module 2021-12-20 12:47:25 +11:00
Peter Barker 8527fd42d1 autotest: sim_vehicle.py: accept lower-case plane etc for --vehicle 2021-12-19 14:50:09 +11:00
Shiv Tyagi d1eedcb4c3 AP_Periph: remove PacketDitial from AP_CANManager parameter description
We have removed the class AP_BattMonitor_MPPT_PacketDigital, we should also remove these
2021-12-17 20:24:25 +09:00
Peter Barker 2cdb082139 autotest: add test for estop-on-rc-switch 2021-12-17 09:58:37 +11:00
Peter Barker c9cc97edbd autotest: augment estop test with post-reboot component 2021-12-17 09:58:37 +11:00
Peter Barker 474c42f9d3 autotest: move assert_prearm_failure up 2021-12-17 09:58:37 +11:00
Josh Henderson 317d32574c Tools: pretty_diff_size, show total flash cost 2021-12-16 14:26:04 +11:00
Samuel Tabor 75ee4b07fe autotest: Add test for soaring speed-to-fly feature 2021-12-16 07:12:24 +11:00
Peter Barker ff77a17fdd autotest: param_parse.py: allow CopyValuesFrom in vehicle directories 2021-12-16 07:11:33 +11:00
Peter Barker 7eb6fdbecd Tools: param_metadata: add support from CopyValuesFrom 2021-12-15 09:54:06 +11:00
Andrew Tridgell ea4c929c50 Tools: added decoding of new v3 Invensense sensors 2021-12-14 11:38:36 +11:00
Peter Barker 1d4b13af08 AP_Periph: correct compilation when both periph-adsb and GCS enabled
Get lots of these otherwise:

/home/pbarker/gcc/gcc-arm-none-eabi-10.3-2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: lib/libAP_Periph_libs.a(GCS_MAVLink.cpp.0.o): in function `mavlink_parse_char':
GCS_MAVLink.cpp:(.text.mavlink_parse_char+0x0): multiple definition of `mavlink_parse_char'; Tools/AP_Periph/adsb.cpp.41.o:adsb.cpp:(.text.mavlink_parse_char+0x0): first defined here
/home/pbarker/gcc/gcc-arm-none-eabi-10.3-2021.07/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: lib/libAP_Periph_libs.a(GCS_MAVLink.cpp.0.o): in function `put_bitfield_n_by_index':
GCS_MAVLink.cpp:(.text.put_bitfield_n_by_index+0x0): multiple definition of `put_bitfield_n_by_index'; Tools/AP_Periph/adsb.cpp.41.o:adsb.cpp:(.text.put_bitfield_n_by_index+0x0): first defined here
2021-12-14 10:35:06 +11:00
Andrew Tridgell 75959450ca AP_Periph: cope with GCS enabled for ESC telem
thanks Tom!
2021-12-10 08:11:24 -08:00
Andrew Tridgell d239bf99bd AP_Periph: enable use of AP_ESC_Telem in peripheral nodes
give ESC status packets back for RPM, voltage, current etc
2021-12-10 08:11:24 -08:00
Andrew Tridgell 91424c1f03 AP_Periph: enable DShot ESC telemetry 2021-12-10 08:11:24 -08:00
Andrew Tridgell d34579c275 AP_Periph: allow build with ESC telemetry and BLHeli support 2021-12-10 08:11:24 -08:00
Andrew Tridgell 209fcf3cbb Tools: added CarbonixL496 board ID 2021-12-07 10:23:54 +11:00
Andrew Tridgell 62b03bd1f1 AP_Periph: removed PWM count check for servos
actuator IDs are tied to OUTn_FUNCTION, not to physical output IDs, so
it is perfectly possible for an actuator ID to be larger than the
number of PWM outputs on the board
2021-12-07 10:23:54 +11:00
Andrew Tridgell b916e8cceb AP_Periph: fixed param docs for ESC_PWM_TYPE 2021-12-07 10:23:54 +11:00
Peter Barker 8e3265d1f6 autotest: add a test for dataflash log message rates 2021-12-07 09:39:51 +11:00
Andrew Tridgell a311983a29 AP_Bootloader: fixed DSDL paths 2021-12-06 20:17:02 +11:00
Andrew Tridgell 9ee140cbbf Tools: revert compass parameter changes 2021-12-04 16:51:53 +11:00
Peter Barker 66395ce195 autotest: add tests for AVD_F_ALT_MIN 2021-12-04 11:35:13 +11:00