View Single Post
  #4   Spotlight this post!  
Unread 26-01-2013, 15:04
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Set the rate of acceleration

By the way, there are lots of goodies that ship with LabVIEW that aren't in the FRC palette. In this example, there is an Output Rate Limiter. It basically does what Ether described, but is already coded up.

It is in vi.lib/addons/control/pid/pid.llb. You probably want to wire the input from the joystick, the output to the motor, and use the output rate to control how much it will allow the output to change in a given time period. The units it uses may not be obvious, but numbers in the range of 100 to 1000 are likely what you are looking for.

Greg McKaskle
Reply With Quote