View Single Post
  #13   Spotlight this post!  
Unread 08-11-2010, 20:34
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Joystick motion to CAN connected jaguar

Quote:
Originally Posted by sam_who View Post
I'm kind of surprised that SetSpeed Reference had to be called. I was looking through the embedded comments in CANJaguar.cpp. The comments stated that the only option for a feedback device in speed mode was ... wait for it

... an encoder!
Yeah, that's an effect of the firmware returning 0. When that happens, the init function exits after the firmware check, which occurs before the call to SetSpeedReference occurs.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote