Add prepared urban route guidance to Gaussian simulation planning
Introduce a content-bound scene route provider, advisory runtime graph and plan-preview-launch workflow. Preserve live sensing authority and retire blocked intermediate goals without discarding final-arrival evidence. Bound native visual context losslessly and provide verified cache relocation. Full Maroseyka route qualification remains open.
This commit is contained in:
@@ -236,7 +236,10 @@ def main():
|
||||
).encode()
|
||||
).hexdigest(),
|
||||
}
|
||||
from k1link.simulation.ai_polygon.route_preparation import provider_identity
|
||||
|
||||
hello = {
|
||||
"route_provider_sha256": provider_identity(),
|
||||
"worker_id": "worker-006-ai-polygon",
|
||||
"instance_id": instance,
|
||||
"runtime": "isaac-sim-6.1",
|
||||
@@ -320,10 +323,15 @@ def main():
|
||||
raise
|
||||
connect()
|
||||
editor_marker = args.state / "editor-active.json"
|
||||
route_marker = args.state / "route-active.json"
|
||||
while True:
|
||||
try:
|
||||
# A prior coordinator's Windows Job killed all native descendants on exit.
|
||||
# Retain the marker until Core accepts that resource-release receipt.
|
||||
if route_marker.exists():
|
||||
key = read_json(route_marker)["key"]
|
||||
client.request("/worker/route-preparations/" + key, {"action": "release"})
|
||||
route_marker.unlink()
|
||||
if editor_marker.exists():
|
||||
key = read_json(editor_marker)["key"]
|
||||
client.request("/worker/editor-cache/" + key, {"action": "release"})
|
||||
@@ -335,6 +343,16 @@ def main():
|
||||
if polled["action"] == "idle":
|
||||
time.sleep(0.5)
|
||||
continue
|
||||
if polled["action"] == "route-preparation":
|
||||
from route_preparer import prepare_route
|
||||
|
||||
route_job = NativeJob()
|
||||
write_json(route_marker, {"key": polled["preparation"]["key"]})
|
||||
try:
|
||||
prepare_route(client, polled["preparation"], args.state, args.isaac, route_job)
|
||||
finally:
|
||||
route_job.close()
|
||||
continue
|
||||
if polled["action"] == "editor-cache":
|
||||
from editor_assets import prepare_editor
|
||||
|
||||
@@ -391,7 +409,7 @@ def main():
|
||||
from project_assets import prepare_project
|
||||
|
||||
source, terrain_path = prepare_project(
|
||||
client, run, args.state, episode, job, preparation_pulse
|
||||
client, run, args.state, episode, job, preparation_pulse, args.isaac
|
||||
)
|
||||
else:
|
||||
terrain_path = prepare_terrain(
|
||||
|
||||
Reference in New Issue
Block a user