Quote:
Originally Posted by peterjohnson
The first time around we didn't follow the 2CAN instructions exactly, and put the reference to FRC_2CANPlugIn before FRC_UserProgram like the black jaguar plugin instructions tell you to. Apparently the FRC_2CANPlugIn uses some functions in WPILib (Synchronization class) that aren't loaded until the FRC_UserProgram is loaded, which is why we got the errors the first time around. Moving the 2CAN plugin after the UserProgram fixed this error and allowed the plugin to load.
|
The plugin needs to be loaded before the user program so that when the user program tries to use the CANJaguar class it won't get an error about the plugin not being loaded. The plugin definitely needs to not depend on WPILib entry-points.