WPILib programming
-
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)