View Single Post
  #4   Spotlight this post!  
Unread 01-02-2011, 21:34
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Basic LabVIEW Arcade Drive Program

The constants that appear need to be changed, but that's easy.
If you put the cursor over each one 'til it turns into a little hand, then you can left-click and you'll get a list to choose from.

The PWMs are the numbered motor outputs on the Digital Sidecar. They are the white 3-pin contacts that you plug the tri-color PWM cables into. One end of a cable connects to the PWM and the other end connects to a Jaguar (or Victor).
So in the code you're telling it which numbered PWM pins will drive which motor.


The joystick is already setup to drive the robot.
You can look to see how that's all handled in the teleop.vi block diagram.

If you get stuck I can come for a visit. I was just down at Connetquot tonight.
If you have your laptop that's giving you LabVIEW activation trouble I could take a look at that, too.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-02-2011 at 21:37.
Reply With Quote