Go to Post HOLY MOLY CANOLI THIS LOOKS LEGIT - MasterEric [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2010, 15:18
fishLlama fishLlama is offline
Caffeine Addict
FRC #3018 (Team Rocket)
Team Role: Programmer
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Saint Peter, MN
Posts: 2
fishLlama is an unknown quantity at this point
Question 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?

Our team is looking to find a way to make our drive more smooth, and that may be what we're looking for.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2010, 16:51
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
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.
__________________
Omar
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2010, 08:58
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
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 ...
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2010, 09:19
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Tank Drive 'sensitivity'

the sensitivity is only used in the ratio curve version of arcade.
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2010, 19:22
JP Carlin's Avatar
JP Carlin JP Carlin is offline
Registered User
FRC #2487 (Mechanical Animals)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Sayville NY
Posts: 42
JP Carlin is on a distinguished road
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2010, 21:44
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Tank Drive 'sensitivity'

variable joystick sensitivity, see this post:

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


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Incorporating Tank Drive Sauce Programming 3 25-01-2010 20:11
Tank Drive vs. Omni Directional Drive jamie_1930 General Forum 9 24-01-2010 22:50
Tank Drive Sauce Programming 1 05-01-2009 18:50
Tank Drive Idaman323 Programming 14 15-02-2005 09:01
tank drive Stormhammer Programming 11 29-01-2004 23:08


All times are GMT -5. The time now is 22:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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