Unverified Commit 61167155 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #7208 from DonLakeFlyer/master

Default ROI altitude to 0
parents b9d9af59 abfdd937
......@@ -781,6 +781,7 @@ void SimpleMissionItem::_setDefaultsForCommand(void)
case MAV_CMD_NAV_LAND:
case MAV_CMD_NAV_VTOL_LAND:
case MAV_CMD_DO_SET_ROI_LOCATION:
_altitudeFact.setRawValue(0);
_missionItem.setParam7(0);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment