From Sim to Real and Back: A Physics Simulator for FIRST Tech Challenge
Abstract
For low-cost robots such as those of FIRST Tech Challenge (FTC), we argue that much of the gap between simulation and the real robot lies in the control stack between robot code and motors, not in the rigid-body dynamics. Motor velocity and position loops run in the REV hub's firmware, and every hardware call takes time, so code tuned in a simulator that leaves these out can meet a different loop rate and motor response on the robot. None of the FTC simulators we found documents a model of either. We present an open-source simulator that runs teams' own robot code, compiled unmodified, against models of the hub's firmware control loops, the time each hardware call takes and battery sag, over ODE4j rigid-body physics at a 1 ms step. At the default call costs, for example, one mecanum TeleOp loop (four encoder reads, an IMU read, four motor writes) is charged 10.5 ms, or 7.5 ms with bulk reads. Robots are described in JSON or imported from CAD, webcam frames are rendered for FIRST's own AprilTag processor, and each season's game is a replaceable pack. The call costs are still estimates, to be measured in a planned comparison with a physical robot.
Create a lesson
Metadata
- Comments
- 22 pages, 10 figures, 8 tables. Ongoing technical report. Code: https://github.com/Springphy-AI/ftc-sim. Project page: https://springphy-ai.github.io/ftc-sim/
Related papers
GigaEvo-Robotics: From Failed Rollouts to Reusable Skills for Long-Horizon Tasks in Simulation and on Real Robots
Shared title terminologycs.ROEgor Cherepanov, Nikita Kachaev, Aleksandr Ermakov et al.
Validity Matters: Few-Shot Adaptive Curation of Simulation Trajectories for Sim-to-Real Robot Imitation Learning
Shared title terminologycs.ROShanshan Wang, Anlan Yu, Zaishu Chen et al.
RoboSimReady: Can Coding Agents Construct Simulation from Real Observation for Robot Interaction?
Shared title terminologycs.ROBingxuan Li, Siqi Song, Rui Yang et al.
Bayesian Expandable Ambient Magnetic Mapping: Continual Learning with a Physics-Constrained Bayesian Neural Network
Shared title terminologycs.ROAditya Penumarti, Nikhil Iyer, Jane Shin
Anticipating Physical Consequences: Skill-Conditioned World Tokens for Robotic Manipulation
Shared title terminologycs.ROShuyang Hao, Shuaijun Liu, Chenglong Zhang et al.
Re-enact, Don't Reconstruct: Compiling Human Videos into Physically Grounded Humanoid Data
Shared title terminologycs.ROZhuo Chen, Yuyu Yang, Heyang Zhang et al.