Introduction
Bridging the "reality gap" remains a significant challenge in robotics. While traditional simulators like Gazebo or NVIDIA Isaac excel at geometric modeling, they often lack the visual complexity—lighting, textures, and dynamic human presence—required for training robust vision-based agents. Creating high-fidelity "digital twins" of specific real-world locations typically involves expensive 3D scanning and manual labor. This work introduces a simulation platform that leverages Neural Radiance Fields (NeRFs) to transform simple handheld video into photorealistic, interactive training environments.
Dual-NeRF Architecture
The core of the simulator is a dual-NeRF architecture integrated into the ROS 2 ecosystem. This approach separates the static environment from dynamic human actors to optimize both realism and performance.
- Environment NeRF: The system reconstructs static backgrounds from video using multi-resolution hash encoding, reducing training times to minutes.
- Human NeRF: Dynamic actors are modeled using skeleton-conditioned NeRFs. This allows the simulator to "skin" a human NeRF onto a moveable 3D skeleton, enabling realistic movement.
- Behavior Management: To move beyond "zombie-like" agents, a Social Force Model (SoFM) is integrated. Human agents react to the robot and each other, following social dynamics rather than fixed paths.
- Ego-Centric Sensing: The simulator models a Boston Dynamics "Spot" robot, generating synthetic RGB stereo, depth maps, and 16-beam LiDAR data by casting rays into the NeRF scene.
Key Results and Insights
The researchers found that NeRF-based simulations offer distinct advantages over traditional mesh-based approaches, particularly for vision tasks.
- Superior Vision Training: Object detection models (e.g., YOLO) performed significantly better when trained on NeRF-rendered scenes compared to traditional 3D meshes. NeRFs effectively capture the "visual noise" and complex lighting that meshes often omit.
- Geometric Accuracy: Testing ORBSLAM3 in both real and simulated environments revealed a median trajectory error difference of only 0.1 meters (0.14m real vs. 0.24m simulated), confirming that the simulation is highly representative of real-world geometry.
- Implicit Physics: Although primarily visual, NeRFs implicitly learn occupancy. This allows for the generation of accurate LiDAR point clouds without requiring an explicit 3D model.
Conclusion and Future Work
By utilizing off-the-shelf NeRF tools and handheld video, this platform democratizes the creation of custom, high-fidelity simulators. While the current system lacks a full physics engine—treating the environment as a "ghost world" where collisions aren't physically simulated—it provides a powerful tool for visual navigation and social interaction training. Future developments will focus on integrating a robust physics engine and optimizing real-time rendering for multiple high-resolution agents.
Summary updated