2026.6.24修改转换链路中逻辑错误,保证初始状态正常
This commit is contained in:
+3
-2
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user