View Single Post
  #3   Spotlight this post!  
Unread 17-08-2010, 12:01
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: CAN-Where to Start

I'm a C++ programmer, so I can't give you too many specifics on how to do this in Labview, but once you have opened the jaguar, there is a vi called CAN Jaguar Get Status.vi which includes the current running through the jag even if you aren't in current control mode (well, the C++ equivalent works out of current control, so LV probably does too). Once you have that you can change your levels as needed.

Alternatively, you can use current control mode to set the current that should be passing through the jaguar, which could be combined with a PID loop on the cRIO to make up for the loss of speed control.
__________________

"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