Andrew Tridgell
3f67917c26
AP_Airspeed: check for baro baro data in SDP3X
...
this matters for SDP3X as AP_Periph sensor with no baro
2021-08-10 07:10:02 +10:00
QioTek
30e23052a0
AP_HAL_ChibiOS: add Icm42605 as a backup to replace icm20649
...
AP_HAL_ChibiOS: add Icm42605 as a backup to replace icm20649
2021-08-10 07:00:52 +10:00
Andrew Tridgell
ff59e0f72f
AP_NavEKF3: fixed output LLH to account for IMU offset
...
thanks to Paul and Randy
2021-08-09 19:19:21 +10:00
Hwurzburg
72a927343a
AP_Scripting: make LUA memory panic more helpful
2021-08-09 16:34:09 +10:00
Hwurzburg
2939efe2c6
AP_OSD: add option to convert to miless at 5280ft vs 10000ft
2021-08-09 16:33:01 +10:00
Randy Mackay
1ccbe0d0df
AP_Torqeedo: fixes after peer review
2021-08-09 15:13:24 +09:00
Randy Mackay
4c7f23bb67
AP_Torqeedo: pre-arm does not provide prefix
2021-08-09 15:13:24 +09:00
Randy Mackay
b147d59ab7
AP_Torqeedo: rename TRQD_DEBUG to OPTIONS and make bitmask
2021-08-09 15:13:24 +09:00
Randy Mackay
2890c1c651
AP_Torqeedo: health reporting based on sending and receiving
2021-08-09 15:13:24 +09:00
Randy Mackay
9ffd22fad0
AP_Torqeedo: support connection to motor or tiller
2021-08-09 15:13:24 +09:00
Randy Mackay
8ebb6165f7
AP_Torqeedo: logging and debug output
2021-08-09 15:13:24 +09:00
Randy Mackay
7bcd43eb0d
AP_Torqeedo: add healthy and pre-arm checks
2021-08-09 15:13:24 +09:00
Randy Mackay
719b1e1267
AP_Torqeedo: serial RTS pin can turn motor on
2021-08-09 15:13:24 +09:00
Rishabh
8aa5be2a08
SITL: Change Morse Ackermann model param
2021-08-09 14:54:11 +09:00
Randy Mackay
a6e8f2e73b
AP_NavEKF2: NKF3.IYAW logs in degrees
2021-08-09 08:10:42 +09:00
Randy Mackay
2f1444772b
AP_NavEKF3: XKF3.IYAW logs in degrees
2021-08-09 08:10:42 +09:00
Peter Barker
c9699d7ce4
AP_GPS: log GPS primary change event in GPS library
2021-08-06 15:30:18 +10:00
Hwurzburg
80b4cd7ae9
ArduPlane: correct Mission Reset override behaviour in Plane
2021-08-06 10:17:25 +10:00
Hwurzburg
e680611324
AP_OSD: Add Link Quality icon
2021-08-06 10:16:24 +10:00
Randy Mackay
d961186e0c
AP_NavEKF3: remove unused EK3_GSF_DELAY param
2021-08-06 07:00:46 +09:00
Randy Mackay
f8399fe3de
AP_NavEKF2: remove unused EK2_GSF_DELAY param
2021-08-06 07:00:46 +09:00
Peter Barker
d73ce0ed57
AP_Common: tests: stop overriding non-virtual method
...
set_origin is no longer virtual. These tests can be reinstated once we
have a single origin for the AHRS
2021-08-05 10:37:47 +10:00
Peter Barker
7f4a4a99d6
AP_AHRS: move home and origin methods to frontend
2021-08-05 10:37:47 +10:00
Andrew Tridgell
02ca6b67a2
GCS_MAVLINK: fixed macos snprintf error
2021-08-05 09:43:35 +10:00
Andrew Tridgell
68a33e996d
AP_Common: fixed invalid nmea test
2021-08-05 09:43:35 +10:00
Andrew Tridgell
cb462cac6e
AP_UAVCAN: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
c4d05b3f3a
AP_ToshibaCAN: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
3712d7eca5
AP_Relay: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
68c1f0db35
AP_Parachute: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
067a6547bc
AP_HAL: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
f8e40eef00
AP_GPS: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
a49f5b92e2
AP_Common: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
7cdd18924e
AP_CANManager: fixed printf format errors
2021-08-05 09:43:35 +10:00
Andrew Tridgell
45f6b16dec
AP_RPM: fixed formatting of pin arming check
2021-08-05 09:43:35 +10:00
Andrew Tridgell
a56db06efb
AP_Relay: fixed formatting of pin arming check
2021-08-05 09:43:35 +10:00
Andrew Tridgell
fe6ac6a581
AP_Button: fixed formatting of pin arming check
2021-08-05 09:43:35 +10:00
bugobliterator
e51d358552
AP_RangeFinder: use typename SIM instead of SITL as it conflicts with namespace name
2021-08-05 07:25:31 +10:00
bugobliterator
62b6350af1
AP_AHRS: use typename SIM instead of SITL as it conflicts with namespace name
2021-08-05 07:25:31 +10:00
bugobliterator
3033589fca
SITL: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
0d34a78701
GCS_MAVLink: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
88a72cca0b
AP_WheelEncoder: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
4312213e18
AP_RangeFinder: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
5653f8c08b
AP_RPM: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
02c0ce175e
AP_Proximity: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
392ba06f6e
AP_OpticalFlow: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
a3c301f689
AP_Notify: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
7832f81a84
AP_Logger: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
f20b7d0f8e
AP_InertialSensor: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
58baad9949
AP_IRLock: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
26e2a4a3cb
AP_HAL_SITL: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
3d6ef2106f
AP_ESC_Telem: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
33f9c38528
AP_Compass: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
56b6c669d7
AP_Beacon: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
90437cb894
AP_Baro: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
114d7b22f4
AP_AHRS: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
bugobliterator
9cad93f58c
AC_PrecLand: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Willian Galvani
fe99d3e217
AP_NavEKF_Source: add vertical position to pre_arm_check() description
2021-08-04 21:42:39 +09:00
Peter Barker
107e647d00
AP_AHRS: correct compilation under SITL with no EKF3
2021-08-04 18:15:55 +10:00
Andy Piper
f71b951cb2
AP_HAL_ChibiOS: return correct value for tx_pending().
2021-08-04 17:26:18 +10:00
Andy Piper
6f53337b88
AP_RCTelemetry: add baud rate change command frame processing.
...
report CRSF version when rate changes
2021-08-04 17:26:18 +10:00
Andy Piper
293bb7704e
AP_RCProtocol: implementation of CRSF v3
...
add CRSF command frame types
allow CRSF baud rate changes
record CRSF version being processed
2021-08-04 17:26:18 +10:00
Andrew Tridgell
ba45d32c7e
AP_Scripting: avoid a error in lua with gcc 10.2 on STM32 with -Werror
2021-08-04 15:48:23 +10:00
Samuel Tabor
4564992b47
AP_Soaring: Add an override-disable flag to update_active_state to support e.g. mission landing sequence.
2021-08-04 06:52:56 +10:00
Leonard Hall
0ad2bf15bc
AC_AttitudeControl: Support thrust to weight of 10:1
2021-08-03 17:04:43 +09:00
Andy Piper
30252c1b3f
AP_Motors: remove tri yaw servo from motor mask
2021-08-03 11:16:50 +09:00
Hwurzburg
89246739c4
AP_RCTelemetry: warn if Passthru miss-configured
...
Co-authored-by: Alessandro Apostoli <30294218+yaapu@users.noreply.github.com>
2021-08-03 11:00:11 +10:00
Peter Barker
76c4af6aef
GCS_MAVLink: cope with MAV_CMD_ACCELCAL_VEHICLE_POS outside accelcal
2021-08-03 10:54:52 +10:00
Andrew Tridgell
eb638a5267
HAL_ChibiOS: added CubeMX files for G431 and G441
2021-08-03 10:54:03 +10:00
Andrew Tridgell
bab0c1dfc7
HAL_ChibiOS: fixed build for single FDCAN G4 boards
2021-08-03 10:54:03 +10:00
Andrew Tridgell
8df99f0d15
HAL_ChibiOS: added G431 and G441 support
2021-08-03 10:54:03 +10:00
Peter Barker
3013017369
AP_AdvancedFailsafe: use mission singleton inside AP_AdvancedFailsafe
2021-08-03 10:35:24 +10:00
Andrew Tridgell
d0969a4476
AP_Logger: added RATEMAX for mavlink and block backends
2021-08-03 10:23:36 +10:00
Andrew Tridgell
4dfe750d71
AP_Logger: handle instance types in rate limiting
2021-08-03 10:23:36 +10:00
Andrew Tridgell
575c76bdd0
AP_Logger: pack LogStructure to save some flash space
...
prevent padding between records
2021-08-03 10:23:36 +10:00
Andrew Tridgell
8196f422cb
SITL: mark SIM2 as a streaming message
2021-08-03 10:23:36 +10:00
Andrew Tridgell
b83c7f3025
AP_NavEKF: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
8681ecebfd
AP_NavEKF3: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
84b1468ce6
AP_NavEKF2: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
f68ed4f0a4
AP_InertialSensor: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
9a262d19ed
AP_GPS: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
b450b59acc
AP_ESC_Telem: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
bbfd2e962e
AP_BattMonitor: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
166d13d8c3
AP_Baro: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
5dab362286
AP_AHRS: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
f3181ae0f6
AC_PrecLand: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
5af59fb555
AC_Avoidance: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Andrew Tridgell
662f7a0191
AP_Logger: added LOG_FILE_RATEMAX parameter
...
this allows for a global "maximum rate in Hz for streaming messages"
setting
2021-08-03 10:23:36 +10:00
Hwurzburg
b69308858a
AP_Vehicle: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes
2021-08-03 10:09:28 +10:00
Hwurzburg
b2a100f41b
AP_OSD: correct OSD horizon for VTOL modes and TRIM_PITCH_CD in FW modes
2021-08-03 10:09:28 +10:00
Josh Henderson
289264f1dd
AP_BattMonitor: move analog parameters to subgroupvarptr
2021-08-03 09:36:26 +10:00
Josh Henderson
e37efa45de
AP_BattMonitor: add SMBus address param and create SMBus subtree
2021-08-03 09:36:26 +10:00
Iampete1
612ea70e5b
SITL: add JSON Master
2021-08-03 09:22:19 +10:00
Iampete1
41c167ba89
SITL: add SIM_JSON_MASTER param
2021-08-03 09:22:19 +10:00
Iampete1
4505dce64d
SITL: SIM_JSON: add no time sync to JSON format
2021-08-03 09:22:19 +10:00
Iampete1
5ff0f42372
AP_HAL_SITL: add slave JSON instances
2021-08-03 09:22:19 +10:00
Peter Barker
383807e334
AP_AHRS: move AOA state to private in frontend
...
AP_AHRS: make update_AOA_SSA non-virtual
2021-08-02 20:55:04 +10:00
Tatsuya Yamaguchi
43da962d34
AC_Avoid: use proximity_avoidance_enabled function
2021-08-02 08:52:41 +09:00
Tatsuya Yamaguchi
04deabbacb
AC_Avoid: confirm USE_PROXIMITY_SENSOR to check if proximity is enabled
2021-08-02 08:52:41 +09:00
Andrew Tridgell
47854ac4b7
APM_Control: lower the tuning trigger threshold
...
this allows for slower stick movements during tuning
This is based on analysing the log from kir850 on rcgroups
2021-07-31 10:01:14 +10:00
Peter Barker
944b82a7be
AP_Compass: make is_calibrating const
2021-07-30 17:37:08 +10:00
Peter Barker
d131cf01d3
AP_AHRS: use compass reference rather than pointer
2021-07-30 17:37:08 +10:00
Peter Barker
d5ea202c20
AP_Compass: mark COMPASS_ENABLED as @RebootRequired
2021-07-30 12:19:42 +10:00
Peter Barker
431c186306
GCS_MAVLink: use AP::compass().available in place of enabled()
2021-07-30 12:19:42 +10:00
Peter Barker
c351150a46
AP_Compass: use AP::compass().available in place of enabled()
2021-07-30 12:19:42 +10:00
Peter Barker
78e63a8852
AP_NMEA_Output: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
c34284b6eb
AP_NavEKF3: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
dec4ba86b6
AP_NavEKF2: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
dc82487fae
AP_Mount: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
b5b4ec94c9
AP_DAL: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
1d9bfdf8dd
AP_Compass: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
ca58aa9c5f
AP_AHRS: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
74859095a9
AP_DAL: add and use compass.available()
...
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker
658c978c9d
AP_Compass: add and use compass.available()
...
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Peter Barker
8bbed968de
AP_Compass: remove unused variable
2021-07-30 12:19:42 +10:00
Tatsuya Yamaguchi
4f12c94346
AC_Avoidance: handle upward proximity enable and disable
2021-07-30 12:04:50 +10:00
Peter Barker
e4bceb2417
AP_AHRS: move AOA/SSA to AP_AHRS, don't recalc on fetch
2021-07-30 11:23:06 +10:00
Andrew Tridgell
4df62ce719
HAL_ChibiOS: added mRo-M10095 G491 peripheral
2021-07-30 10:20:52 +10:00
Andrew Tridgell
4fce1ae092
HAL_ChibiOS: added G491 support
2021-07-30 10:20:52 +10:00
Andrew Tridgell
0e7c2a27a6
AP_GPS: added arming checks for yaw available on ublox RTK rover
2021-07-30 06:51:21 +10:00
Iampete1
bb624074dd
APM_Control: remove outdated tuning guide
2021-07-28 18:26:31 +10:00
Iampete1
4b28f53644
AP_Scripting: add change alt frame method to location userdata
2021-07-28 18:19:23 +10:00
Iampete1
88d4ada96d
AP_Vehicle: #ifdef scripting specific functions
2021-07-28 18:18:32 +10:00
Iampete1
e5d4620372
AP_Compass: update orientation param values
2021-07-28 18:09:05 +10:00
Iampete1
9cceb2d5c1
AP_AHRS: update orientation param values
2021-07-28 18:09:05 +10:00
Iampete1
22100dd37c
AP_Math: move to 32 digit rotation constants
2021-07-28 18:09:05 +10:00
Iampete1
78e025af39
AP_Compass: add Calibrator index test
2021-07-28 18:09:05 +10:00
Iampete1
5ecfd3fbce
AP_Math: remove unused ROTATION_MAX_AUTO_ROTATION define
2021-07-28 18:09:05 +10:00
Iampete1
36a80d46e3
AP_Compass: support auto orientation for new rotations
2021-07-28 18:09:05 +10:00
Iampete1
dbd95f8163
AP_Math: make duplicate rotations clear
2021-07-28 18:09:05 +10:00
Iampete1
080f6c295c
AP_Math: examples: rotations: add test for duplicate rotations.
2021-07-28 18:09:05 +10:00
Iampete1
f8220a8adf
AP_Math: tests: test quaternion rotation is the same as vector
2021-07-28 18:09:05 +10:00
Iampete1
6c5424aad6
AP_Math: add roll +- 45 rotations
2021-07-28 18:09:05 +10:00
Andrew Tridgell
4b9311d87d
AP_Motors: added new MOT_PWM_TYPE=8 for PWM range
...
this allows multirotors to set individual PWM ranges per motor. This
is needed for heliquads flying as multirotors
2021-07-28 17:40:40 +10:00
Hwurzburg
8b7b4d6796
AP_HAL_Chibios: Change RC in to RCINT to free a DMA channel
2021-07-28 17:24:06 +10:00
Peter Barker
f557d41145
AP_AHRS: rotate quaternions into vehicle body frame
...
DCM was having it both ways depending on whether it was
primary/secondary.
These are mostly uses for reporting, in which case you would expect the
quaternion to match the eulers.
2021-07-28 17:20:28 +10:00
Peter Barker
ad89e9777c
GCS_MAVLink: send primary quat in ATTITUDE_QUATERNION
2021-07-28 17:20:28 +10:00
Peter Barker
118d3f085f
AP_Math: quaternion: add from_euler(Vector3&)
2021-07-28 17:20:28 +10:00
Andrew Tridgell
0f3dc195b6
AP_InertialSensor: fixed build warning
2021-07-27 19:50:21 +10:00
Andrew Tridgell
aa0a77049e
AP_Compass: fixed build warning on g++ 10.2
2021-07-27 19:50:21 +10:00
Peter Barker
5160b4f6ca
AP_AHRS: move AP_NMEA_Output to AHRS frontend
2021-07-27 16:55:35 +10:00
Iampete1
7d3fa242d7
RC_Channel: add AUTO RTL option
2021-07-27 09:00:11 +09:00
Iampete1
32b3c8ea08
AP_Mission: caculate distance to do_land_start with no location correctly
2021-07-27 09:00:11 +09:00
Iampete1
cea54c48cd
AP_BattMoniter: add Auto RTL option
2021-07-27 09:00:11 +09:00
Iampete1
9047b19e59
AP_Scripting: bindings for CANFrame and ScriptingCANBuffer
2021-07-27 09:04:17 +10:00
Iampete1
44276be3a1
AP_Scripting: add CANSensor and manaul bindings to load.
2021-07-27 09:04:17 +10:00
Iampete1
e29dd0e7e7
AP_Scripting: add CAN read and write examples
2021-07-27 09:04:17 +10:00
Iampete1
8c7cad8663
AP_Scripting: generator support depends keyword on AP_Object
2021-07-27 09:04:17 +10:00
Iampete1
432793a18a
AP_Arming: support scripting CAN driver
2021-07-27 09:04:17 +10:00
Iampete1
bd36053abc
AP_CANManager: support scripting CAN driver
2021-07-27 09:04:17 +10:00
mateksys
08cd1171bf
Tools: added MatekF765-SE to autobuild
2021-07-26 18:13:46 +10:00
Hwurzburg
207de0ed4d
AP_Landing: remove DeepStall from 1MB boards
2021-07-26 16:19:12 +10:00
Hwurzburg
8ec4b77cd7
AP_SerialManager: relabel protocol 29 to avoid confusion with CRSF RC
2021-07-26 14:40:43 +09:00
Andrew Tridgell
cbb2ba8d62
SRV_Channel: added doc of SERVOn_FUNCTION=-1 for GPIO
2021-07-26 15:12:17 +10:00
Peter Barker
2cdc4f5698
AP_HAL: add basic tests for ringbuffer
2021-07-26 15:10:01 +10:00
Andrew Tridgell
90aed6f338
AP_HAL: fixed get_size() on ObjectBuffer to be consistent with set_size()
2021-07-26 15:10:01 +10:00
bugobliterator
3d03979b16
GCS_MAVLink: add support for mavlink out on AP_Periph
2021-07-26 13:45:43 +10:00
Isaac Alich
35beae6037
AP_HAL_ChibiOS: Make final tweaks to MambaF405US-I2C
2021-07-25 17:44:22 +10:00
Isaac Alich
bdcb32456e
AP_HAL_ChibiOS: Add support for MambaF405US-I2C based boards
2021-07-25 09:28:17 +10:00
MHefny
280788bfdf
AP_HAL_LINUX:toggle gpio port
2021-07-24 09:16:08 -07:00
Andrew Tridgell
d95f6c8c2f
AP_Arming: added button arming check
2021-07-24 18:18:57 +10:00
Andrew Tridgell
d8b8facdd0
HAL_ChibiOS: fixed off by 1 bug in GPIO check
2021-07-24 18:18:57 +10:00
Andrew Tridgell
ef93165f28
AP_Button: added arming check
2021-07-24 18:18:57 +10:00
Andrew Tridgell
45cf726a4b
APM_Control: new autotune scheme
...
this separately tunes D and then P, which more closely follows the
technique used for a manual tune
2021-07-24 15:32:55 +10:00
bugobliterator
98f5eb28db
AP_RangeFinder: use separate register_driver method while contructing CAN Driver
2021-07-23 16:01:29 +10:00
bugobliterator
59242739c7
AP_EFI: use separate register_driver method while contructing CAN Driver
2021-07-23 16:01:29 +10:00
bugobliterator
e553acd3e3
AP_BattMonitor: use separate register_driver method while contructing CAN Driver
2021-07-23 16:01:29 +10:00
bugobliterator
6e61867e7f
AP_CANSensor: create a separate register driver method
2021-07-23 16:01:29 +10:00
Andrew Tridgell
c5ef672fb5
AP_Math: fixed expo_curve()
...
doesn't make sense as constexpr
2021-07-23 14:47:14 +10:00
Tatsuya Yamaguchi
a3e176284d
AP_Scripting: add AP_InertialSensor binding
2021-07-23 09:32:04 +09:00
Peter Barker
88d49effe7
AP_AHRS: move variable init into variable declaration
2021-07-23 09:55:14 +10:00
Peter Barker
15e5831002
AP_AHRS: remove unused get_expected_mag_field method
...
there's get_mag_field_NED on AP_AHRS....
2021-07-23 09:55:14 +10:00
Peter Barker
5b372dae06
AP_AHRS: stop storing gyro drift rate as variable
...
This is constant and is just folded into whereever it is used.
2021-07-23 09:55:14 +10:00
Peter Barker
a4d98a457b
AP_AHRS: move init of dcm state into variable declarations
2021-07-23 09:55:14 +10:00
Peter Barker
4f9201a160
AP_AHRS: move parameters back into AP_AHRS.h
...
metadata collection kind of dies otherwise
2021-07-22 21:21:40 +10:00
Peter Barker
d351b7c7dc
AP_AHRS: fix includes for moved files
2021-07-22 21:21:40 +10:00
Peter Barker
b7d4166b28
AP_AHRS: rename AP_AHRS_NavEKF.* to AP_AHRS.*
2021-07-22 21:21:40 +10:00
Peter Barker
97b394a5ef
AP_AHRS: rename AP_AHRS.* to AP_AHRS_Backend.*
2021-07-22 21:21:40 +10:00
Paul Riseborough
17ead96250
AP_NavEKF3: Revert IMU and wind speed process noise parameter defaults
...
These give noisier state estimates, but are more robust to rapid changes in IMU biases.
TODO implement a means of using the modified parameters when there are more than one EKF instance running with IMU's that are sampling at a higher rate.
2021-07-22 18:20:45 +10:00
Paul Riseborough
aa6ac4a874
AP_NavEKF3: retune wind process noise for better airspeed fault detection
2021-07-22 18:20:45 +10:00
Paul Riseborough
8fd1e98701
AP_NavEKF3: Fix bug preventing copter wind estimation at low speed
...
Also re-tunes process noise default for smoother wind velocity state estimates.
2021-07-22 18:20:45 +10:00
Paul Riseborough
0088b0f3fe
AP_NavEKF3: Revert EK3_BETA_MASK parameter extension
...
These are not required due to use of bit 7 in FLIGHT_OPTIONS to achieve the same function.
2021-07-22 18:20:45 +10:00
Paul Riseborough
59d31cc7d5
AP_NavEKF3: Rework non-airspeed wind estimation
...
Faster wind estimation when not using airspeed with acceptable noise in wind velocity estimates.
2021-07-22 18:20:45 +10:00
Paul Riseborough
5fa3ed5755
AP_NAvEKF3: use #define value for bad IMU hold time
2021-07-22 18:20:45 +10:00
Paul Riseborough
7497590363
AP_NavEKF3: Increase lower state variance limit when vibration affected
...
This makes state corrections from GPS and baro observations more aggressive
2021-07-22 18:20:45 +10:00
Paul Riseborough
3e123c0a30
AP_NavEKF3: Use sensor variance when checking for bad IMU
2021-07-22 18:20:45 +10:00
Paul Riseborough
e3bdbcd8ea
AP_NavEKF3: Make bad IMU status more persistent
2021-07-22 18:20:45 +10:00
Paul Riseborough
8f1b98a0cb
AP_AHRS: Add accessor function for vibration affected status
...
AP_AHRS: fix rebase build error
2021-07-22 18:20:45 +10:00
Paul Riseborough
ccc95d8726
AP_NavEKF3: Add accessor function for vibration affected status
2021-07-22 18:20:45 +10:00
Paul Riseborough
ed61287410
AP_NavEKF3: Don't update accel bias states if vibration affected
2021-07-22 18:20:45 +10:00
Paul Riseborough
62d70a628e
AP_NavEKF3: Use large accel process noise when IMU data is bad
2021-07-22 18:20:45 +10:00
Paul Riseborough
5eb7751682
AP_NavEKF3: Adjust gyro bias process noise tuning
...
NEw value is a compromise between roll/pitch angle and horizontal state velocity estimation errors and the noise in the gyro bias estimate
2021-07-22 18:20:45 +10:00
Paul Riseborough
72dc998509
AP_NavEKF3: Allow smaller dvel bias state variances for improved tuning
2021-07-22 18:20:45 +10:00
Paul Riseborough
0f2661c31c
AP_NavEKF3: Retune IMU process noise
...
Required to achieve equivalent fusion noise and weighting on IMU vs other sources to previous param defaults with the old covariance prediction equations.
2021-07-22 18:20:45 +10:00
Paul Riseborough
171eed5d85
AP_NavEKF3: Make gyro bias learning less noisy
2021-07-22 18:20:45 +10:00
Paul Riseborough
ce4d13091a
AP_NavEKF3: Fix bug preventing learning of XY IMU dvel bias in flight
2021-07-22 18:20:45 +10:00
Paul Riseborough
6242ce19fa
AP_NavEKF3: Change powf(x,2) to sq(x)
2021-07-22 18:20:45 +10:00
Paul Riseborough
bb9eed28a9
AP_NavEKF3: Update covariance prediction equations
2021-07-22 18:20:45 +10:00
Paul Riseborough
7b8e935880
AP_NavEKF3: Use alternate form for quaternion to rotmat equations in derivation
2021-07-22 18:20:45 +10:00
Andrew Tridgell
0048167f16
SITL: added SIM2 message
...
useful for EKF debugging
2021-07-22 10:19:02 +10:00
Randy Mackay
e9f6a5afdf
AR_WPNav: integrate PathPlanner returning path_planner_used
...
Rover does not need to handle the results differently based on the planner used
2021-07-22 08:51:41 +09:00
Randy Mackay
83e85c7125
AC_WPNav_OA: minor formatting and comment fixes
2021-07-22 08:51:41 +09:00
Randy Mackay
cf797dfca9
AC_WPNav_OA: separate handlers for results from Dijkstra's and BendyRuler
...
also bendy ruler uses pos controller
2021-07-22 08:51:41 +09:00
Randy Mackay
dd4b3295f4
AC_Avoidance: BendyRuler returned destination are shortened
2021-07-22 08:51:41 +09:00
Randy Mackay
faadaafd53
AC_Avoidance: bendy ruler format fixes
2021-07-22 08:51:41 +09:00
Randy Mackay
6d6324a328
AC_Avoidance: OA_PathPlanner returns which planner was used
...
this replaces get_bendy_type
2021-07-22 08:51:41 +09:00
Randy Mackay
d7d41aea38
AC_Avoidance: BendyRuler returns which type was used
...
also make serach_xxx_path methods private
2021-07-22 08:51:41 +09:00
Randy Mackay
70c6694798
AP_Common: add Location::linear_interpolate_alt
2021-07-22 08:51:41 +09:00
Randy Mackay
7daacfd63e
AP_Math: vector2f gets float.h include
2021-07-22 08:51:41 +09:00
Randy Mackay
52bb8112b3
AP_Math: control.h needs vector2/3 includes
2021-07-22 08:51:41 +09:00
Andrew Tridgell
95cbb69d3c
AP_Parachute: added CHUTE_OPTIONS
...
allow for servo release forever to cope with high altitude drops where
servo may be frozen
2021-07-22 07:49:14 +10:00
Andrew Tridgell
f91e995e98
AP_Arming: check pin arming_checks
2021-07-22 07:48:12 +10:00
Andrew Tridgell
8660e98b57
AP_Parachute: added arming_checks()
2021-07-22 07:48:12 +10:00
Andrew Tridgell
09ad43dea3
AP_Relay: added arming_checks
2021-07-22 07:48:12 +10:00
Andrew Tridgell
d827b35e57
AP_RPM: implement arming_checks()
2021-07-22 07:48:12 +10:00
Andrew Tridgell
9b78fa7fb8
HAL_SITL: implement valid_pin()
2021-07-22 07:48:12 +10:00
Andrew Tridgell
d302d3c90a
HAL_ChibiOS: implement valid_pin()
2021-07-22 07:48:12 +10:00
Andrew Tridgell
4dcff3d900
AP_HAL: added valid_pin() GPIO API
2021-07-22 07:48:12 +10:00
Andrew Tridgell
a0ef4f76e2
AP_RangeFinder: replaced Pixhawk with more appropriate wording in docs
2021-07-22 07:48:12 +10:00
Andrew Tridgell
6888ddc4cc
AP_LeakDetector: replaced Pixhawk with more appropriate wording in docs
2021-07-22 07:48:12 +10:00
Andrew Tridgell
b6dbc618dc
AP_Compass: replaced Pixhawk with more appropriate wording in docs
2021-07-22 07:48:12 +10:00
Andrew Tridgell
fdd294b0f3
AP_BoardConfig: replaced Pixhawk with more appropriate wording in docs
2021-07-22 07:48:12 +10:00
Andrew Tridgell
b0fc5c3041
AP_WindVane: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
8b388f80c5
AP_WheelEncoder: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
9691581c81
AP_RSSI: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
095ab7c9d7
AP_RPM: replaced PixhawkAUX1 with AUX1
...
not everything is a pixhawk
2021-07-22 07:48:12 +10:00
Andrew Tridgell
25057d26a0
AP_WindVane: default pins to -1
2021-07-22 07:48:12 +10:00
Andrew Tridgell
d0a26b6dc6
AP_WheelEncoder: default pins to -1
2021-07-22 07:48:12 +10:00
Andrew Tridgell
958843c0a9
AP_RSSI: default RSSI pin to -1
2021-07-22 07:48:12 +10:00
Andrew Tridgell
7eaab583d4
AP_RPM: stop defaulting RPM_PIN to 54
2021-07-22 07:48:12 +10:00
Andrew Tridgell
bbcce717dc
HAL_ChibiOS: stop defaulting relay pins to 54 and 55
...
this just leads to confusion
2021-07-22 07:48:12 +10:00
Andrew Tridgell
0f70b4d8e3
AP_BoardConfig: removed BRD_PWM_COUNT
2021-07-22 07:48:12 +10:00
Andrew Tridgell
54e53ed71c
HAL_ChibiOS: use is_GPIO() instead of BRD_PWM_COUNT
2021-07-22 07:48:12 +10:00
Andrew Tridgell
874757a955
SRV_Channel: added k_GPIO and is_GPIO()
2021-07-22 07:48:12 +10:00
Peter Barker
a6a18fe193
AP_AHRS: punt to correct parent class when no index for getCorrectedDeltaVelocityNED
2021-07-21 21:01:39 +10:00
Peter Barker
b450a96698
AP_AHRS: shuffle AP_AHRS classes
2021-07-21 21:01:39 +10:00
Peter Barker
e1b839f739
GCS_MAVLink: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
1ae7d68988
AP_VisualOdom: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
7cca7513a1
AP_Vehicle: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
e1162f0a66
AP_SmartRTL: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
ed5303d1b8
AP_OpticalFlow: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
48e9fa7ebd
AP_NMEA_Output: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
ee069a081b
AP_Mount: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
da11b6be77
AP_Module: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
b1bd699a73
AP_Logger: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
dbc24d5cd3
AP_InertialNav: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
2bd8a45c58
AP_Common: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
8396925ece
AC_WPNav: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
63015e9e9a
AC_PrecLand: fixes
2021-07-21 21:01:39 +10:00
Peter Barker
6aba6c83c6
AC_PrecLand: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
5046083863
AC_AttitudeControl: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
ec17abce2e
GCS_MAVLink: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Peter Barker
2926ffcd2f
AP_Vehicle: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Peter Barker
b9c4d40c46
AP_NMEA_Output: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Peter Barker
85bd9de903
AP_Mount: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Peter Barker
a3ee979b9c
AP_InertialNav: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Peter Barker
0d391533b0
AP_AHRS: remove ability to use DCM as AHRS
2021-07-21 21:01:39 +10:00
Pierre Kancir
a7f14efef2
AC_WPNav: remove unused variable following https://github.com/ArduPilot/ardupilot/pull/18076
2021-07-21 19:00:15 +10:00
Peter Barker
d2102ce9b7
APM_Control: stop taking references to ahrs in APM_Control
2021-07-21 18:27:23 +10:00
Andrew Tridgell
cbf549b1eb
AP_Airspeed: fixed display of ARSPD_DEVID when ARSPD2_TYPE=0
2021-07-21 18:22:11 +10:00
Peter Barker
795f412264
AP_NavEKF3: pass NavEKF failures back up to callers
2021-07-21 18:02:26 +10:00
Peter Barker
b5f165ce2e
AP_NavEKF2: pass NavEKF failures back up to callers
2021-07-21 18:02:26 +10:00
Peter Barker
141e2aae91
AP_AHRS: pass NavEKF failures back up to callers
2021-07-21 18:02:26 +10:00
Andrew Tridgell
fc2118f42b
AP_NavEKF3: process GPS yaw independently of GPS fix
...
this processes GPS yaw with its own timestamp and as a separated step
from fusing position and velocity. This makes the yaw time handling
more accurate as yaw for moving baseline GPS comes in as a separate
piece of data from the position and velocity
2021-07-21 17:59:49 +10:00
Andrew Tridgell
17f93b8a94
AP_DAL: update GPS yaw API to add timestamp
2021-07-21 17:59:49 +10:00
Andrew Tridgell
e5d878eebd
AP_GPS: change handling of moving baseline yaw
...
this changes yaw handling in a few ways:
- GPS yaw now has a timestamp associated with the yaw separate from
the timestamp associated with the GPS fix
- we no longer force the primary to change to the UBLOX MB rover when
it has a GPS yaw. This means we don't change GPS primary due to GPS
loss, which keeps the GPS more stable. It also increases accuracy
as the rover is always less accurate in position and velocity than
the base
- now we force the primary to be the MB base if the other GPS is a
rover and the base has GPS lock
2021-07-21 17:59:49 +10:00
Andrew Tridgell
0b9cde5812
AP_NavEKF3: fixed indentation in readGpsData()
2021-07-21 17:59:49 +10:00
Andy Piper
ca477d09ed
AP_BLHeli: ensure correct rotation through telemetry ESCs
2021-07-21 17:18:12 +10:00
bugobliterator
48b8fdfd48
AP_HAL_ChibiOS: make linecoding objects static arrays
2021-07-21 17:06:41 +10:00
bugobliterator
4b8b0f834d
AP_HAL: add support for usb passthrough with baud changes
2021-07-21 17:06:41 +10:00
bugobliterator
d1b0438412
AP_HAL_ChibiOS: add support for usb passthrough with baud changes
2021-07-21 17:06:41 +10:00
bugobliterator
f3bc75c538
GCS_MAVLink: add support for passthrough with baud changes
2021-07-21 17:06:41 +10:00
Michael Oborne
d622aad592
AP_HAL_ChibiOS: add get_usb_baud - support for usb baudrate
2021-07-21 17:06:41 +10:00
Willian Galvani
57c6f54a51
AP_LeakDetector: update leak pin for navigator r3 in metadata
...
follow-up to 397def7b9e
2021-07-21 17:04:27 +10:00
Randy Mackay
c55c160f48
AC_WPNav: use get_terrain_margin instead of constant
2021-07-21 16:03:44 +09:00
Randy Mackay
fb5c458132
AC_WPNav: add TER_MARGIN param
2021-07-21 16:03:44 +09:00
Leonard Hall
ff1843a79c
AC_AttitudeControl: AC_PosControl: Auto Terain following update
2021-07-21 16:03:44 +09:00
Leonard Hall
5dcfee07d9
AC_WPNav: Auto Terain following update
2021-07-21 16:03:44 +09:00
Leonard Hall
9d845759f8
AC_PosControl: Add MAX(bla,0) because safe_sqrt isn't safe
2021-07-21 15:40:41 +09:00
Leonard Hall
ce254153c1
WP_Nav: Return Crosstrack error
2021-07-21 15:40:41 +09:00
Leonard Hall
f130503cc7
AC_AttitudeControl: AC_PosControl: calculate cross track
2021-07-21 15:40:41 +09:00
Peter Barker
b89824b3ba
AP_NavEKF: log EKF data source set in XKFS
2021-07-21 16:31:53 +10:00
Peter Barker
a4410a4b2e
AP_NavEKF3: log EKF data source set in XKFS
2021-07-21 16:31:53 +10:00
bugobliterator
6988bf862b
AP_NavEKF: fix running out of max stack limit on debug builds
2021-07-21 11:27:52 +10:00
Peter Barker
a92fc7845c
AP_AHRS: remove unused active_accel_instance
...
Not a great member function as only DCM updates this
2021-07-20 20:37:40 +10:00
Peter Barker
b185d84dc5
AP_AHRS: remove unused _gps_delay variable
2021-07-20 15:24:45 +09:00
honglang
ef109721fe
AP_HAL_ChibiOS: hwdef: reorder CUAV-X7 IMUs
...
adjust the sequence of IMU sensors to have good performance.
2021-07-20 16:10:50 +10:00
Peter Barker
dc5656d34a
AP_AHRS: remove accessors only used internally
2021-07-20 12:38:57 +10:00
Iampete1
ffe91fc80e
AP_BLHeli: update rover motors include
2021-07-20 10:48:01 +09:00
Iampete1
e75d3b68e6
AP_Motors: move AP_MotorsUGV to new AR_Motors directory
2021-07-20 10:48:01 +09:00
Iampete1
d158199a7a
AP_Scripting: add bindings and example for dynamic motor mixer
2021-07-20 09:19:28 +10:00
Iampete1
6848cbc241
AP_Motors: add scripting dynamic mixer, allowing varable geometry vehicles
2021-07-20 09:19:28 +10:00
Iampete1
a6795a8e45
AP_Scripting: support depends keyword on userdata
2021-07-20 09:19:28 +10:00
Iampete1
aad459d447
AP_Scripting: support array userdata feilds
2021-07-20 09:19:28 +10:00
Andrew Tridgell
f969dbe411
RC_Channel: added training mode RC option
2021-07-20 09:00:46 +10:00
Willian Galvani
9083c97acf
AP_BattMonitor: add Navigator to pins metadata
2021-07-19 12:21:40 -07:00
Josh Henderson
84fb03cb79
AP_BattMonitor: SMBus remove unused bool returns
2021-07-18 16:13:06 -07:00
Josh Henderson
0d64782220
AP_BattMonitor: remove temp var for SMBus read_full_charge_capacity
2021-07-18 16:13:06 -07:00
Josh Henderson
8af12608df
AP_BattMonitor: make NeoDesign obey SMBUS_ENABLE
2021-07-18 15:16:57 -07:00
Peter Barker
d47a032a09
AP_Vehicle: explicitly number ModeReason enumeration values
...
These are logged, and mapping back is much easier if you have this
numbering
2021-07-17 09:27:38 +10:00
Andrew Tridgell
2bd04c14fd
AP_OSD: move OSD_LINK_Q_* to a new param table
...
this gives us room for up to 63 more entries
2021-07-16 13:27:38 +10:00
Hwurzburg
ca92d73f25
AP_OSD: Add RX Link Quality Panel
2021-07-16 13:27:38 +10:00
Hwurzburg
55af794a2f
RC_Channel: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Hwurzburg
983c7aba2f
AP_RSSI: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Hwurzburg
c5f53fc0b6
AP_RCProtocol: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Hwurzburg
df0c9a42cb
AP_Logger: Add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Hwurzburg
d806d8a26d
AP_HAL: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Hwurzburg
0f2f6ccc80
AP_HAL_ChibiOS: add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Andrew Tridgell
a098c80671
HAL_ChibiOS: use DNA for node allocation on Matek GPS
...
this works as MSP is now active when a DNA server is not found
2021-07-15 14:38:11 +10:00
Andrew Tridgell
db1df9d3a8
HAL_ChibiOS: raise DMA contention threshold for H7
2021-07-15 11:31:55 +10:00
Andrew Tridgell
8430f48375
AP_SerialManager: document DisableFIFO bit
2021-07-15 11:31:55 +10:00
Andrew Tridgell
e517a47f9b
AP_SerialManager: call set_options() before first UART use
...
this ensures options are set before the first begin() call
2021-07-15 11:31:55 +10:00
Andrew Tridgell
926d4ad71c
HAL_ChibiOS: implement NOFIFO option for uarts
2021-07-15 11:31:55 +10:00
Andrew Tridgell
269c4084d2
AP_HAL: added serial option for disabling FIFO on uarts
2021-07-15 11:31:55 +10:00
Siddharth Purohit
0138266fee
AP_HAL: disable cast align check while casting char* read pointer to object
2021-07-15 07:50:12 +10:00
bugobliterator
0e7571c733
AP_EFI: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
bugobliterator
0b505c491c
AP_CANManager: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
bugobliterator
e8e5f49640
AP_BLHeli: fix casting without ensuring alignment
2021-07-15 07:50:12 +10:00
Andy Piper
60b0df0a25
AP_HAL_ChibiOS: only control widest pulse for dshot and oneshot
2021-07-14 17:50:06 +10:00
Peter Barker
78e0e52542
SITL: add simulated ms5611 baro
2021-07-14 17:46:15 +10:00
Peter Barker
b184341424
SITL: add subclass for MS5525
2021-07-14 17:46:15 +10:00
Peter Barker
aa97c5b714
SITL: adjust MS5XXX to be new base class
2021-07-14 17:46:15 +10:00
Peter Barker
50d7fc353f
SITL: rename SIM_MS5525 to SIM_MS5XXX
2021-07-14 17:46:15 +10:00
Andrew Tridgell
416c0724d2
AP_Common: use double precision for more location functions when available
...
this makes the location functions more accurate at long distances when
EKF double enabled
2021-07-14 17:34:40 +10:00
Andrew Tridgell
7550368fc7
HAL_SITL: update for changed SITL API
2021-07-14 17:34:40 +10:00
Andrew Tridgell
5eaf76cdc8
SITL: separate origin and home in SITL
...
this allows for accurate sensor data when flying a very long distance
from the takeoff location
2021-07-14 17:34:40 +10:00
Andrew Tridgell
6b73c2151a
AP_NavEKF3: implement moving origin
...
this shifts EKF_origin to the current location at 1Hz, while leaving
public_origin alone. All output APIs and logging are relative to
public_origin.
The effect of this change is to remove the distortion caused by a
spherical earth, which allows the EKF to operate without errors at
very long distances from the public_origin.
2021-07-14 17:34:40 +10:00
Andrew Tridgell
3ded1e6c10
AP_Common: added ftype precision offset call
2021-07-14 17:34:40 +10:00
Peter Barker
7375d1949c
SITL: add support for ms5525 i2c sensor
2021-07-13 12:00:37 +10:00
Randy Mackay
50ce79bcf6
AP_Torqeedo: simple driver to control torqeedo 1003 motor
...
includes fixes from peer review
2021-07-13 10:01:14 +09:00
Randy Mackay
7e68ce5c86
AP_SerialManager: add torqeedo to list of supported protocols
...
note that serial7_protocol and serial8_protocol param lists were missing 37:SmartAudio so this was also added
2021-07-13 10:01:14 +09:00
Randy Mackay
6c180994cd
AP_Math: add support for crc8_maxim
...
Thanks to FastCRC
2021-07-13 10:01:14 +09:00
Hwurzburg
448ae368b1
RC_Channel: fix ELRS systems spamming CRSF mode/rate messages
2021-07-13 09:52:53 +10:00
Hwurzburg
ceeabb85a5
AP_RCTelemetry: fix ELRS systems spamming CRSF mode/rate messages
2021-07-13 09:52:53 +10:00
Leonard Hall
a32b5b3bb0
AC_AttitudeControl: Allow yaw rate reset to be de-selected
2021-07-13 09:51:36 +10:00
Peter Barker
ddb7378bdd
AP_Terrain: add setter for terrain-enabled
...
Currently only useful for unit test
2021-07-12 17:34:44 +10:00
Peter Barker
fc2338612e
AP_Common: stop setting terrain pointer in test_location
...
Also enable/disable as required for testing
2021-07-12 17:34:44 +10:00
Peter Barker
0a068d4d4b
AP_Terrain: default terrain to off in Sub
2021-07-12 17:34:44 +10:00
Peter Barker
f75e258606
SITL: SIM_Ship: correct GLOBAL_POSITION_INT message altitude
2021-07-12 17:34:44 +10:00
Peter Barker
05a0205c21
SITL: change to use terrain singleton
2021-07-12 17:34:44 +10:00
Peter Barker
b625596dfa
AP_Common: use singleton to access AP_Terrain data
2021-07-12 17:34:44 +10:00
Peter Barker
2d28c1065e
AC_WPNav: use singleton to access AP_Terrain data
2021-07-12 17:34:44 +10:00
Peter Barker
de404b1999
AP_Terrain: allow AP_TERRAIN_AVAILABLE to be set in hwdef
...
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Andrew Tridgell
98fb4fcbe7
AP_NavEKF3: convert code_gen.py to ftype
2021-07-12 17:27:08 +10:00
Andrew Tridgell
44f098c86d
AP_NavEKF3: convert powF(xx,2) calls to sq(xx)
2021-07-12 17:27:08 +10:00
Andrew Tridgell
ae8dbe36bb
AP_NavEKF3: convert EKF3 derivation to ftype
2021-07-12 17:27:08 +10:00
Andrew Tridgell
5f87335325
AP_Airspeed: review updates
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-07-12 17:14:59 +10:00
Andrew Tridgell
70bb470eb0
AP_Airspeed: fixed AP_Periph build
2021-07-12 17:14:59 +10:00
Andrew Tridgell
0bdd8231cf
AP_Airspeed: added ARSPD_OPTIONS bit for disabling voltage correction
...
if the MS4525 has its own LDO then we are should disable the
correction
2021-07-12 17:14:59 +10:00
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
2021-07-12 17:14:59 +10:00
Andrew Tridgell
7f85b413f2
AP_Airspeed: use GCS_SEND_TEXT instead of printf for sensor probe messages
2021-07-12 17:14:59 +10:00