Should be pretty simple. Same idea as drive_distance, just call mecanum_drive(throttle_setting, 0, 0) instead of mecanum_drive(0, throttle_setting, 0).
If we play our cards right, we might not even need turn_degree! I think we can drive off the ramp, grab a goal, and pull it back to the parking lot all with forward/revers, left/right commands.
Should be pretty simple. Same idea as drive_distance, just call mecanum_drive(throttle_setting, 0, 0) instead of mecanum_drive(0, throttle_setting, 0).
If we play our cards right, we might not even need turn_degree! I think we can drive off the ramp, grab a goal, and pull it back to the parking lot all with forward/revers, left/right commands.
See page 4 and 9 of this PDF http://www.usfirst.org/sites/default/files/uploadedImages/Robotics_Programs/FTC/FTC_Documents_and_Updates/FTC_Game_Manual_Part_2-Rev_0_0.pdf