AP_AHRS: PosControl fixes

This commit is contained in:
Leonard Hall 2021-05-03 23:31:09 +09:30 committed by Andrew Tridgell
parent 34fa62d51c
commit bddf6602f0
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ void AP_AHRS_View::Write_Rate(const AP_Motors &motors, const AC_AttitudeControl
const AC_PosControl &pos_control) const
{
const Vector3f &rate_targets = attitude_control.rate_bf_targets();
const Vector3f &accel_target = pos_control.get_accel_target();
const Vector3f &accel_target = pos_control.get_accel_target_cmss();
const struct log_Rate pkt_rate{
LOG_PACKET_HEADER_INIT(LOG_RATE_MSG),
time_us : AP_HAL::micros64(),