Thread: Tank Steering
View Single Post
  #13   Spotlight this post!  
Unread 02-09-2009, 16:39
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Tank Steering

Quote:
Originally Posted by biojae View Post
Could an accelerometer account for the deflection?
and how was the spline calculated?
We might have been able to use an accelerometer, but we heard enough stories about people trying to use one for traction control and determining that it wasn't working well that we didn't bother to try. It also was at the point of diminishing returns, since the bot didn't skid sideways very much anyways.

I don't recall the equation, but you can spend some time on the wikipedia page or the internet in general and get a parametric equation for the cubic spline.

Quote:
Originally Posted by biojae View Post
The steering seems to me the hardest part. What variables did the PD loop control ?
turn = error * k1 + (error - lasterror) * K2
left = 1.0 + turn
right = 1.0 - turn

Like always, the hard part is tweaking the constants.