Quote:
Originally Posted by kamocat
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.