Pick your start
Your robot’s code is five files in TeamCode: Robot.java, Tunables.java, Controls.java,
Actions.java and an autos folder. You do not type them from nothing. You start from files that
are already written, and then change them. Why: code that already builds and drives is a safe
place to start. You change a few lines, not write a hundred.
Pick one start:
| Your robot | Your start | You get |
|---|---|---|
| A starter bot from goBILDA (tank or Strafer), REV, AndyMark or Studica, built as the seller’s guide says | A starter bot | The bot’s whole code. Every part is in it, with the seller’s names. |
| A robot like one of our example robots: for example mecanum + intake, tank + flywheel, a turret, odometry | A common setup | That example’s code. You delete what your robot does not have. |
| Your own design | A blank slate | The smallest code that drives. Then you add your parts one at a time. |
For a starter bot with your own changes (a part added, taken off or moved): start from a starter bot. Then make your changes one at a time: the page says how.
If you are not sure, pick the start that is most like your robot. You delete less and type less. You can copy single lines from the other starts later.
All three starts end in the same place: the five files in TeamCode, and the project builds.
Then the five files pages explain every line, and you make the robot drive.
| # | Page |
|---|---|
| 1 | A starter bot |
| 2 | A common setup |
| 3 | A blank slate |
| 4 | Copy example files into TeamCode (pages 1 to 3 send you here) |
Next: pick one: a starter bot, a common setup or a blank slate.
Something wrong on this page? Tell us with a short GitHub form.