|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CAN setup troubles
Just today our team decided to switch to CAN for Jag control. We ordered a Black Jaguar and the serial-can connector and I'm trying to setup some test code for CAN. I downloaded the example from FIRSTForge and loaded it into Windriver. It complained about the CANJaguar folder not being a subfolder for the example so I copied it there, and then when I tried to do a straight compile from example I got a ton of errors in "ChipObject/NiRioStatus.h". Did I skip a step in setting up the CAN code? I really need to have it working soon
|
|
#2
|
|||
|
|||
|
Re: CAN setup troubles
modify the include header in CANJaguar.cpp
#include "CANJaguar.h" #include "ChipObject/NiRio.h" <-add this line #include "ChipObject/NiRioStatus.h" http://www.chiefdelphi.com/forums/sh...ad.php?t=80706 Please note, I do not take credit for this, I mearly copied byteit101's response that worked for me. EDIT: For future questions, you can usually find the answer faster if you use the search function. I just put in ChipObject/NiRioStatus.h and got several hits. |
|
#3
|
|||
|
|||
|
Re: CAN setup troubles
Thank you so much. It seems to compile just fine now
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Movement Troubles | jaketessem | FRC Control System | 5 | 05-02-2010 16:36 |
| Classmate troubles | jaster67 | Control System | 4 | 26-01-2010 20:38 |
| Can somebody teach me project setup in MpLab? | brennerator | Programming | 1 | 09-01-2007 08:20 |
| Bandsaw Troubles | John Gutmann | Technical Discussion | 6 | 13-07-2006 02:05 |
| Tilt Troubles | Mumford 406 | Programming | 4 | 29-03-2005 22:19 |