Is there any documentation on simulating things like sparkmaxes and a pigeon2, etc
You can use something like the DCMotorSim (or the other WPI sim classes) for all the motors you want. What CTRE did with their simulation was pretty cool, REV also has a REVPhysicsSim class
As for pigeon2 and any gyro, I would just “simulate” the current angle from the swerve’s velocities over time. Also, iirc CTRE has a pigeon2 sim state maybe? Though I also don’t fully understand the need for one.
1 Like