uplink — Push mock telemetry into a visualizer¶
Connects to a visualizer /ws/uplink endpoint and continuously publishes a
synthetic telemetry payload whose vectors vary around the origin.
The payload matches the visualizer’s default binding paths:
export.solver.B.tippoint3d_cexport.solver.B.markerpoint3d_cexport.flags.model_visible
Usage¶
# Publish forever to the local visualizer backend
s6 uplink
# Target a different visualizer and slow the stream down
s6 uplink --uplink ws://127.0.0.1:5173/ws/uplink --hz 10
# Send a finite burst for testing
s6 uplink --count 50 --radius 0.05 --marker-offset 0.02
How it works¶
Opens a client WebSocket connection to
--uplink.Generates a deterministic sinusoidal
vector3daround(0, 0, 0)in solver space.Uses that vector as the mock tip point and applies
--marker-offseton X for the marker point.Sends raw JSON snapshots so the visualizer Node uplink hub can broadcast them directly to browser clients.