|
Re: RobotDrive for CAN?
Quote:
Originally Posted by camper365
EDIT: I found example code at FirstForge, and it made things make sense. Because I'm at home right now and won't have access to the robot until Monday, I won't know for sure if it works, but it looks like it will (meaning it won't).
http://firstforge.wpi.edu/integratio...ystem=exsy1002
|
Just a heads up, the CAN Jaguar project on FIRST Forge is deprecated I believe. CAN functionality is now built into WPILib itself. You want to use the CANJaguar class found in CANJaguar.h. It implements SpeedController, which means it can be passed into the constructor of RobotDrive.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
|