Peter Barker
f5d81abb42
AP_AHRS: return EAS from get_unconstrained_airspeed_EAS
...
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Peter Barker
46b9f06011
AP_AHRS: use TAS in DCM drift correction code
...
Co-authored-by: luweiagi <luweiagi@163.com>
2024-12-18 19:10:15 +11:00
Peter Barker
84440108e3
AP_AHRS: rename DCM members to clarify EAS vs TAS
2024-12-17 20:17:48 +11:00
Peter Barker
d68b95e60e
AP_AHRS: remove superfluous linefeed from panic strings
...
panic adds this within the HAL layer.
2024-12-14 10:06:13 +11:00
Andy Piper
02f25e81f8
AP_AHRS: correct get_accel() to use primary accel rather than first usable for scripting
2024-11-13 19:44:17 +11:00
muramura
5e47fa1353
AP_AHRS: Change the order in which you make judgments
2024-10-25 18:13:57 +11:00
Andrew Tridgell
04d18f1efb
AP_AHRS: support variances from External_AHRS
2024-10-23 06:46:59 +09:00
Peter Barker
8487657137
AP_AHRS: DCM: log estimated wind
2024-10-08 20:57:36 +11:00
Peter Barker
56de7243f5
AP_AHRS: DCM: tidy variable creation
2024-10-08 20:57:25 +11:00
Peter Barker
41753b43d7
AP_AHRS: DCM: remove unused variable
2024-10-08 11:10:26 +11:00
Andrew Tridgell
1e310ac86f
AP_AHRS: add option to disable the EKF check for airspeed
...
for some flight profiles (such as glider pullup) the EKF airpeed
consistency check may be triggered, leading to a valid airspeed being
ignored, which can lead TECS to be in non-airspeed mode
2024-09-29 11:06:05 +10:00
Peter Barker
8290f15f2d
AP_AHRS: re-order initialiser lines so -Werror=reorder will work
2024-09-24 22:50:28 +10:00
muramura
8b5c5fcdb7
AP_AHRS: use UINT8_MAX as flag value in place of 255
2024-09-13 09:17:17 +10:00
Andy Piper
4f4e822d88
AP_AHRS: move Write_Rate() to AC_AttitudeControl
...
move RATE log structure to AC_AttitudeControl
2024-09-10 16:33:04 +01:00
Andy Piper
8dee817acf
AP_AHRS: log attitude and attitude target at full resolution in degrees
2024-09-10 10:54:55 +10:00
Andrew Tridgell
be5ecab686
AP_AHRS: added common origin logic
...
this aligns the origin between EKF2, EKF3 and ExternalAHRS, making for
smooth transitions between AHRS backends in flight
2024-09-10 09:28:50 +10:00
Peter Barker
61de480f62
AP_AHRS: log DCM errrp and erryaw into DCM message
2024-09-09 15:17:15 +10:00
Tatsuya Yamaguchi
f58d88d144
AP_AHRS: use SourceSetSelection enum class
2024-09-08 10:02:29 +10:00
Andrii Fil
3344dba627
AP_AHRS: support MAV_CMD_EXTERNAL_WIND_ESTIMATE
2024-09-04 10:14:45 +10:00
Peter Barker
c5b9d1dcbb
AP_AHRS: add and use pr/EK3_FEATURE_OPTFLOW_FUSION
2024-09-02 11:53:12 +10:00
Peter Barker
a325ddbfa9
AP_AHRS: rename ins get_primary_accel to get_first_usable_accel
2024-06-26 17:12:12 +10:00
Peter Barker
7ea2e60b5a
AP_AHRS: clarify frame of get_location_from_origin_offset
...
... by renaming it get_location_from_origin_offset_NED
2024-06-11 14:57:56 +10:00
Andrew Tridgell
54017b820b
AP_AHRS: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
5a439bb9b7
AP_AHRS: added get_air_density_ratio()
2024-05-07 21:19:06 +10:00
Andrew Tridgell
b161bdd6a9
AP_AHRS: prevent use of uninitialised EAS2TAS
2024-05-05 07:57:54 +10:00
Peter Barker
9df6beb181
AP_AHRS: add and use AP_HOME_ENABLED
2024-04-17 18:09:25 +10:00
Peter Barker
b95bd8f19d
AP_AHRS: remove call to get_home()
...
this is our object, we don't need permission
2024-04-16 08:47:15 +09:00
Clyde McQueen
f422537f70
AP_AHRS: set_origin calls Log_Write_Home_And_Origin on success
2024-04-02 11:00:22 +11:00
Peter Barker
2292a73da1
AP_AHRS: stop passing serial manager to GPS init
...
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
8d2109faec
AP_AHRS: avoid use of AP_Motors include in header
2024-03-16 07:14:26 +11:00
Peter Barker
a836bd8583
AP_AHRS: add and use AP_CUSTOMROTATIONS_ENABLED
...
also add to build_options.py
2024-03-03 08:22:46 +11:00
Andrew Tridgell
192d9f6dbd
AP_AHRS: don't use accel/gyro from ExternalAHRS unless enabled
2024-02-27 21:10:20 +11:00
Peter Barker
eb0c66fc90
AP_AHRS: move logger object up to AP_Vehicle
2024-02-13 10:54:29 +11:00
Simon Hancock
186b7be086
AP_AHRS: Updates to log message units and help text
...
Set quaternion component units to no-unit from UNKNOWN
2024-01-21 14:26:54 +11:00
Peter Barker
7cf033efd9
AP_AHRS: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Peter Barker
d7fa5a47de
AP_AHRS: add missing include for GPSUse
2024-01-17 18:18:12 +11:00
Peter Barker
0850a5fa43
AP_AHRS: create and use an AP_AHRS_EXTERNAL_ENABLED
2024-01-17 18:18:12 +11:00
Peter Barker
8b9831dc74
AP_AHRS: correct compilation when AP_AHRS_ENABLED is off
...
e.g. CubeOrange-periph-heavy
2024-01-16 16:14:04 +11:00
Peter Barker
02ef8bf18a
AP_AHRS: use AP_AHRS_BACKEND_DEFAULT_ENABLED for sim and navkef3
2024-01-16 12:16:35 +11:00
Peter Barker
18c5daaa38
AP_AHRS: use a switch statement when falling back to DCM
2024-01-16 12:16:35 +11:00
Peter Barker
f7e94bcc75
AP_AHRS: make AHRS attitude member variables private
2024-01-14 12:47:47 +11:00
Peter Barker
3ed8a434ce
AP_AHRS: add missing SITL header include
...
the singleton is used in this file
2024-01-03 18:33:10 +11:00
Peter Barker
dd0a7a551b
AP_AHRS: do not compile AP_AHRS.cpp if AP_AHRS_ENABLED is 0
...
on Periph we end up not having a default backend, which is a compilation failure
2024-01-03 17:35:54 +11:00
Peter Barker
1e41030167
AP_AHRS: cope with AP_INERTIAL_SENSOR being 0
2024-01-03 17:35:54 +11:00
njwhite
03ae94706e
AP_AHRS: Don't Switch to DCM to get Better GPS if DCM Isn't Using GPS
...
Look at the parameter to see if DCM uses GPS; if not don't prefer DCM for using GPS.
2024-01-01 13:16:04 +11:00
Tom Pittenger
39e7209e33
AP_AHRS: move wind helper functions from AP_Landing
2023-12-26 10:20:23 +11:00
Andrew Tridgell
6f79c1cee2
AP_AHRS: use EKFType enum class in set_ekf_type()
2023-12-17 09:47:30 +11:00
patrick.wiltshire956@gmail.com
bdab1054d6
AP_AHRS: added set_ekf_type() and DCM logging
2023-12-17 09:47:30 +11:00
Paul Riseborough
7601a02e98
AP_AHRS: added AHRS_OPTIONS parameter
...
the first option is to disable DCM fallback on fixed wing. This is
suitable in environments with a high likelyhood of GPS interference
2023-12-05 19:28:50 +11:00
Bob Long
6eed40dec1
AP_InertialNav: add fallback vertical velocity
2023-12-05 10:44:37 +11:00