View Single Post
  #5   Spotlight this post!  
Unread 16-01-2017, 11:48
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 100
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: CAN Interface Examples?

Quote:
Originally Posted by Jaci View Post
The Raspberry Pi doesn't natively support CAN, in fact, most processors don't.
We're using a card on the Pi to interface with CAN.

Quote:
Originally Posted by Jaci View Post
If, however, you still want to pursue the project, you will have to use "HAL/CAN.h" header, or the "CANJNI.java" file. These contain the message sending, receiving and (for c++) the packing / unpacking of data.
Thank you for the references! This is very helpful.

We're programming in C++. How does CANJNI.java come into play?

I was looking at CtreCanNode.h as base class, as that seems common for many of the CAN interfaces already available (PCM, PDP, CANTalon)
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote