Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Speed control (http://www.chiefdelphi.com/forums/showthread.php?t=92444)

jhellr13 20-02-2011 14:01

Speed control
 
Okay, our minibot deployment is set and works, but it is sometimes too hard to line up because of how fast the robot turns.
We were wondering if we were able to change the speed of the robot when the throttle is pushed. Like when the joystick was pushed and the joystick is pushed, the speed would be reduced to about 20%
Any ideas?

Vikesrock 20-02-2011 14:07

Re: Speed control
 
Yes, this can be done pretty readily.

You want to use either a Select VI or a Case Structure to choose a different multiplier for your joystick value based on a button. When the button is false, choose 1 as the multiplier. When the button is true choose .2 or .3 or whatever you want to scale down by.


All times are GMT -5. The time now is 09:16.

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