Skunkworks1983 / FTC-Cascade-Effect-sandbox

Contains a hodgepodge of semi-related robot test code, FTC 1983 & 7818 can share their code snippets.
4 stars 6 forks source link

Add a drive_sideways() autonomous function. #7

Open LeoSalemann opened 9 years ago

LeoSalemann commented 9 years ago

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

OrbitalObject commented 9 years ago

Ok, I will work on this over break.