Quote:
Originally Posted by Ether
Zero the gyro when the bot is facing in the desired direction.
Then,
If the gyro says that your bot is facing slightly clockwise from the desired direction you need to increase the speed of the right wheels and decrease the speed of the left wheels.
If the gyro says that your bot is facing slightly ounterclockwise from the desired direction you need to increase the speed of the left wheels and decrease the speed of the right wheels.
There are many different ways to do this. You can either invent your own or search around for ideas.
|
Would a PID be something we'd use?