View Single Post
  #9   Spotlight this post!  
Unread 30-01-2013, 12:45
BenGrapevine's Avatar
BenGrapevine BenGrapevine is offline
Head Programmer
AKA: Tony Simmering
FRC #2549 (Millerbots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Minneapolis, Minnesota
Posts: 46
BenGrapevine is an unknown quantity at this point
Re: Set the rate of acceleration

My team wanted a non-linear approach to acceleration that would add a deadzone so we could control our driving.

I went off and played with the joystickget.vi located in the teleop.vi and came up with this:


That 'x**3' is x^3 which looks like this on a graph:


The blue represents the normal linear acceleration in which there is no dead zone and what you press is what you get. The red is the x**3 which adds a deadzone that, in my team's case, helped people driving not crash into walls right away. The functions are wired into the axis (x and y for driving). I don't know if that's really what you are asking for but I hope this helps.

EDIT: I also noticed you are from MN; What city?
__________________
Millerbots Team 2549
orange and blue

Last edited by BenGrapevine : 30-01-2013 at 12:47. Reason: just a lil side note
Reply With Quote