View Single Post
  #2   Spotlight this post!  
Unread 23-02-2013, 09:01
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Drive motor spinning out...need slower response

Here's a simple option that might work well for you: in the wire between the joystick axis and the Robot Drive function, insert a cube function.

Right-click the wire. From the popup menu, choose Insert -> Numeric Palette -> Expression Node (it's a rectangle saying EXPR). You'll get a small orange box with right-pointing arrows on either end. Click the blank space between the arrows and type x*x*x.

Now, small motions of the joystick will give you very small changes in the motor control value. Medium motions of the joystick will give you smallish changes in the motor value. But full travel of the joystick will still give you full power.
Reply With Quote