I found this thread which seems to have been closed without a reply. Is there any plan to include CANTalong support for FRCSim, or am I simply missing a classpath?
https://www.chiefdelphi.com/forums/showthread.php?t=145240&highlight=frcsim
I’ve fought through to ensure both RobotBuilder and Eclipse understand the inclusion of the third party library. These are the messages in the Eclipse console when running the code in simulation mode. (The code runs on the robot but behaves badly so the simulator seemed safer.)
[echo] [simulate] You may now run Gazebo and your DriverStation
[echo] [simulate] Running Code.
[java] resources = |sun.misc.CompoundEnumeration@36aa7bc2|
[java] java.lang.NoClassDefFoundError: com/ctre/CANTalon
[java] at org.usfirst.frc4537.Steam2017V21.RobotMap.init(RobotMap.java:86)
[java] at org.usfirst.frc4537.Steam2017V21.Robot.robotInit(Robot.java:51)
[java] at edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:65)
[java] at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:198)
[java] Caused by: java.lang.ClassNotFoundException: com.ctre.CANTalon
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[java] … 4 more
[java] WARNING: Robots don’t quit!
[java] —> The startCompetition() method (or methods called by it) should have handled the exception above.