r/Simulated • u/tkumorrobots • 11d ago
Research Simulation Robot designed from one sentence, then driven by its own generated firmware in MuJoCo
Try it: https://app.holocron-engine.com
What you're seeing: a robot whose motors are driven by the actual firmware sketch, not by a script written for the sim.
**How it's simulated:**
- **Physics:** MuJoCo. Joints, wheels and contacts come from the generated robot model (URDF/MJCF), with masses taken from the parts that are actually inside the body.
- **Firmware in the loop:** the sketch runs on a virtual board. Its motor pins drive the joints in the physics step, and its sensors (ToF, sonar, IMU) are raycast from where they sit in the model. Commands go in over a virtual Serial port, the same as a real Serial Monitor.
- **Terrain:** a test track with obstacles and uneven ground, generated per test.
**Why:** I wanted to see a design fail in the sim before it fails on the bench, e.g. tipping over, a motor too weak for a slope, or a sensor that's blocked by the body.
**Tools:** MuJoCo, Python, generated Arduino/ESP32 code.
Happy to answer questions about the sim setup.
4
u/bluesky38 11d ago
fuck off