Thread: What is CAN
View Single Post
  #3   Spotlight this post!  
Unread 21-03-2012, 14:37
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: What is CAN

Can itself is just another way to communicate with Jaguar motor controllers (outside of FIRST, it is used for a lot more, like all of the sensors in a car for example). Compared to the alternative, PWM, CAN allows for a lot more information to be sent between devices.

The real importance of CAN stems from the fact that, when using CAN, the jaguars' processors can be used to preform tasks that would otherwise be dealt with by the cRIO, notably PID control. PID control utilizes feedback to react to situations so that the desired output matches the actual output. That is, instead of guessing what PWM duty cycle will get a certain speed, PWM control will adjust the duty cycle to ensure that that speed is met.

Using the jaguars' PID controls allow one to control speed, position, average voltage, and current (I'm not sure that the last 2 are technically PID, but they are still available if CAN is used). By extension, these control modes, when properly utilized, can be used for things such as ensuring that your robot moves in a straight line in autonomous, or for regulating shooter speed and angle.
__________________
Reply With Quote