Robot Control Library
Quadrature_Encoder

Description

Functions for reading quadrature encoders.

Channels 1-3 on the Robotics Cape and BeagleBone Blue are counted in hardware by the eQEP modules and are extremely resistant to skipping steps and use negligible power. They can also be used without root permissions. If necessary, encoder channel 4 on the Robotics Cape and BeagleBone Blue can be used which uses PRU0 to count steps so the ARM core doesn't have to do anything. It is less robust than the dedicated hardware counters and requires root permissions to use, please use channels 1-3 first.

Modules

 Encoder
 C interface for quadrature encoder counting.
 
 Encoder_EQEP
 C interface for the Sitara eQEP encoder counter.
 
 Encoder_PRU
 Functions for reading the PRU-accelerated quadrature encoder counter.