View Single Post
  #2   Spotlight this post!  
Unread 25-01-2015, 20:52
Chris_Elston's Avatar
Chris_Elston Chris_Elston is offline
Controls Engineer
AKA: chakorules
FRC #1501 (Team THRUST)
Team Role: Engineer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Huntington, Indiana
Posts: 747
Chris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond reputeChris_Elston has a reputation beyond repute
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.
Attached Files
File Type: xls 2015-01-23-simple-p-loop-gyrodrive.xls (20.5 KB, 110 views)
__________________
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
Reply With Quote