fix: ManagerVerification waypoint 缺 Speed 字段

This commit is contained in:
tian 2026-06-17 23:25:08 +08:00
parent ebebb41671
commit 5909c86402
4 changed files with 24 additions and 2 deletions

View File

@ -42,8 +42,8 @@ namespace CounterDrone.Unity
scenarioMgr.SaveRoute(taskId, "default", new RoutePlan { FormationMode = (int)FormationMode.Single },
new List<Waypoint>
{
new Waypoint { PosX = 0, PosY = 500, PosZ = 0 },
new Waypoint { PosX = 10000, PosY = 500, PosZ = 0 },
new Waypoint { PosX = 0, PosY = 500, PosZ = 0, Speed = 200 },
new Waypoint { PosX = 10000, PosY = 500, PosZ = 0, Speed = 200 },
});
scenarioMgr.UpdateStep(taskId, 3);
Debug.Log("3. Scenario configured");

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: abeddec91a5829747bed793a7cb1a68b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 744c7038893d5794685eb5d11fb92ac5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2205c1a8349298349ba54c5a108d129a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: