WP_Nav: Return Crosstrack error

This commit is contained in:
Leonard Hall 2021-07-21 10:07:33 +09:30 committed by Randy Mackay
parent 8e31de412c
commit efd854562f
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public:
void update_track_with_speed_accel_limits();
/// return the crosstrack_error - horizontal error of the actual position vs the desired position
float crosstrack_error() const { return _track_error_xy;}
float crosstrack_error() const { return _pos_control.crosstrack_error();}
static const struct AP_Param::GroupInfo var_info[];