修正当航点切换时,type会变回默认值3的问题
This commit is contained in:
@@ -783,6 +783,8 @@ void WayPointItem::SetDefault(double lat,double lng,float alt,uint16_t seq)
|
||||
property.autocontinue = true;
|
||||
property.mission_type = 3;
|
||||
|
||||
qDebug() << "waypoint item set default" << property.mission_type;
|
||||
|
||||
if(property.command > MAV_CMD::MAV_CMD_NAV_LAST)
|
||||
{
|
||||
qDebug() << "is cmd point";
|
||||
|
||||
Reference in New Issue
Block a user