View Single Post
  #1   Spotlight this post!  
Unread 29-01-2017, 20:04
DrewRoboroos DrewRoboroos is offline
Registered User
FRC #4537
 
Join Date: Jan 2017
Location: Australia
Posts: 3
DrewRoboroos is an unknown quantity at this point
CANTalon support in FRCSim

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/s...ghlight=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(Rob otMap.java:86)
[java] at org.usfirst.frc4537.Steam2017V21.Robot.robotInit(R obot.java:51)
[java] at edu.wpi.first.wpilibj.IterativeRobot.startCompetit ion(IterativeRobot.java:65)
[java] at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:198)
[java] Caused by: java.lang.ClassNotFoundException: com.ctre.CANTalon
[java] at java.net.URLClassLoader.findClass(URLClassLoader.j ava:381)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:4 24)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:331)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:3 57)
[java] ... 4 more
[java] WARNING: Robots don't quit!
[java] ---> The startCompetition() method (or methods called by it) should have handled the exception above.
Reply With Quote