Professional Documents
Culture Documents
Finalprojectprogramtable
Finalprojectprogramtable
Descriptions
Sheet1
Tasks task main() Tuns on all sensors, void setup, and roam void setup Defines values used in roam task roam makes robot search and pick up balls Sensors CRANE Defines the crane. GO Defines the back motor STEER Defines the steering function LIGHT Defines the front light sensor Constants FWDTIME Defines the amount of time that robot goes forward . REVTIME Defines the amount of time robots reverses for. FULL_TURN_TIME Defines the amount of time robots turns for in void TURNTIME Defines the amount of time robots turns for. Thresholds BLK 31 Defines value for black that is 31. WHTE 42 Defines value for white that is 42. GRN 43 Defines value for green that is 43 and is at a constant. Functions OnRev() Turns motor in reverse. OnFwd() Turns motor in forward. SetPower Controls the power or speed of the motots
Page 1