OpenVR: Teleoperation for manipulation

Abraham George, Alison Bartsch, Amir Barati Farimani

TL;DR

OpenVR is an open-source teleoperation framework that allows researchers to control robotic manipulators using consumer-grade VR hardware (Oculus Quest 2) and the Unity game engine. By reconstructing the environment with 3D objects rather than just streaming video, it provides an intuitive, low-latency interface designed specifically to streamline data collection for Imitation and Reinforcement Learning.

What Problem Does This Paper Address?

In the world of robotic machine learning, data is king. To train agents using Imitation Learning (IL) or Reinforcement Learning (RL) with expert demonstrations, researchers need hundreds or thousands of high-quality trajectories.

However, collecting these demonstrations is a notorious bottleneck. Traditional methods like kinesthetic teaching (physically moving the robot arm) are cumbersome and unintuitive. Joystick-based teleoperation is difficult to master for complex tasks. While Virtual Reality (VR) offers a more natural interface, existing solutions are often proprietary, tied to specific expensive hardware, or cause "VR sickness" because the camera view doesn't track the user's head movements properly. The authors aim to provide a "plug-and-play," hardware-agnostic, and open-source alternative.

Methods

The authors developed a pipeline that bridges a VR headset with a Franka Emika Panda robot (or its simulated equivalent). Key technical components include:

  • Unity-Based Environment: They chose Unity for its ease of use and widespread developer support. The system uses a URDF importer to bring robot models into the virtual space.
  • Object Reconstruction vs. Video Streaming: Instead of projecting a 2D video feed into the headset, the system uses computer vision (Intel RealSense cameras and AprilTags) to identify objects in the real world and recreate them as 3D assets in the VR scene. This allows the user to move their head naturally without the lag-induced nausea common in video-reprojection systems.
  • UDP Communication Bridge: A custom UDP socket pipeline handles the high-speed exchange of data between the Unity application (C#) and the robot controller (Python/FrankaPy).
  • Visual Feedback Mechanisms: To handle the discrepancy between a human's fast movements and a robot's slower physical response, they implemented a semi-transparent "controller sprite." Its opacity increases as the distance between the user's hand and the robot's actual end-effector grows, providing intuitive feedback on tracking lag.
  • Safety Features: The system includes "virtual walls" in the simulation that prevent the user from commanding the robot to move outside its safe workspace.

Datasets

The paper does not introduce a new training dataset; rather, it introduces a tool to generate them. For evaluation and benchmarking, the authors utilized:

  • Panda-Gym: An open-source PyBullet-based simulator for the Franka Emika Panda robot, used to test the system's performance in a purely virtual environment.
  • Real-world hardware: A physical Franka Emika Panda robot arm equipped with Intel RealSense D415 cameras.

Key Insights and Ideas

  • The "Object-Centric" Advantage: By reconstructing objects in VR rather than just showing video, the system can automatically record precise object features (pose, velocity, dimensions) alongside the robot's actions. This creates "richer" data for training RL agents.
  • Modularity is Key: The authors demonstrated that their system isn't just for the Panda arm. They successfully swapped the standard gripper for a 5-fingered Hiwonder uHandPi robotic hand, using the Oculus headset’s built-in finger tracking to control individual robotic digits.
  • Addressing VR Sickness: The paper emphasizes that the virtual camera must update at at least 60 Hz. By decoupling the environment rendering (in Unity) from the robot's physical sensor data, they maintain a high frame rate for the user even if the robot's control loop is slower.

Key Results

  • Operating Frequency: The system achieved an average frequency of 71.3 Hz in simulation and 36.2 Hz on physical hardware. While the hardware rate is lower due to communication overhead, the authors note it is more than sufficient for smooth teleoperation.
  • Communication Robustness: In an "object overload" test, the system successfully handled up to 240 dynamic objects simultaneously before the communication pipeline failed, suggesting it can handle highly complex environments.
  • Task Success: The authors qualitatively demonstrated the system's efficacy through a block pick-and-place task, showing that users could intuitively control the robot to perform precise manipulations.

Limitations and Future Work

  • Latency Bottlenecks: The primary bottleneck is the communication delay between the Python control script and the low-level robot controller. Future work could involve optimizing this bridge to reach higher frequencies.
  • Vision System Reliance: The current implementation relies on AprilTags for object tracking. While effective, this requires tagging every object in the scene. Moving toward more general, tag-less computer vision models would increase the system's flexibility.
  • Haptic Feedback: While the VR controllers provide basic vibration, the system currently lacks sophisticated force feedback, which could further improve a user's ability to perform delicate tasks.

Check out the code: https://github.com/Abraham190137/TeleoperationUnity

Summary updated

BibTeX
@inproceedings{george2025openvr,
  author = {Abraham George and Alison Bartsch and Amir Barati Farimani},
  title = {{OpenVR: Teleoperation for manipulation}},
  booktitle = {SoftwareX},
  year = {2025},
  url = {https://openreview.net/forum?id=nH8pIX1jxy},
}
Figure