mirror of https://github.com/ArduPilot/ardupilot
AP_Landing: make AHRS attitude member variables private
This commit is contained in:
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;
|
||||
|
|
Loading…
Reference in New Issue