2026.6.24修改转换链路中逻辑错误,保证初始状态正常

This commit is contained in:
2026-06-24 15:19:26 +08:00
parent 0eecf7ef20
commit 5e4f02fce1
2 changed files with 24 additions and 3 deletions
+3 -2
View File
@@ -507,14 +507,15 @@ def main():
# 允许命令行指定配置文件路径
config_file = sys.argv[1] if len(sys.argv) > 1 else "./config.json"
# 也可以传入固定点
# waypoints = [
# {'x': 1.0, 'y': 0.0, 'z': -1.5, 'yaw': 0},
# {'x': 1.0, 'y': 1.0, 'z': -1.5, 'yaw': 90},
# {'x': 0.0, 'y': 0.0, 'z': -1.2, 'yaw': 0},
# ]
# orchestrator = MissionOrchestrator(config_path=config_file,waypoints=waypoints)
orchestrator = MissionOrchestrator(config_path=config_file,waypoints=None)
orchestrator = MissionOrchestrator(config_path=config_file,waypoints=[])
orchestrator.start()
orchestrator.run()