View Single Post
  #3   Spotlight this post!  
Unread 18-01-2010, 10:51
s1900ahon s1900ahon is online now
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 156
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: R63 and mixed CAN-PWM designs

Quote:
Originally Posted by Shinigami2057 View Post
I understand why the closed-loop position control must be used with CAN, but not the limit switch control.
I believe the reason for this rule is that the robot control code running on cRIO must know (or be capable of knowing) the state of the motor controller. Your control code can read the state of the limit switches over CAN, but if using PWM there is no way to know that the limit switch was pressed and the Jaguar output disabled.