
04-01-2017, 15:28
|
 |
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
 FRC #5817 (Uni-Rex)
Team Role: Mentor
|
|
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 381
|
|
|
Re: Driving Straight
Quote:
Originally Posted by YairZiv
Hey, so as we get close to the season, there's one thing we wanna understand how to do. We wanna understand how to drive straight using autonomous period. Using a PIDController for distance will not work since the two sides of the chassis may drive in a different speed. Using a PIDController for speed might work a little better though it will be hard to land in the distance we tried to go to. So how do we go into doing something like that?
Good luck in the season everybody!
|
If you have a gyro, you can run a PID on the angle so that if it turns one way or the other, it will increase/decrease the outputs on the sides to help it turn back.
__________________
My FRC History:
2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder
|