Files
Frametop--frametop/pointer/probe/build.sh
T
DeeJanuzandClaude Opus 5.5 44c99f2980 Pointer: treadmill role in the driver, and probes for hand interaction
The driver takes "role treadmill" and hints its role from Activate, so a
treadmill gets /user/treadmill (from gaze-first 87a6393); the compositor
binding has the /user/treadmill entries. The default role stays the right
hand until the helper side is ready. docs/design.md says why (Treadmill role).

Probes for frame-hands/notes/hand-interaction.md section 7:
- pointer/probe/lasertest (from gaze-first): who has the laser, claim time
- pointer/probe/ctlnoise: controller pose noise, activity level, charging
- vrprobe prints each device's activity level and charging
- input/vrws.py --touch prints touch and value components

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 21:24:43 -06:00

15 lines
763 B
Bash
Executable File

#!/usr/bin/env bash
# Build the probes in the dev container on the Frame (pointer/probe/build/):
# vrprobe devices, roles, activity levels, charging, the dashboard's pointer device
# lasertest who has SteamVR's laser mouse, and how fast our device takes it back
# ctlnoise controller pose noise, resting and held still (the handoff arbiter's thresholds)
set -euo pipefail
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
"$root/scripts/sync.sh" >/dev/null
exec "$root/scripts/frame.sh" -C pointer/probe 'set -e; mkdir -p build
. ../../scripts/openvr.sh
for p in vrprobe lasertest ctlnoise; do
g++ -std=c++17 -O2 -Wall $OPENVR_CFLAGS -I../common -o build/$p $p.cpp $OPENVR_LIBS
done
echo "built build/vrprobe build/lasertest build/ctlnoise"'