View Single Post
  #10   Spotlight this post!  
Unread 22-01-2011, 11:02
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: 98
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: CAN Installation Details

Quote:
Originally Posted by kamocat View Post
Now, it's entirely possible that your CAN network and code is working correctly, and you are simply not enabled or do not have DS communication. Make sure you have a "StartCommunication" on your block diagram. (This can be found in the DriverStation subpallette of the "WPI Robotics Library" functions.)

EDIT:
You asked for an example. I have a repository with a default project modified to CAN here:
https://github.com/kamocat/ThunderTech_3213/tree/CAN
If you'd like something specific, you can upload your code or state exactly what you're testing.
Thank you for the pointers. We'll see if we can do an enumeration from the cRio. Enumeration works from BDC-COMM just fine with all the same connections.

Why is the DS communication required? We have a StartCommunication in the vi, but have not turned on or connected the DriverStation.

We're just trying to see if we can control a single motor. Seems like this should be pretty easy. :-)

Thank you for the examples, we'll give them a look. I'm concerned that the example expects an entire set of motors, etc. All we have connected to the cRio is one Jaguar and one motor. The idea was to demonstrate the minimum requirements for using the Jaguar.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote