Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Attack 3 Joystick (http://www.chiefdelphi.com/forums/showthread.php?t=91038)

jhellr13 05-02-2011 17:33

Attack 3 Joystick
 
I'm using labview to program our robot and want to setup the joystick. I know how to set certain buttons to do things, but how i make it so when the actual joystick in the middle is pushed forward, the robot moves forward. When the joystick is pushed to the right or left, it goes that way, and reverse when pushed back. Are their button numbers assigned to this that i just don't see? What do i need to do?

Thanks

Mark McLeod 05-02-2011 17:41

Re: Attack 3 Joystick
 
That's called Arcade Drive.
The default code is setup to do this with 2 motors.

jhellr13 05-02-2011 17:50

Re: Attack 3 Joystick
 
it should still work with 4 motors correct?

Mark McLeod 05-02-2011 18:00

Re: Attack 3 Joystick
 
Yes, it should still work.

If you guys meet in the evening Monday or Tuesday, I can come out and help you run through your questions.

jhellr13 06-02-2011 00:00

Re: Attack 3 Joystick
 
Quote:

Originally Posted by Mark McLeod (Post 1016382)
Yes, it should still work.

If you guys meet in the evening Monday or Tuesday, I can come out and help you run through your questions.

Thanks. About coming to our school, that's something i would ask Mr. Monte about. If you need his email, let me know.

Mark McLeod 06-02-2011 09:42

Re: Attack 3 Joystick
 
Mr. Monte is sending out an email to see when all of you can meet after school.

AndrewD 07-02-2011 06:31

Re: Attack 3 Joystick
 
you'll want to set up four motors in begin vi and use the axis 1 (y) and axis 2 (x) and make your own arcade drive.

Alan Anderson 07-02-2011 09:49

Re: Attack 3 Joystick
 
Quote:

Originally Posted by AndrewD (Post 1017435)
you'll want to set up four motors in begin vi and use the axis 1 (y) and axis 2 (x) and make your own arcade drive.

Why make their own? Do you think there is something about the built-in arcade drive that makes it unsuitable for a team trying to get their robot to move under joystick control?


All times are GMT -5. The time now is 10:06.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi