Programming
Runnymede Robotics uses Java to program the robot. During the pre-season, the team focuses on basic Java skills. For skills development, we use problems from the Canadian Computing Competition, Advent of Code, Coding Bat, Don Mills Online Judge (dmoj) and other exercises.
Runnymede Publishes our code for others to use!
Runnymede Robotics has been publishing a coding framework for FRC teams under the Toronto Coding Collective website.
For the 2022 Rapid React season, the FIRST robot libraries will be changing again. Since all of the coders at Runnymede are new, we will start from scratch to re-build our robot frameworks using the latest and greatest from FIRST.
The Toronto Coding Collective website has instructions on how to download and install key software components for coders and for drivers. Please follow the instructions to get your environment up and running.
Then get the RunnymedeRobotics preseason code from GitHub.
Programming Pre-Season
Typical Topics we may (time dependent) cover in the pre-season are:
overview of the software components
looking at a basic drive base
creating our first FRC program
reading the joystick and turning a wheel
proper structure of an FRC program (user input, commands, subsystems)
using encoders to measure speed and distance
printing data on the SmartDashboard
PID controllers
driving in a straight line (without a gyro)
stopping at a distance or a limit switch
using the gyro and PID control to drive very straight and turn with precision
writing more commands (drive straight, turn to angle)
intro to autonomous programming
complex auto patterns (chaining commands)
ultrasonic sensors