Commit Graph

8832 Commits

Author SHA1 Message Date
Bill Geyer
b03203c612 Tools: heli autotune autotest save gains and add tune check 2024-07-01 22:57:55 -04:00
bnsgeyer
b1b4ddea94 Tools: update heli autotune autotest 2024-07-01 22:57:55 -04:00
Peter Barker
e2ef47b221 autotest: break out a run_replay method 2024-07-02 11:05:40 +10:00
Peter Barker
eb539f2c4a autotest: allow message hooks to be instances of a MessageHook class
allows state to be encapsulated within the object rather than simply in the same scope / closure of the method being called.

Will allow easier re-use of these blocks
2024-07-02 11:05:40 +10:00
Peter Barker
0c7a527ad3 autotest: add test infrastructure for installing lua modules 2024-07-02 11:05:40 +10:00
Peter Barker
3a23cf7144 autotest: add option to ingore RTL mode change during in auto mode
Plane emits a heartbeat with RTL in it when doing a DO_LAND_START
2024-07-02 11:05:40 +10:00
Peter Barker
1dae1fe7df autotest: add get_mode_string_for_mode 2024-07-02 11:05:40 +10:00
Peter Barker
744da0aec7 autotest: add a home_relative_loc_neu method 2024-07-02 11:05:40 +10:00
Peter Barker
bac008d51c autotest: tidy pre_arm_checks 2024-07-02 09:56:40 +10:00
Peter Barker
98068e481e autotest: correct places using print rather than progress 2024-07-01 16:58:25 +10:00
bnsgeyer
2809b160ae Tools: update heli-dual params 2024-06-30 18:21:21 -04:00
Andrew Tridgell
060818a0e1 Tools: fixed default glider parameters 2024-06-30 10:02:15 +10:00
Peter Barker
9d7c8277a4 autotest: make WaitAndMaintainEKFFlags progress nicer 2024-06-28 17:06:23 +10:00
Thomas Watson
ad7270f682 autotest: add serial loopback test script
Tests that data can flow both ways with one end using protocol 28
(Scripting) and the other using the serial device feature.
2024-06-27 12:00:18 +10:00
Thomas Watson
f5cc0b3093 Tools: add feature/option defs for serial device simulation 2024-06-27 12:00:18 +10:00
Andrew Tridgell
57c8c19452 AP_Periph: show MCU temp in PPPGW web UI 2024-06-27 10:11:14 +10:00
Peter Barker
c388943f52 autotest: remove pointless try/except in PayloadPlaceMission 2024-06-26 19:19:19 +10:00
Peter Barker
72a1b97b4c Tools: create_OEM_board.py: include line-feeds on include lines 2024-06-26 11:17:47 +10:00
Peter Barker
87909b5187 Tools: create_OEM_board.py: include defaults.parm, don't copy it 2024-06-26 11:17:47 +10:00
Peter Barker
cd2a30ccda Tools: make create_OEM_board.py flake8-clean 2024-06-26 11:17:47 +10:00
Andrew Tridgell
f9ee886b2e Tools: update BlitzF745AIO bootloader 2024-06-25 12:05:40 +10:00
Peter Barker
a77a0c22a7 autotest: add test for logged script statistics 2024-06-25 11:07:07 +10:00
Peter Barker
6bb0709b22 Tools: add Copter flight option for requiring position to arm 2024-06-25 11:06:10 +10:00
Peter Barker
b841f5517e autotest: install multiple test scripts with one call 2024-06-24 12:46:40 +10:00
bugobliterator
c1ae140dcd AP_Periph: do not close if already closed 2024-06-21 20:31:31 +10:00
Peter Barker
75614b8c3b autotest: add basic sensor-health test for optical flow in Rover 2024-06-20 17:18:03 +10:00
Peter Barker
1a2d940330 AP_Periph: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Jani Hirvinen
ae465d7571 board_types.txt: add HAKRC board IDS
Adding first two hakrc flight controllers and small ID reservation for their upcoming controllers.
2024-06-20 14:46:48 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
0bbf62938a Tools: add a script to generate vehicle and version dependent apm.pdef.xml files and rsync them to the autotest server 2024-06-20 14:07:07 +10:00
bugobliterator
9c85193d15 bootloaders: update CubeRedPrimary_bl 2024-06-19 19:09:10 +10:00
bugobliterator
e64dfa4d58 AP_Bootloader: add support for secondary FC bootloader to appear on second USB endpoint 2024-06-19 19:09:10 +10:00
bugobliterator
b93ba1ae68 waf: add support for generating compile_commands.json 2024-06-19 17:11:46 +10:00
Peter Barker
6aa662d5d0 autotest: tidy TestGripperMission
take advantage of new infrastructure
2024-06-19 13:48:25 +10:00
Peter Barker
35cb526241 autotest: add a test for gripper release on thrust loss 2024-06-19 13:48:25 +10:00
cuav-chen2
250a18a2c9 board_types.txt: Reserve board IDs for CUAV 2024-06-18 23:18:07 +10:00
SCRainbow
c5300b3868 Tools: Added support for JHEMCU H743 HD
commit 7d01b9e3cb09e89afea4bcb903d54b9ce8cdb1be
Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
Date:   Fri Apr 19 07:06:45 2024 +0800

    AP_HAL_ChibiOS: Added support for JHEMCU H743 HD

    commit d1e4ba0ef307e3ab3cc0f4218dd08e2f5c8f6ad0
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 19 04:38:22 2024 +0800

        board_types.txt: Reverted change for seperate PR

        hwdef-bl.dat: revert flash size to 2mb

        hwdef.dat: flash size set to 2mb, corrected syntax, realigned imus

    commit ee465524a7c37509d89ae17ae277a42328cb1cfd
    Merge: b1a55e0e3d 0f0023e62d
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:31 2024 +0800

        Merge branch 'master' into master

    commit b1a55e0e3d10a1fc3eff7af14c837271d0a3d131
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:08 2024 +0800

        Create defaults.parm

        output 9 is setup as serial LED

    commit 8437b6277c9f1d00a333ebd4f96946f02bf2bfc1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:44 2024 +0800

        Update JHEMCU-H743HD/README.md

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 186740cbc038a0ed4dd3bfc9035504bdd165b5aa
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:28 2024 +0800

        Update JHEMCU-H743HD/hwdef.dat

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 48cfc0daaf58fecfe75a9338c91f4543aed4b14c
    Merge: 789b71d709 5a21d0cb8a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Mon Apr 15 10:25:49 2024 +0800

        Merge branch 'master' into master

    commit 789b71d709b2b01c2a5134f8293f785917a787fd
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:37 2024 +0800

        Update hwdef-bl.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit cfa26b8f014c1775aa0270168682deca8ae16e78
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:04 2024 +0800

        Update hwdef.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit 3ae8a2c6ca2b0e95c076b652622adfe53275575a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:40:31 2024 +0800

        Update hwdef.dat

        Fixed BIDIR labels, they are now in pairs, only on M1, M3, M5 and M7

    commit 200e22d5f06f6a0aef30463f4d2702872fe6f063
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:20:42 2024 +0800

        Update hwdef.dat

        Included OTG2, default serial 3 protocol is set to None.

    commit 8f561c17efa9708acbd257759f12b056f44ea5f6
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:10:01 2024 +0800

        Update README.md

        Corrected title

    commit 404b49f399d756561727571132ec38f3f89188a3
    Merge: b1d353b185 77cccd08a3
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 09:56:53 2024 +0800

        Merge branch 'master' into master

    commit b1d353b185721c1e319f2b758f8e4ea1b1d30968
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:51:57 2024 +0800

        Added JHEMCU H743 HD support

    commit 299841b23628431dc1b0172bb5fc50968acf2fd1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:25:01 2024 +0800

        Added JHEMCU-H743HD

    commit 39d10456894bbbc4f73dfba65ee7cace7659ae17
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:21:14 2024 +0800

        Update README.md

    commit 048780fe44aace829173b0e701bc5a2ff874ee49
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:18:23 2024 +0800

        Added initial hwdef for JHEMCU H743 HD board

commit d4021681ec6d47f81973e6b346a67b757f3908d2
Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
Date:   Fri Apr 19 07:06:46 2024 +0800

    Tools: Added support for JHEMCU H743 HD

    commit d1e4ba0ef307e3ab3cc0f4218dd08e2f5c8f6ad0
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 19 04:38:22 2024 +0800

        board_types.txt: Reverted change for seperate PR

        hwdef-bl.dat: revert flash size to 2mb

        hwdef.dat: flash size set to 2mb, corrected syntax, realigned imus

    commit ee465524a7c37509d89ae17ae277a42328cb1cfd
    Merge: b1a55e0e3d 0f0023e62d
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:31 2024 +0800

        Merge branch 'master' into master

    commit b1a55e0e3d10a1fc3eff7af14c837271d0a3d131
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:59:08 2024 +0800

        Create defaults.parm

        output 9 is setup as serial LED

    commit 8437b6277c9f1d00a333ebd4f96946f02bf2bfc1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:44 2024 +0800

        Update JHEMCU-H743HD/README.md

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 186740cbc038a0ed4dd3bfc9035504bdd165b5aa
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Tue Apr 16 10:56:28 2024 +0800

        Update JHEMCU-H743HD/hwdef.dat

        Changed default UART6 protocol to displayport

        Co-authored-by: Henry Wurzburg <hwurzburg@yahoo.com>

    commit 48cfc0daaf58fecfe75a9338c91f4543aed4b14c
    Merge: 789b71d709 5a21d0cb8a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Mon Apr 15 10:25:49 2024 +0800

        Merge branch 'master' into master

    commit 789b71d709b2b01c2a5134f8293f785917a787fd
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:37 2024 +0800

        Update hwdef-bl.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit cfa26b8f014c1775aa0270168682deca8ae16e78
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 19:37:04 2024 +0800

        Update hwdef.dat

        Corrected FLASH_SIZE_KB to 1024 as H743VGT6  have only 1M flash

    commit 3ae8a2c6ca2b0e95c076b652622adfe53275575a
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:40:31 2024 +0800

        Update hwdef.dat

        Fixed BIDIR labels, they are now in pairs, only on M1, M3, M5 and M7

    commit 200e22d5f06f6a0aef30463f4d2702872fe6f063
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:20:42 2024 +0800

        Update hwdef.dat

        Included OTG2, default serial 3 protocol is set to None.

    commit 8f561c17efa9708acbd257759f12b056f44ea5f6
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 18:10:01 2024 +0800

        Update README.md

        Corrected title

    commit 404b49f399d756561727571132ec38f3f89188a3
    Merge: b1d353b185 77cccd08a3
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Sat Apr 13 09:56:53 2024 +0800

        Merge branch 'master' into master

    commit b1d353b185721c1e319f2b758f8e4ea1b1d30968
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:51:57 2024 +0800

        Added JHEMCU H743 HD support

    commit 299841b23628431dc1b0172bb5fc50968acf2fd1
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:25:01 2024 +0800

        Added JHEMCU-H743HD

    commit 39d10456894bbbc4f73dfba65ee7cace7659ae17
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:21:14 2024 +0800

        Update README.md

    commit 048780fe44aace829173b0e701bc5a2ff874ee49
    Author: SCRainbow <139575368+SCRainbow@users.noreply.github.com>
    Date:   Fri Apr 12 17:18:23 2024 +0800

        Added initial hwdef for JHEMCU H743 HD board
2024-06-18 08:21:16 +09:00
cuav-chen2
869ef0ee04 AP_Baro: Add in BMP581 Driver 2024-06-17 09:50:47 +10:00
Pierre Kancir
075c640404 Tools: fix archlinux install script
need setuptools on venv
2024-06-14 18:50:10 +10:00
Michelle Rossouw
7e5810a746 Tools: Added option to set environment variable to not add the compile_commands.json to VSCode's c_cpp_properties.json 2024-06-11 14:29:06 +10:00
Peter Barker
47625e693e autotest: test guided attitude control with no GPS 2024-06-11 14:17:10 +10:00
Peter Barker
470663b30b autotest: add test for simulated Copter clamp 2024-06-11 09:56:43 +10:00
Peter Barker
81e08b16c9 autotest: remove test for mount_control mavlink message
no longer compiled in by default
2024-06-11 09:37:56 +10:00
Peter Barker
0dff221a9b board_types.txt: add missing MazzyStarDrone board ID reservation 2024-06-11 09:34:09 +10:00
Peter Barker
e7e1d72abf board_types.txt: add missing kha_eth board ID reservation 2024-06-11 09:34:09 +10:00
Peter Barker
a8fa44a953 board_types.txt: remove space and + from ArduPilot names 2024-06-11 09:34:09 +10:00
Peter Barker
364452ffc8 autotest: add test for DroneCAN battery handling 2024-06-11 09:31:46 +10:00
Peter Barker
3c2f7944eb autotest: test SBP2 as part of GPSTypes check 2024-06-11 09:29:14 +10:00
Peter Barker
7cf96fb0a1 autotest: add a lineno method
allows for debug like this:

print(f"{self.lineno()} {self.mav.message_hooks=}")
2024-06-10 07:04:40 +10:00
Peter Barker
2a964c44d4 autotest: copy message hooks while iterating over them for removal
won't remove a number of entries from the end of the list if others have been removed
2024-06-10 07:04:40 +10:00
Paul Riseborough
5c76e77c11 autotest: Reduce time threshold used in plane deadreckoning test 2024-06-09 14:25:02 +10:00