Quote:
|
Originally Posted by magical hands
Hi! i just have a question since i am very new programmer. Okay i know how to create an autonomous mode but how can you use gyro's in autonomous mode. please show me a code so i can have a look at it and learn. thanks by the way my e-mail address is jigarjuhi@yahoo.ca. thanks guys for your time and co-operation. 
|
I cannot say enough that posting "I need code to use the gyro" or "I need autonomous code" is akin to saying "I need a design for an arm for my robot" in the mechanical forum. In order to get a useful answer you need to make your question more specific. What should the code do? Should the code simply read the value of the gyro and discard it while driving forward for 5 seconds? Should the code make sure the robot drives straight? Should the code drive straight ahead, turn 90 degrees, then drive straight ahead again? In engineering requirements are key. We cannot help you if we don't know what you need help with.
Mike