View Single Post
  #6   Spotlight this post!  
Unread 15-02-2012, 19:35
theNerd's Avatar
theNerd theNerd is offline
Registered User
FRC #3329 (Cam Bots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2110
Location: St. Marys
Posts: 51
theNerd is an unknown quantity at this point
Re: Trapezoidal Profiling for Drive System

Quote:
Originally Posted by Ether View Post
Couple of questions:

Is the polar coordinate specified with respect to a coordinate system fixed to the robot or to the field?

Do you want to do this for arbitrary start and finish headings?

What type of drivetrain are you using?

I am using the relative coordinates. What I did was use these equations: magnitude= (rightDistance + leftDistance)/2 and angle = (rightDistance - leftDistance)/wheelContactWidth to derive the left and right wheel distances that the robot needs to travel to get to the proper coordinate and then I just feed those values to two PID controllers (one for each motor). We are using a tank drive system. I know that the Integral controller would work a little, however I think that a trapezoidal profile would work better.
Reply With Quote