Commit Graph

36273 Commits

Author SHA1 Message Date
Peter Barker a325ddbfa9 AP_AHRS: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
Leonard Hall 7047e11090 AC_AttitudeControl: Change input_quaternion to use body frame rates 2024-06-26 11:22:54 +10:00
Peter Barker 580199dfba AP_Logger: disable HAL_LOGGING_BLOCK_ENABLED if not HAL_LOGGING_ENABLED
HAL_LOGGING_DATAFLASH_ENABLED is set unconditionally in some hwdefs, but we still need to honour HAL_LOGGING_ENABLED
2024-06-25 18:32:41 +10:00
Clyde McQueen 0e6543f0e4 AP_NavEKF3: sub update for yaw reset and inFlight checks
on sub, request final yaw reset after diving 0.5m.
Also update rangefinder tests for sub
2024-06-25 18:09:37 +10:00
Andrew Tridgell ed58758ce6 hwdef: don't use DEFAULTGPIO in bootloaders
setting up a DEFAULTGPIO pulldown in bootloaders is a bad idea as it
overrides any hardware pullups that have been put in place as part of
a "hold in bootloader" mechanism. See discussion in #27360 for ELRS

note that this only impacts one board that I can see, the
BlitzF745AIO, due to the MCU vs DEFAULTGPIO interaction
2024-06-25 12:05:40 +10:00
Peter Barker 9bb343938f AP_Scripting: correct use-after-free in script statistics
run_next_script can free the script if the script runs over-time.

... so stop using data from that freed script structure!
2024-06-25 11:07:07 +10:00
Peter Barker 7dd50cd036 hwdef: JHEMCU-H743HD correct for rename of W25 dataflash driver 2024-06-25 11:05:22 +10:00
Iampete1 cc99ebf872 AP_Scripting: allow logging lua boolean with uint8 format `B` 2024-06-25 11:01:10 +10:00
Andrew Tridgell 32750476be AP_Scripting: added more telemetry for INF Inject 2024-06-25 09:34:18 +10:00
Andrew Tridgell b108d9cf09 AP_Scripting: added throttle and ignition control for INF_INject
allows full control over serial
2024-06-25 09:34:18 +10:00
TsuyoshiKawamura b9bf7acbf1 AP_Scripting: add test samples of get_target_location/update_target_location for copter 2024-06-25 08:29:57 +09:00
Leonard Hall 5ab2aaffff AC_Autotune: Clean up Multi Variables and non functional changes 2024-06-24 19:11:41 +10:00
Peter Barker 87d694414b AP_Beacon: use enum class for type 2024-06-24 18:24:11 +10:00
bugobliterator 96682b1b1b AP_Networking: add timeout to swap the UDP Server client target 2024-06-21 20:31:31 +10:00
bugobliterator d07e8d16df AP_Networking: use IP4_STR_LEN instead of value 16 2024-06-21 20:31:31 +10:00
bugobliterator a82729589c AP_Networking: allow UDP Server to talk to different clients on the same run 2024-06-21 20:31:31 +10:00
bugobliterator bace8d4c85 AP_HAL: add methods that deal in ip address as uint32_t 2024-06-21 20:31:31 +10:00
bugobliterator 3c69f156f4 AP_HAL: make recv call to be undirected but also get the ip:port of received packet 2024-06-21 20:31:31 +10:00
bugobliterator 43615f22b7 AP_HAL: add AP_MAVLINK_PACKETISE_ENABLE option 2024-06-21 20:31:31 +10:00
MattKear e1a1d15f62 AP_Mount: Alexmos: Improve angle precision and move defines to cpp 2024-06-20 15:13:48 +10:00
muramura 80b1a07de3 AP_Baro: Group device headers 2024-06-20 15:13:01 +10:00
Peter Barker f07ac41c65 AP_Notify: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Peter Barker 6b490a4c47 AP_HAL_ChibiOS: rename Notify buzzertype enumeration 2024-06-20 14:47:20 +10:00
Peter Barker 56a7e520b6 AP_Gripper: correct emitting of grabbed/released messages
these strigs would only be released if release() or grab were called a second time
2024-06-20 10:59:14 +10:00
George Zogopoulos 5ca8c0058c AP_TECS: Small legibility improvements
AP_TECS: Fixed bad whitespace
2024-06-20 09:12:50 +10:00
George Zogopoulos 9a3f6ae9c7 AP_Math: Created CentiDegreesToRadians 2024-06-20 09:12:50 +10:00
Siddharth Bharat Purohit f89923fcbe AP_HAL_ChibiOS: mark CONS RX/TX as NC for ADSB Carrier board 2024-06-19 19:09:36 +10:00
bugobliterator 04879d2c42 AP_HAL_ChibiOS: add passthrough from secondary through primary while in bootloader 2024-06-19 19:09:10 +10:00
robot-to-society b86094978d Mission: add is_resume method 2024-06-19 17:12:17 +10:00
Peter Barker 05a22aaffc AP_ADSB: cache course-over-ground for GPS message
stops the vehicle flipping around as speed goes to/comes from 0
2024-06-19 10:14:50 +10:00
Simon Hancock 43c604f1db AP_Compass: Fix fewer multipliers than params on MAGH log message 2024-06-19 09:38:59 +10:00
Simon Hancock d6f0d9b57c AP_GPS: Update description of VDop and HDop log params 2024-06-19 09:38:59 +10:00
Peter Barker b5b42f9446 AP_Logger: tidy running of LoggerMessageWriter sub-writers
... use the fact these all have a common base class to reduce effectively duplicate code.

Also un-virtualise and const a function which wasn't overridden and can be const
2024-06-19 08:51:28 +10:00
Peter Barker 12197b2d60 SITL: correct and improve Hirth simulator
we weren't sending an ACK for the set-values message
2024-06-19 08:48:32 +10:00
Thomas Watson 4ef2d49d92 hwdef: CubeRedPrimary: ICM45686 as ICM20649 alternative
Empirically what is present on Cube Reds built on/after 2024-04-14.
2024-06-18 10:53:08 +09:00
Iampete1 a322ba4f77 AP_Scripting: add binding for GPS `time_epoch_usec` 2024-06-18 10:37:13 +10:00
Iampete1 1c26c241f1 AP_Scripting: add uint64 userdata 2024-06-18 10:37:13 +10:00
Iampete1 574b9939a5 AP_Scripting: allow auto generation of uint32 operators 2024-06-18 10:37:13 +10:00
Andrew Tridgell 003f931d9c AP_Arming: added eeprom full arming check
tell users if params may not persist
2024-06-18 10:29:55 +10:00
Andrew Tridgell ae8ee5325c AP_Param: added get_eeprom_full()
for arming check
2024-06-18 10:29:55 +10:00
Iampete1 b68af03419 AP_HAL_ChibiOS: update relay parameter names 2024-06-18 08:59:34 +09:00
Andy Piper 608d396fd6 AP_Logger: take a blocking semaphore when writing messages using the block logger 2024-06-18 09:54:09 +10:00
Iampete1 fe814a66e4 AP_Vehicle: add new mode reason AUX_FUNCTION 2024-06-18 09:49:20 +10:00
koehlert 7092cb4717 GCS_MAVLink: support HIGHRES_IMU
HIGHRES_IMU MAVLink message. Built in to 2MB boards or not by default.
2024-06-18 09:29:04 +10:00
SCRainbow 0f011a4b61 AP_HAL_ChibiOS: 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
xianglunkai 5b05a171a2 AP_HAL_Linux: remove unused includes 2024-06-17 09:51:38 +10:00
cuav-chen2 869ef0ee04 AP_Baro: Add in BMP581 Driver 2024-06-17 09:50:47 +10:00
Peter Barker a737a34cd0 AP_Logger: correct comment about reserved range for vehicle IDs 2024-06-17 08:24:52 +10:00
Henry Wurzburg 247f5e5446 AP_OSD:Update HD fonts 2024-06-12 20:11:00 -04:00
Peter Barker 1d945cc5ac AP_Common: Location: allow retrieval of Vector3p from vector-from-origin 2024-06-11 19:50:18 +10:00