Autonomous GyroTags: Autonomous and Gyro
Task:Create Autonomous deploying from ramp utilizing gyroA simple idea for autonomous was to use dead reckoning, with command such as
motor[leftWheel]=100; motor[rightWheel]=100; wait10Msec(100); motor[leftWheel]=0; motor[rightWheel]=0;However, the problems included an inability to correct movement if one side of the wheels had less power than the other. Gyro was giving us multiple errors, with methods such as GoYonderGyro(); having similar functions such as GyroTurn(); We figured out that the variables needed to be reinitialized at the beginning for values such as for the motors and servos. Now, with gyros, instead of the above code, those lines are replaced with:
GoYonderGyro(20, 50, 0);
Reflections:The simplicity of gyro allows us greater capability with drive control and precision with autonomous. The self-adjusting values also allows the robot to remain in a linear path besides one that is curved.
Written on February 7, 2015