Commit c6e6ba74 authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

t/psmv: Expose ball last position to debug gui

parent 47bc4de5
......@@ -642,6 +642,7 @@ t_psmv_create(struct xrt_frame_context *xfctx,
// Everything is safe, now setup the variable tracking.
u_var_add_root(&t, "PSMV Tracker", true);
u_var_add_vec3_f32(&t, &t.tracked_object_position, "last.ball.pos");
u_var_add_sink(&t, &t.debug.sink, "Debug");
*out_sink = &t.sink;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment