mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
WP_Nav: Return Crosstrack error
This commit is contained in:
parent
d6df47fd06
commit
6f26ca6b65
@ -211,7 +211,7 @@ public:
|
|||||||
void update_track_with_speed_accel_limits();
|
void update_track_with_speed_accel_limits();
|
||||||
|
|
||||||
/// return the crosstrack_error - horizontal error of the actual position vs the desired position
|
/// 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[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user