View Single Post
  #3   Spotlight this post!  
Unread 15-02-2014, 16:39
geomapguy's Avatar
geomapguy geomapguy is offline
Centenary '18
AKA: Graham Maxwell
FRC #1818
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Alexandria, LA
Posts: 535
geomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud ofgeomapguy has much to be proud of
Re: Gyro with Labview to drive straight

Quote:
Originally Posted by Ether View Post
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?
__________________
The Cowboys - FIRST Robotics Team #1818 2015-
The Bolton Bear Bots - FIRST Robotics Team #3666 2011-204 (30-26-0)
2014 Oklahoma Regional - 20/62 (6-4-0), 5/62 in OPR
2014 Arkansas Regional - 14/39 (8-7-0, Quarterfinalists with 1706 and 1939), 24/39 in OPR
2013 Lone Star Regional Dean's List Finalist!
2013 Lone Star Regional - 22/57 (6-5-0), 17/57 in OPR
2012 Bayou Regional - 16/49 (6-5-0)
2011 Dallas Regional - 10/52 (4-2-5, #6 Alliance Captain, Quarterfinalists with 2948 and 3350)