Guard the goal
guard_goalDefends the goal the other team scores in by positioning a VEX AIM robot as goalkeeper for a set time, sliding sideways to block the ball and ending early on a catch.
Instructions
Play goalkeeper for a while: stand 25 cm in front of the goal the other team scores in (each team scores in its own colour's goal, so the blue team guards the orange goal), facing up the field, and slide sideways to stay between the ball and the goal's centre, never past a post. Ends early if it catches the ball.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | defend | |
| seconds | No | ||
| speed_percent | No |