No CTRE support for Simulator on Mac

I just learned that there’s no support for CTRE in the robot simulator on Mac. Can CTRE please up the priority level for Mac Simulator support @ozrien ?

Posting because I couldn’t find this error on ChiefDelphi.

The error looks like this:

HAL Extensions: Attempting to load: libhalsim_gui
Simulator GUI Initializing.
windowScale = 2.000000e+00Simulator GUI Initialized!
HAL Extensions: Successfully loaded extension
********** Robot program starting **********
NT: server: client CONNECTED: 127.0.0.1 port 55481
java.lang.UnsatisfiedLinkError: no CTRE_PhoenixCCI in java.library.path: [/Users/dole/GitHub/Sonic-Squirrels/2020-RobotCode/build/tmp/jniExtractDir]
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829)
at java.base/java.lang.System.loadLibrary(System.java:1867)
at com.ctre.phoenix.CTREJNIWrapper.(CTREJNIWrapper.java:9)
at com.ctre.phoenix.motorcontrol.can.BaseMotorController.(BaseMotorController.java:60)
at com.ctre.phoenix.motorcontrol.can.BaseTalon.(BaseTalon.java:31)
at com.ctre.phoenix.motorcontrol.can.TalonFX.(TalonFX.java:27)
at com.ctre.phoenix.motorcontrol.can.WPI_TalonFX.(WPI_TalonFX.java:62)
at frc.robot.subsystems.driveSubsystem.(driveSubsystem.java:39)
at frc.robot.RobotContainer.(RobotContainer.java:50)
at frc.robot.Robot.robotInit(Robot.java:29)
at edu.wpi.first.wpilibj.TimedRobot.startCompetition(TimedRobot.java:64)
at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:276)
at edu.wpi.first.wpilibj.RobotBase.lambda$startRobot$0(RobotBase.java:329)
at java.base/java.lang.Thread.run(Thread.java:834)

3 Likes