Preflight Planner Update
This commit is contained in:
1 parent
c7e9f81f55
commit
42e4fa28a9
10 files changed
+781
-403
No files matched your search
@@ -91,7 +91,7 @@ def get_landing_id():
|
||||
if search_cfg.exists():
|
||||
with open(search_cfg) as f:
|
||||
cfg = yaml.safe_load(f) or {}
|
||||
land_ids = cfg.get("actions", {}).get("land", [])
|
||||
land_ids = cfg.get("marker", {}).get("landing_ids", [])
|
||||
if land_ids:
|
||||
return land_ids[0]
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user