修复路径规划暂停

修复路径规划继续
修复路径规开始工作
修复路径规停止工作+
This commit is contained in:
2026-03-12 12:49:31 +08:00
parent 0f0d2a89ac
commit 31c399937f
4 changed files with 74 additions and 24 deletions

View File

@@ -145,7 +145,7 @@ class PathPlanner {
_isPaused = true;
var entity = new RoutePlanSendEntity(
commandType: 0x02,
commandType: 0x01,
pointCounts: 2,
targetLatitude: 0,
targetLongitude: 0,
@@ -160,7 +160,7 @@ class PathPlanner {
_isPaused = false;
var entity = new RoutePlanSendEntity(
commandType: 0x02,
commandType: 0x01,
pointCounts: 3,
targetLatitude: 0,
targetLongitude: 0,
@@ -182,7 +182,7 @@ class PathPlanner {
_isPaused = false; // 清除暂停状态
var entity = new RoutePlanSendEntity(
commandType: 0x02,
commandType: 0x01,
pointCounts: 0,
targetLatitude: 0,
targetLongitude: 0,