Skip to content

examples: add trossen_vr_stationary demo#265

Open
abhichothani42 wants to merge 2 commits into
vr-08-example-solofrom
vr-09-example-stationary
Open

examples: add trossen_vr_stationary demo#265
abhichothani42 wants to merge 2 commits into
vr-08-example-solofrom
vr-09-example-stationary

Conversation

@abhichothani42

@abhichothani42 abhichothani42 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds the bimanual stationary VR teleop demo: two VR controllers drive two follower arms in Cartesian space, with four cameras and live rerun visualization.

Changes

  • Left and right controllers each lead their respective arm; per-arm hand-grip deadman switches let either arm mirror independently with no jump on re-grip.
  • Two session-control components split the bindings across hands: right A/B (start, re-record) and left X/Y (stop-early, stop-session). Keyboard remains a full fallback.
  • config.json wires both arms, four cameras, two VR arm controllers, both session controls, two teleop pairs, and a rerun observer. README documents bindings, flow, and config-key defaults.
  • Adds the trossen_vr_stationary 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 example application (trossen_vr_stationary) demonstrating bimanual stationary VR teleoperation and recording, using the existing SDK SessionManager/producers/teleop plumbing.

Changes:

  • Add trossen_vr_stationary demo executable to initialize 2 follower arms, 4 cameras, 2 VR arm controllers, and VR session controls, then run the episode loop.
  • Add an example config.json and accompanying README documenting setup, controls, and key configuration knobs.
  • Register the new example target in examples/CMakeLists.txt.

Reviewed changes

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

File Description
examples/trossen_vr_stationary/trossen_vr_stationary.cpp New stationary VR demo app wiring hardware, producers, observers, teleop, and session loop.
examples/trossen_vr_stationary/README.md Usage + hardware/control documentation for the new demo.
examples/trossen_vr_stationary/config.json Default configuration for the new demo (arms/cameras/VR/session/teleop/observer).
examples/CMakeLists.txt Builds and links the new trossen_vr_stationary example executable.

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

Comment thread examples/trossen_vr_stationary/trossen_vr_stationary.cpp Outdated
Add the bimanual stationary VR teleop demo: two VR controllers drive two follower arms in Cartesian space, with four cameras and live rerun visualization.

- Left and right controllers each lead their respective arm; per-arm hand-grip deadman switches let either arm mirror independently with no jump on re-grip.
- Two session-control components split the bindings across hands: right A/B (start, re-record) and left X/Y (stop-early, stop-session). Keyboard remains a full fallback.
- config.json wires both arms, four cameras, two VR arm controllers, both session controls, two teleop pairs, and a rerun observer. README documents bindings, flow, and config-key defaults.

Adds the trossen_vr_stationary target to examples/CMakeLists.txt.
@abhichothani42
abhichothani42 force-pushed the vr-09-example-stationary branch from 1582ecc to 4e27551 Compare July 17, 2026 15:21
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