Main Program Files for SoccerBot
If possible, right click the links and "Save
Target As." Otherwise, copy and paste into a "new" program in RobotC and
"Save As."
PS2Control.c
- DO NOT
edit PS2Control at all!! You do not need to.
- Save this file in the same
directory/folder as the SoccerBot.c program
- DO NOT change the
name of this file!! Doing so will cause the Soccerbot.c program to
fail.
SoccerBot.c
- Save this file in the same
directory/folder as PS2Control.c
- Read the comment tags,
they tell you which parts are editable and which parts to leave alone
- You can change the name of this
file if you want multiple programs
- You will only be able to run one
program when you are in a match
- Once the match starts, you will
not press any button on the robot until the end of the match
- To "pause" your robot, press
start on the game controller. To "start" your robot again, press
select. This works in both autonomous and manual mode.
- PS2 sensor should be on sensor
port 1.
- Default drive motors are A and C