We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da681f commit 6ab1312Copy full SHA for 6ab1312
libraries/AC_WPNav/AC_WPNav_OA.cpp
@@ -65,7 +65,7 @@ int32_t AC_WPNav_OA::get_wp_bearing_to_destination() const
65
/// true when we have come within RADIUS cm of the waypoint
66
bool AC_WPNav_OA::reached_wp_destination() const
67
{
68
- return (_oa_state == AP_OAPathPlanner::OA_NOT_REQUIRED) && AC_WPNav::reached_wp_destination();
+ return AC_WPNav::reached_wp_destination();
69
}
70
71
/// update_wpnav - run the wp controller - should be called at 100hz or higher
0 commit comments