SnobotSim is a java-based simulator that can simulate FRC Robots written in Java, with incubating support for C++ and Python.
Check out the Release Notes to keep up with all the updates and bug fixes going on throughout the season.
- Simple physics based motor simulations
- Feedback Sensor simulation (AnalogIO, DigitalIO, Encoders, Gyros)
- NavX Simulation for the 3-axis Gyro and 3-axis Accelerometers
- CTRE CanTalon and Pigeon IMU simulations. Due to the incredble power of this speed control, I cannot guarantee that all features will work, even if they appear to. It covers most of the control modes, but without something to test against your mileage might vary.
- Open to extension for custom I2C, SPI, Potentiometer, Motors servo'd by limit switches, etc. Hopefully anything you need!
If you need any help with simulator, check the wiki. If that doesn't help, DM me on ChiefDelphi, pjreiniger
If something doesn't seem like its working, create an issue here and I will try to make a patch for you
If you find a bug you can fix, don't like how I did something, or want to add an improvment, create a Pull Request and help make the project better.
Check out the wiki for how to set up and use the simulator, or these examples for how you might want to set things up.