View Single Post
  #6   Spotlight this post!  
Unread 19-02-2011, 21:57
MattCarey3625's Avatar
MattCarey3625 MattCarey3625 is offline
#3625 Programming and Wiring Head
FRC #3625 (Some Assembly Required)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Virginia Beach, VA
Posts: 23
MattCarey3625 is an unknown quantity at this point
Re: Jaguar Motor Control

Ok, it is possible to do this but you will not be using the Arcade Drive. You need to check the values and while the value of a joystick axis is over a certain number you need to begin to take away from the motor output. So you need to read info from 2 axises; 1 for speed and the other to sense when the speed needs to be reduced so you would use "While Axis 1 > 0.2 or Axis 1 <-0.3 (Axis 2 - Axis 1)... This is rather hard to explain through text, but you need to create an algorithm for deprecation of motor speed and a float system so you dont take away speed imediatley. Good luck!
__________________
matt@hp-mini-110$> sudo make robot
sudo pass for matt:
unable to make robot
Reply With Quote