Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   LabView Joystick Help Needed (http://www.chiefdelphi.com/forums/showthread.php?t=153928)

swolverines 19-01-2017 17:40

LabView Joystick Help Needed
 
We are not great with LabView. Let's get that out of the way.

How do we change what the joysticks do? We used the base Arcade Drive and the code is working with our robot after we assigned the motors and PWMs. However, it's just forwards and backwards.

How do we make it so we can assign certain axis to do certain things?

Thanks in advance.

Mark McLeod 19-01-2017 17:44

Re: LabView Joystick Help Needed
 
1 Attachment(s)
Arcade (the default robot project) should allow you to turn as well.
Does the robot not turn if you lean the joystick to one side or the other?

mshafer1 22-01-2017 20:13

Re: LabView Joystick Help Needed
 
If you're robot is only going forward and backward, it may be a mismatch between the physical system and how the motors are opened in Begin.vi (are there four motors?). If the problem persists, could you post screen shots of opening the motors in Begin.vi and what you have for setting them (in Teleop)?

Team 358 has posted a lot of example code on their website: http://www.team358.org/files/program...hp#ArcadeDrive

Please feel free to personal message or email me if you have any issues and want a quick reply.


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

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