Chapter 3 - Making Stuff Move

Section 3.1

3.1 - Working With Motors in Code

This lesson covers writing motor control code for your robot, including downloading the Phoenix Vendor Library, configuring the motor, setting percent output, and using the simulator to test functionality.

Section 3.2

3.2 - Writing Code for Multiple Motors

This lesson teaches you how to code multiple motors using individual control or the CTRE follower library, focusing on configuring follower motors and inverting outputs for correct direction.

Section 3.3

3.3 - Logging with WPILib Shuffleboard

This lesson covers Shuffleboard, teaching you how to display and monitor real-time robot data, navigate its interface, and use periodic methods for updates.

Section 3.4

3.4 - The JoyStick Object

This lesson teaches students how to connect a joystick to the driver station, integrate it into robot code, and control motors using joystick inputs, including managing deadzones for accurate control.

Section 3.5

3.5 - Project 1

This lesson introduces Project 1, where you'll implement a tank drive system, control a shooter motor with a button, and create an elevator motor with a toggle function for a maximum of five seconds.

Section 3.5+

3.5+ - Debugging Project 1

This lesson covers effective debugging, from resolving build errors using VSCode’s autocomplete to troubleshooting runtime crashes and functionality issues like a motor failure or elevator malfunction.