View Single Post
  #7   Spotlight this post!  
Unread 02-02-2011, 16:04
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Make motors run the same speed using encoders

Quote:
Originally Posted by siggy2xc View Post
does anyone have any ideas on how to use encoders to make the motors run at the same speed when going straight? I'm currently working on a code to make the robot go the same direction as you press the joystick no matter which way it is facing and this seems to be the biggest problem since the robot will drift left or right. I'm having a hard time with this since the motors shouldn't be running at the exact same speed when pressing slightly left or right.

(We will be using arcade drive)

Any help would be appreciated
Robot Casserole - Team 1736
The approach discussed here uses a gyro instead of encoders. It might give you some additional ideas.



Reply With Quote