WPILib programming
-
Basic WPILib Programming features
-
Using actuators (motors, servos, and relays)
- Actuator Overview
- Driving motors with speed controller objects (Victors, Talons and Jaguars)
- Repeatable Low Power Movement - Controlling Servos with WPILib
- Composite controllers - RobotDrive
- Driving a robot using Mecanum drive
- Using the motor safety feature
- On/Off control of motors and other mechanisms - Relays
- Operating a compressor for pneumatics
- Operating pneumatic cylinders - Solenoids
-
WPILib sensors
- Using limit switches to control behavior
- WPILib Sensor Overview
- Accelerometers - measuring acceleration and tilt
- Gyros to control robot driving direction
- Determine robot orientation with a compass
- Measuring robot distance to a surface using Ultrasonic sensors
- Using Counters
- Measuring rotation of a wheel or other shaft using encoders
- Analog inputs
- Potentiometers to measure joint angle or linear motion
- Analog triggers
- Operating the robot with feedback from sensors (PID control)
-
Driver Station Inputs and Feedback
-
Robot to driver station networking