mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Landing: make AHRS attitude member variables private
This commit is contained in:
committed by
Peter Barker
parent
91fbe46466
commit
c821726bf4
@@ -644,7 +644,7 @@ float AP_Landing_Deepstall::update_steering()
|
||||
L1_xtrack_i = constrain_float(L1_xtrack_i, -0.5f, 0.5f);
|
||||
nu1 += L1_xtrack_i;
|
||||
}
|
||||
desired_change = wrap_PI(radians(target_heading_deg) + nu1 - landing.ahrs.yaw) / time_constant;
|
||||
desired_change = wrap_PI(radians(target_heading_deg) + nu1 - landing.ahrs.get_yaw()) / time_constant;
|
||||
}
|
||||
|
||||
float yaw_rate = landing.ahrs.get_gyro().z;
|
||||
|
||||
Reference in New Issue
Block a user