Update src/modules/navigator/mission_block.cpp

Co-authored-by: Matthias Grob <maetugr@gmail.com>
This commit is contained in:
Silvan Fuhrer 2024-02-12 17:03:39 +01:00 committed by Matthias Grob
parent a6ef7b6da9
commit c9ad60e3cc
1 changed files with 1 additions and 2 deletions

View File

@ -946,8 +946,7 @@ void MissionBlock::setLoiterToAltMissionItem(mission_item_s &item, const Positio
} }
void MissionBlock::setLoiterHoldMissionItem(mission_item_s &item, const PositionYawSetpoint &pos_yaw_sp, void MissionBlock::setLoiterHoldMissionItem(mission_item_s &item, const PositionYawSetpoint &pos_yaw_sp,
float loiter_time, float loiter_time, float loiter_radius) const
float loiter_radius) const
{ {
const bool autocontinue = (loiter_time > -FLT_EPSILON); const bool autocontinue = (loiter_time > -FLT_EPSILON);