View Single Post
  #4   Spotlight this post!  
Unread 09-02-2017, 15:59
TheBrushGeek TheBrushGeek is offline
Registered User
FRC #4386 (Mecha-Maniacs)
Team Role: Mentor
 
Join Date: Dec 2015
Rookie Year: 2014
Location: Brush, Colorado
Posts: 4
TheBrushGeek is an unknown quantity at this point
Re: Need help solving the CAN mystery

Quote:
Originally Posted by mikets View Post
All CAN devices tap onto these two wires. So when talking to them, you need to address the device by its CAN ID. So you need to set up each of the CAN Talon controller with its unique ID generally in the range of 1 to 63 (don't use 0 because that's the default ID came from the manufacturer). You need to use the web interface of the RoboRIO to change the CAN ID of each CAN Talon. You need to do this just once and the ID is saved in non-volatile memory in the controller.
This was exactly what I needed to finally understand CAN. Thanks to MikeTS for your response and your code samples! We are using a mechanum drive this year so your code especially for that was extremely helpful!
Reply With Quote