mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
t/psmv: Expose ball last position to debug gui
This commit is contained in:
parent
47bc4de56d
commit
c6e6ba7485
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue