Robot Control Library
|
Go to the source code of this file.
Functions | |
int | rc_encoder_init (void) |
Initializes counters for channels 1-4. More... | |
int | rc_encoder_cleanup (void) |
Stops the 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_read (int ch) |
Reads the current position of an encoder channel. More... | |
int | rc_encoder_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... | |