Commit Graph

57676 Commits

Author SHA1 Message Date
Andrew Tridgell d5effcdf92 AP_HAL_Linux: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell d1e50cb0c8 AP_HAL: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Andrew Tridgell 86b6f3a2c6 AP_HAL_ChibiOS: change to 16 bit timeout in event interface
prevent issues on 16 bit timers where we can end up with TIME_INFINITE
2023-04-19 17:26:57 +10:00
Peter Barker 7088286ebf AP_Compass: use new vector methods to make for more compact code
The check for zero-length magnetic field on the primary is redundant given the one on the loop
2023-04-19 14:25:06 +10:00
Peter Barker 2271827c9d autotest: add tests for compass prearms 2023-04-19 14:25:06 +10:00
Peter Barker f1eec8482b AC_AttitudeControl: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker ce8afaf57b AP_NavEKF3: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker a3c5926040 AP_Mount: use quat.to_euler(Vector3f&) 2023-04-19 14:24:45 +10:00
Peter Barker 0b2e1e7989 AP_Math: allow conversion of a quaternion into an rpy Vector3f
There are several places in the code that can use this
2023-04-19 14:24:45 +10:00
Ryan Friedman 4b5570886f .vscode: Don't override editor defaults
This prevents devs from using their own repo settings

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-18 14:13:38 -07:00
Iampete1 4186edad3f AP_DroneCAN: move to hal.util->snprintf to keep g++ 7.5.0 happy 2023-04-18 17:44:29 +01:00
Andrew Tridgell 14d2318859 AP_BoardConfig: on debug builds enable the debug pins by default
this saves a step in debugging
2023-04-18 14:35:21 +10:00
Peter Barker 5121b33c03 hwdef: remove more features from SkyViper 2023-04-18 11:45:39 +10:00
Peter Barker 271571e29c AP_GPS_NMEA: fix stringop truncation failure on g++ 9 2023-04-18 11:44:57 +10:00
Peter Barker 95d8719465 Tools: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker 8c203d29d0 SRV_Channel: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker a657c6ea75 GCS_MAVLink: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker b055b67a7f AP_CANManager: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker a4721b4ff8 AP_Arming: remove CANTester 2023-04-18 11:43:58 +10:00
Peter Barker eb2a4a68c5 AP_Periph: use CopyFieldsFrom in CAN parameters 2023-04-18 11:43:58 +10:00
Henry Wurzburg 73011c81fd AP_HAL_ChibiOS: correct MatekH743 storage size 2023-04-18 11:25:25 +10:00
Ryan Friedman 81bdf40d1f .pre-commit: Enfore code style for AP_DDS
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-18 10:34:43 +10:00
Robert Taylor ebef532258 AP_Scripting: Add EFI state get example 2023-04-18 10:31:01 +10:00
Robert Taylor 59cb583d63 AP_Scripting: Add efi get_state function 2023-04-18 10:31:01 +10:00
Robert Taylor 7b64d09dc4 AP_Scripting: Make EFI bindings readable 2023-04-18 10:31:01 +10:00
Peter Barker 068443718e GCS_MAVLink: deprecate use of MISSION_SET_CURRENT message
The mavlink command MAV_CMD_DO_SET_MISSION_CURRENT has been in place since January 2019 and is superior to this.
2023-04-18 10:24:26 +10:00
Iampete1 6659b02e14 Tools: autotest: Plane: expand guided attitude target test 2023-04-18 09:36:06 +10:00
Iampete1 5ec479579f Plane: move guided roll, pitch and throttle overrides upto guided mode 2023-04-18 09:36:06 +10:00
Iampete1 3a36337775 AP_Motors: Thrust Linearization: disable density comp in example as baro is not declared 2023-04-18 09:32:22 +10:00
Iampete1 5f56a603a8 Plane: Quadplane: use new motors thrust linearization, don't send air density ratio 2023-04-18 09:32:22 +10:00
Iampete1 be275e2cac Copter: use new motors thrust linrisation, don't send air density ratio 2023-04-18 09:32:22 +10:00
Iampete1 ab4777de14 AP_Motors: move thrust linerization to its own class 2023-04-18 09:32:22 +10:00
Peter Barker 5d68f44694 AP_NavEKF3: move beacon variables into structure
AP_NavEKF3: change beacon variable names
2023-04-18 09:28:02 +10:00
Peter Barker 2529c7fc40 autotest: add test for RESET_MODE_SWITCH 2023-04-18 09:19:20 +10:00
Peter Barker 57d3ebf123 ArduPlane: make Plane use more of RC_Channel library for mode switching 2023-04-18 09:19:20 +10:00
Peter Barker f6fa509443 AP_Camera: add timestamp on parameter conversion function
...so we can remove this stuff more easily over time
2023-04-17 22:05:08 +01:00
Peter Barker 395961883f AP_Logger: avoid many method calls logging RCOU 2023-04-17 21:28:49 +10:00
Peter Barker 1fb879322c hwdef: correct compilation of OMNIBUSF7V2
redefition erro
2023-04-17 21:26:41 +10:00
Peter Barker 38390d2840 autotest: allow more time for deepstall text
intermittent failures in CI - perhaps due to Plane dynamics changes
2023-04-17 21:26:07 +10:00
Peter Barker f518c4f4d4 autotest: verify new safety switch state in set_safetyswitch 2023-04-17 13:25:55 +10:00
Tom Pittenger 7bde074791 AP_KDECAN: remove prearm and allow better mapping 2023-04-17 11:52:52 +10:00
Tom Pittenger de86102751 AP_KDECAN: don't handle ESCs changing their address 2023-04-17 11:52:52 +10:00
Tom Pittenger 2bbd7d8d91 AP_CANManager: set _driver_type_cache for *all* ifaces 2023-04-17 11:52:52 +10:00
Tom Pittenger e21063522d AP_KDECAN: apply NFC suggestions from Peter Barker 2023-04-17 11:52:52 +10:00
Tom Pittenger a443fd97a6 GCS_MAVLink: remove preflight_can
It was only using CANTester to test KDECAN enumeration which was removed
2023-04-17 11:52:52 +10:00
Tom Pittenger 5ca3aa6346 AP_CANManager: remove KDECAN from CANTester 2023-04-17 11:52:52 +10:00
Tom Pittenger eed3cf3255 AP_CANManager: promote KDECAN to a first-class library 2023-04-17 11:52:52 +10:00
Tom Pittenger c585b0286d AP_KDECAN: total re-write using CANSensor and remove Enum 2023-04-17 11:52:52 +10:00
Tom Pittenger 84b7444047 AP_CANSensor: add get_driver_type() accessor 2023-04-17 11:52:52 +10:00
Tom Pittenger 9cf5759435 AP_HAL_ChibiOS: enable KDECAN on CubeOrange-periph 2023-04-17 11:52:52 +10:00