Our one ball hot check script was this:
Code:
#One Ball, with Hot Checking
WAIT 500
CHECK_HOT
ARM_MOVE 1
SET_ROLLER_SPEED 25
DRIVE_STRAIGHT 96 5000
#Was 3500
SHOOT_HOT 3000
STOP_ALL
The "Check_Hot" Command just checked the hot goal, and wrote the status to a global variable. The "Shoot_Hot" command would look at the global variable, and if hot would shoot without delay, and if it was not hot it would delay the argument "3000" milliseconds, then shoot.