Much of Saturday consisted of review for the rookies on the team. Electrical focused on making proper PWMs and learning how to solder wires to achieve good connections. Programming students focused on writing code for the joysticks. The students used quadratic equations to build a piece-wise defined function to control the speed of the robot based on joystick input. They then worked with the sonar to get accurate reading for distance. Both groups then worked together to learn about the process of flashing a cRIO and loading code it. They also learned the importance of checking for a completely powered circuit.
We hope to implement this code and connect the sensor to the 2012 Basketball Robot on Friday.