Skip to content

examples: add trossen_vr_solo demo#264

Open
abhichothani42 wants to merge 2 commits into
vr-07-vr-session-control-componentfrom
vr-08-example-solo
Open

examples: add trossen_vr_solo demo#264
abhichothani42 wants to merge 2 commits into
vr-07-vr-session-control-componentfrom
vr-08-example-solo

Conversation

@abhichothani42

@abhichothani42 abhichothani42 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the single-arm VR teleop demo: one VR right controller drives one follower arm in Cartesian space, with two cameras and live rerun visualization. Ties together every prior PR in the stack.

Changes

  • Right controller is the cartesian leader; the hand-grip is the deadman switch and re-gripping re-anchors with no jump. Trigger drives the gripper.
  • Right A/B buttons map to session control (A = start/advance, B = re-record); keyboard (ENTER / arrows / Ctrl+C) works as a fallback.
  • config.json wires the arm, two cameras, the VR arm controller, session control, teleop pair, and a rerun observer. README documents flow, config-key defaults, and the live viewer.
  • Adds the trossen_vr_solo target to examples/CMakeLists.txt.

Test Plan

  • Builds cleanly (make build)
  • Tests pass (make test)
  • Lint passes (pre-commit run --all-files)
  • Tested on hardware

Breaking Changes

None.

Related Issues

N/A — part of the VR teleoperation feature stack.

abhichothani42 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new trossen_vr_solo example that demonstrates VR-driven single-arm teleoperation and episode recording using the SDK’s unified JSON config + CLI overrides pattern.

Changes:

  • Introduces a new VR solo demo executable with session control via VR buttons and a keyboard fallback.
  • Adds example documentation and a default config.json for a follower arm + two cameras + one VR controller.
  • Hooks the new example into the examples CMake build.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
examples/trossen_vr_solo/trossen_vr_solo.cpp New VR solo demo: config loading/overrides, hardware + producers setup, VR session control wiring, episode loop.
examples/trossen_vr_solo/README.md New usage + workflow documentation and config-key reference for the demo.
examples/trossen_vr_solo/config.json Default demo configuration (arm, cameras, teleop, VR, backend, observers).
examples/CMakeLists.txt Adds trossen_vr_solo executable target and links it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread examples/trossen_vr_solo/trossen_vr_solo.cpp
Comment thread examples/trossen_vr_solo/trossen_vr_solo.cpp
Comment thread examples/trossen_vr_solo/README.md Outdated
Comment thread examples/trossen_vr_solo/README.md
Add the single-arm VR teleop demo: one VR right controller drives one follower arm in Cartesian space, with two cameras and live rerun visualization.

- Right controller is the cartesian leader; the hand-grip is the deadman switch and re-gripping re-anchors with no jump. Trigger drives the gripper.
- Right A/B buttons map to session control (A = start/advance, B = re-record); keyboard (ENTER / arrows / Ctrl+C) works as a fallback.
- config.json wires the arm, two cameras, the VR arm controller, session control, teleop pair, and a rerun observer. README documents flow, config-key defaults, and the live viewer.

Ties together every prior PR in the stack (VrSession, VrArmComponent, VrSessionControlComponent). Adds the trossen_vr_solo target to examples/CMakeLists.txt.
@abhichothani42 abhichothani42 force-pushed the vr-07-vr-session-control-component branch from 69e790f to bc60d48 Compare July 10, 2026 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants