|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Basic LabVIEW Arcade Drive Program
My team is starting to get anxious to drive our robot around to get a feel. We are only slightly experienced with labview, so we need a little help. I was wondering if someone could make a diagram to drive in arcade mode. We have 2 motors for each gear box, thus 4 jaguars. If anyone could help me here, that would be greatly appreciated
|
|
#2
|
|||||
|
|||||
|
Re: Basic LabVIEW Arcade Drive Program
The default code is Arcade Drive.
It comes setup for 2 motor drive though, so you need to change that.
Last edited by Mark McLeod : 01-02-2011 at 21:27. |
|
#3
|
|||
|
|||
|
Re: Basic LabVIEW Arcade Drive Program
Thanks for the explanation, it really helps. Does it matter what the constants are? and also could you just explain the whole pwm thing to me, i am a little confused about them.
Does this default code work with the joystick automatically? If not, how do i configure that? |
|
#4
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 01-02-2011 at 21:37. |
|
#5
|
|||
|
|||
|
Re: Basic LabVIEW Arcade Drive Program
Great. Thanks for the help
|
|
#6
|
|||
|
|||
|
Re: Basic LabVIEW Arcade Drive Program
I will probably be able to figure it out. In reference to that labtop, I deleted everything on my computer related to ni and labview. I am gonna get the kop disc and do a clean install
|
|
#7
|
||||
|
||||
|
did you uninstall NI or personally delete it.
|
|
#8
|
|||
|
|||
|
Re: Basic LabVIEW Arcade Drive Program
I uninstalled NI, and did a search for national instruments and labview on my hard drive and deleted the contents
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|