|
Re: CAN user code fails to load
You need something in your code similar to
CANJaguar* Motor = new CANJaguar(3,CANJaguar::kPercentVoltage);
The 3 is the CANBus id, and the second arguement is a enum for the type of controls. Put this in your initialization. Of course change the name motor to the nameof your variables.
If you have this, post snipets of your code. Also make sure you set CAN IDs to each jaguar. If any 2 share a ID, the bus gets confused. I know you said you set them, but I have had my jaguars reset their IDs for no apparent reason.
__________________
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2005 - 2008 Team 41 Programmer
2008 NYC Regional Winner
|