Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   2 Driving Modes (http://www.chiefdelphi.com/forums/showthread.php?t=99954)

nydnh01 12-01-2012 17:48

2 Driving Modes
 
I was wondering if their is a way to program 2 drive modes in Labview and if they can be switched by using buttons on a joystick?

j.cole 12-01-2012 19:54

Re: 2 Driving Modes
 
LabView provides 3 (if I remember correctly) drive setups. Tank, arcade, and Holonomic (Mecanum). Which all can be switched with buttons/switches/knobs/ anything. It's just going to be a lot of work.

SuperS_5 12-01-2012 20:23

i wouldn't say a lot of work. maybe some thought and help from us. most of the local teams here always have a few chosen drivers, and they always want the same setup.
What is your intended use?
Give it your best shot, if you get stuck, just ask, and post some sniplets.

nydnh01 12-01-2012 23:40

Re: 2 Driving Modes
 
We are trying to use this function during the teleop mode of the competition so we can switch from tank drive to holonomic drive with the switch of a button.

EricVanWyk 13-01-2012 01:15

Re: 2 Driving Modes
 
Quote:

Originally Posted by nydnh01 (Post 1103742)
I was wondering if their is a way to program 2 drive modes in Labview and if they can be switched by using buttons on a joystick?

You are probably looking for a case structure, which allows you to switch between different things based on an input. Put your various modes in different frames, and then select them how you want.


All times are GMT -5. The time now is 04:42.

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