mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 07:33:35 +08:00
FlightTaskAuto: remove warning message
This commit is contained in:
committed by
Lorenz Meier
parent
f62c3c3b8a
commit
288ee2362e
@@ -131,7 +131,6 @@ bool FlightTaskAuto::_evaluateTriplets()
|
||||
if (!PX4_ISFINITE(_yaw_wp)) {
|
||||
_yaw_wp = _yaw;
|
||||
|
||||
} else {
|
||||
}
|
||||
|
||||
_mc_cruise_speed = _sub_triplet_setpoint->get().current.cruising_speed;
|
||||
|
||||
@@ -339,7 +339,6 @@ void FlightTaskAutoLine::_generateXYsetpoints()
|
||||
|
||||
if (PX4_ISFINITE(_yaw_wp)) {
|
||||
yaw_diff = _wrap_pi(_yaw_wp - _yaw);
|
||||
PX4_WARN("Yaw Waypoint not finite");
|
||||
}
|
||||
|
||||
/* If yaw offset is large, only accelerate with 0.5 m/s^2. */
|
||||
|
||||
Reference in New Issue
Block a user