Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Tank Drive 'sensitivity' (http://www.chiefdelphi.com/forums/showthread.php?t=82734)

fishLlama 15-02-2010 15:18

Tank Drive 'sensitivity'
 
WPI Robotics Library > RobotDrive > TankDrive.vi

On the built in subVI 'Tank Drive' on the front panel, what does the 'sensitivity' control do? :confused:

Our team is looking to find a way to make our drive more smooth, and that may be what we're looking for.

Omar 15-02-2010 16:51

Re: Tank Drive 'sensitivity'
 
I have looked into that and I could not find where that value is used.

The default setting for squaring speed inputs is true, which will give you a little better control at low speed.

But you could still adjust the sensitivity yourself before passing the values to the motor control VI.

If you square them before passing them I you will get in effect x to the 4th.

Ziaholic 16-02-2010 08:58

Re: Tank Drive 'sensitivity'
 
My team uses the joystick throttle as a scale-factor (multiplier) to the standard X and Y joystick values. When the throttle is full on (100%), the full-scale X and Y values are used, but if the throttle is halfway (50%), the X and Y get scaled by 50%. If the throttle is at 0, then X and Y are multiplied by 0 and you get no motion at all.

For this to work, you'll first need to tweak the standard throttle values from -1 to 1 into something that sends values from 0 to 1. To do this, we first add one to it, then divide by 2. Then, if you don't like the throttle orientation, you can flip it by taking the value above, and subtracting it from 1.

Take your "raw" joystick values, multiply this "new" throttle value to them, then wire that into your tankdrive.vi.

We don't use tankdrive, so I'm not exactly sure what sorts of pitfalls that come along with this ... but it's an idea ...

Joe Ross 16-02-2010 09:19

Re: Tank Drive 'sensitivity'
 
the sensitivity is only used in the ratio curve version of arcade.

JP Carlin 19-02-2010 19:22

Re: Tank Drive 'sensitivity'
 
i dont know if this will help you at all but to make the joystick less sensitive i would just divide the values put into the joystick by a constant of 2 or 4 before they go into the ports in tank drive.

Ether 19-02-2010 21:44

Re: Tank Drive 'sensitivity'
 
variable joystick sensitivity, see this post:

http://www.chiefdelphi.com/forums/sh...d.php?p=921992


All times are GMT -5. The time now is 11:03.

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