View Single Post
  #2   Spotlight this post!  
Unread 07-04-2008, 01:47
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: Accurately "Arcing" in Auton/Hybrid Mode

Quote:
Originally Posted by Uberbots View Post
to do our arc, we tell the robot to do a certain number of rpms on each side of the wheel base, using the following (pseudo) code:

Code:
VForward = 40;
omega = dist_from_wall / some_constant + desired_dist_from_wall / some_constant;
wheel_left = VForward + omega;
wheel_right = VForward - omega;
it has gotten us some pretty accurate turns, with some tweaking.

I just was thinking about that once you've posted!

That's one of the options, and it looks like it would make an accurate turn.

I'll play with this tomorrow and see if this would work out for us.

Thanks!