Robot Control Library
encoder_eqep.h File Reference

Go to the source code of this file.

Functions

int rc_encoder_eqep_init (void)
 Initializes the eQEP encoder counters for channels 1-3. More...
 
int rc_encoder_eqep_cleanup (void)
 Stops the eQEP encoder counters and closes file descriptors. This is not strictly necessary but is recommended that the user calls this function at the end of their program. More...
 
int rc_encoder_eqep_read (int ch)
 Reads the current position of an encoder channel. More...
 
int rc_encoder_eqep_write (int ch, int pos)
 Sets the current position of an eQEP encoder channel. Usually for resetting a counter to 0 but can set an arbitrary position if desired. More...