position_setpoint delete unused SETPOINT_TYPE_FOLLOW_TARGET

This commit is contained in:
Daniel Agar
2022-09-18 13:03:28 -04:00
parent c707997b9e
commit 11dd924bd4
3 changed files with 1 additions and 9 deletions
@@ -480,12 +480,6 @@ bool FlightTaskAuto::_evaluateTriplets()
_yawspeed_setpoint = _weathervane.getWeathervaneYawrate();
}
} else if (_type == WaypointType::follow_target && _sub_triplet_setpoint.get().current.yawspeed_valid) {
_yawspeed_setpoint = _sub_triplet_setpoint.get().current.yawspeed;
_yaw_setpoint = NAN;
} else {
if (!_is_yaw_good_for_control) {
_yaw_lock = false;