View Single Post
  #1   Spotlight this post!  
Unread 05-02-2008, 23:07
Nuggets08 Nuggets08 is offline
Registered User
FRC #1737 (Project X Robotics)
Team Role: Programmer
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Excelsior Springs, MO
Posts: 11
Nuggets08 is on a distinguished road
Problems with our driving

Alright, so basically our robot has 6 wheels, the four corner wheels are omni wheels, and the middle wheels are traction wheels that are connected to motors. In the programming I have it set up to use 2 joysticks on a tank-drive. Now that is all good and well, I like tank drive, but you barely move the joystick and the robot increases speed alot, but from there on the joystick, there is little more acceleration out of the robot. This creates a problem in turning, once it starts turning it doesn't stop. I am also the driver and this touchiness of the robot is annoying me.
The way I came up with to fix it is to find the function relating the joystick movement to the robot's speed, and then modify it in the code so that there is a direct correlation of joystick movement to speed. I figured out that:
Robot Movement = 42(Joystick Movement)^(1/5), this is only approximate though. I'm not sure what to do from there though. If anyone can help me out with this, or give me a better way to do it, please help!
Thank you! =)
__________________
-Nuggets
Project X Robotics
Team 1737
Excelsior Springs, MO
Attending: KC-Metro Regional
Project Manager, Lead Programmer