Commit Graph

16 Commits

Author SHA1 Message Date
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
Iampete1 dc0491a8ff AP_AHRS_view: add rotate method to move from AHRS to AHRS view referance frames 2022-06-21 10:01:30 +10:00
Iampete1 e56b6d2765 AP_AHRS: View: get_gyro_latest should include pitch trim. 2022-02-15 11:08:05 +11:00
Peter Barker 9dbd9d1e06 AP_AHRS: call INS update in AP_AHRS::update w/o holding data sem
We shouldn't be holding the data semaphore while waiting for the samples
- lots of things might be unnecessarily blocked

DCM's update function doesn't need to take the semaphore as it is
already taken by AP_AHRS
2021-08-31 14:28:53 +10:00
Andrew Tridgell f896213770 AP_AHRS: drop rotate prefix on 2D rotates 2020-06-04 09:49:52 +10:00
Mark Whitehorn da1e5bc61f AP_AHRS: refactor View
* AP_AHRS: refactor View
2019-03-26 10:41:55 +11:00
IamPete1 d78275c0a3 AP_AHRS: rotate if none zero pitch trim 2019-03-26 10:41:55 +11:00
Mark Whitehorn 0e2e077d96 AP_AHRS: add method to set pitch trim 2019-02-12 09:42:19 +11:00
Andrew Tridgell 33b26da2eb AP_AHRS: small cleanups
always pass the pitch trim, and removed unusued variables
2018-11-12 17:05:04 +11:00
IamPete1 e1cdf9fe0a AP_AHRS: add trimed view 2018-11-12 17:05:04 +11:00
Andrew Tridgell 0b5e3936fe AP_AHRS: added earth to body 2D rotations 2018-02-08 17:36:33 +11:00
Andrew Tridgell 6b6ad6ddf2 AP_AHRS: fixed wrap of yaw in AHRS_View 2017-04-17 12:15:19 +10:00
Andrew Tridgell a11dca5229 AP_AHRS: added optional skip_ins_update to AHRS::update()
avoid the ins update if already done in copter fast_loop()
2017-04-03 13:04:11 +09:00
Randy Mackay d3aca5544e AP_AHRS: get_gyro_latest returns latest rates from IMU with drift correction
Pulling the gyro values from the IMU allows our rate controllers to run before the EKF
2017-03-03 13:14:28 +11:00
Andrew Tridgell c62c64d27b AP_AHRS: added support for AP_AHRS_View 2017-02-18 17:26:43 +11:00
Andrew Tridgell 1345bf8737 AC_AttitudeControl: added support for AP_AHRS_View
this allows for tailsitters with a different attitude view
2017-02-18 17:26:43 +11:00