Preflight Planner Update
This commit is contained in:
@@ -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