Simulating TalonFX and CanCoder in VSCode WPILIB FRC

I’m looking for a guide to integrate TalonFX and CanCoder simulation in our robot. Currently only have support for SparkMaxes.

Have you read the CTRE docs?

Thank you. What about simulating solenoids?

There doesn’t seem to be one for Solenoids as opposed to Encoders and Ultrasonics

https://first.wpi.edu/wpilib/allwpilib/docs/release/java/edu/wpi/first/wpilibj/simulation/REVPHSim.html

Or

https://first.wpi.edu/wpilib/allwpilib/docs/release/java/edu/wpi/first/wpilibj/simulation/CTREPCMSim.html

The SolenoidSim classes do seem to have disappeared though. @Peter_Johnson @Thad_House any plans for them to come back?

There’s a PR open.

1 Like

The integrated sensors don’t seem to simulate well for the TalonFX’s. Is this an issue or am I missing something.

I didn’t mean well. I mean’t doesn’t seem to simulate at all.

You are missing something. Unless you are doing something particularly novel this isn’t untested functionality.

Without code and a description of exactly what you are seeing it is hard to help.

1 Like

Nevermind I got it figure out

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.