View Single Post
  #2   Spotlight this post!  
Unread 22-08-2009, 08:25
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: Normalizing motor speeds using Arcade Drive in Labview

The first thing I'd do is determine if it is a problem with the joystick values being skewed, or whether it is downstream. If you build a quick autonomous routing that sets the joystick to a known value with no X value, does the left side lead the right? If so, the problem probably has to do with either friction or binding on the right side. If that fixes it, then the problem is that straight forward on the joystick doesn't really mean straight, and the deadband or other transform sounds like a good fix.

If you open up the Drive Open VI, you'll see that it creates the Motors with squaring on and without transforms. You can Save As to your own copy and wire up some VI Refs for a transform or otherwise modify the open.

Another interesting thing to do may be to insert a chart into your teleop loop showing the last few hundred X and Y values from the joystick. This could diagnose a bad joystick or train a jittery driver by giving feedback.

Greg McKaskle
Reply With Quote