Simulation Wrapper Class with TalonFX motors

Hi everyone,

I have been trying to run the simulation with the TalonFX motors. I need a wrapper class in order to be able to run the simulation. I was not able to find examples online of wrapper classes for TalonFX from other teams.

Here is our code:

Thank you in advance for the help.


You shouldn’t need a wrapper class, as simulation is included with the CTRE libraries.

Side note: your github repo above is mostly blank. It’s also set up to use 2022.1.1; you’ll need to update to at least 2022.3.1 (along with the roboRIO v4.0 image) for competition.