|
Re: Encoder+PID = How make robot going straight
We find it soooo much easier to make a robot go straight with a GYRO verses encoders. So if your application or goal is to go straight maybe try with a gyro if you have one?
Here is some pseudo code in excel with a simple "P" loop that works for autonomous mode.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here: Repository
Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
|