forked from Archive/PX4-Autopilot
Update src/modules/navigator/mission_block.cpp
Co-authored-by: Matthias Grob <maetugr@gmail.com>
This commit is contained in:
parent
a6ef7b6da9
commit
c9ad60e3cc
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue