Skip to content

RLD 3: REV

Joseph Farkas edited this page Sep 14, 2022 · 28 revisions

The REV Library

REV is a popular vendor that makes lots of parts for FRC. In addition to mechanical parts, they manufacture electronics, including motors and motor controllers. The REV library allows us to communicate with, configure, and control these motor controllers (called SparkMaxes) through robot code.

SparkMax

REV's SparkMax is a motor controller, which basically means it controls how much power to provide to the motor. In addition, it takes encoder (sensor) values from the motor and sends them to the RoboRio. This allows us to see the speed, position, temperature, etc. of the motor.

Making a SparkMax variable

Customizing settings

Driving a SparkMax

Advanced Functionality

Clone this wiki locally