Skip to content

cloudxr: print the runtime/WSS banner from CloudXRLauncher, not each example #943

Description

@jiwenc-nv

Every example that enters CloudXRLauncher.launch_context repeats the same two lines by hand:

print(f"[live] CloudXR runtime started (WSS log: {launcher.wss_log_path})")
print("[live] waiting for headset connection… (Ctrl+C to stop)")

They appear in the mcap_record_replay live and record scripts, deviceio_live_view, noitom, and teleop_ros2, so the wording drifts and a new example has to remember to add them. The launcher already knows the WSS log path and whether it started, attached to, or owns the runtime — it should print this itself.

Raised in review of #927 (#927 (comment)).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions