This is what we'll be using for hosting code from the 2016 regional season.
This year's Botball game is described here.
THE BATTERY WILL BE DESTROYED IF YOU DON'T DO THIS EVERY TIME! I KNOW BECAUSE I BROKE ONE...
- Click the
Shut Down
button on the controller. - Wait until the terminal outputs
system halted
or something like that. - Switch the controller to off using a toothpick/pointy object.
- Disconnect the battery (optional).
Click this for KIPR's workshop slides that has information on the new controller/IDE.
- Turn on the controller.
- Connect your computer to the controller via micro-USB.
- Open a web browser and go here:
192.168.124.1:8888
- Create a project OR edit an existing project.
- Since you are directly connected, you can view all the existing projects on the controller.
Compile
your project when you're ready.- Click on the
Runner
to direct yourself to the console output. Run
your project either on your computer or manually on the robot.
For step 2, you could also use the ethernet connection created by the controller, but I haven't had success with that method. Another downside to connecting to the controller's network is that you cannot access the internet.
Go here for our libraries. Check back often because they will be modified/optimized throughout the season.
Look at their official Github repository for all the source code.
Learn how to read these!