mastonevich / frc-team-1987

Automatically exported from code.google.com/p/frc-team-1987
0 stars 0 forks source link

Drive Straight Function in Autonomous #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Purpose of code changes on this branch:

To cause the robot to drive straight in autonomous (suggested by Paul). The
values autoLeftSpeed and autoRightSpeed would be input into the tankDrive
functions in the autonomous code.

When reviewing my code changes, please focus on:

The else statements setting the speed variables to the constant if one
encoder is not reading more than each other. Those were previously not
present, and driveStraight malfunctioned. However, I believe adding those
two statements will fix the problem.

After the review, I'll merge this branch into:

trunk/BreakawayRobot/com/team1987/breakaway/BreakawayRobot.java#685

Original issue reported on code.google.com by bsmith131@gmail.com on 30 Mar 2010 at 9:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Note: autoLeftSpeed and autoRightSpeed will be placed at
http://code.google.com/p/frc-team-1987/source/browse/trunk/BreakawayRobot/com/te
am1987/breakaway/BreakawayRobot.java#302
in place of Constants.c_autoCloseInSpeed.

Original comment by bsmith131@gmail.com on 2 Apr 2010 at 5:28