22 #ifdef CONF_BOARD_QUAD_ENCODER 33 #ifdef CONF_BOARD_QUAD_ENCODER // Encoder Rx ======================================================= 44 static int encoderSendTimeMs=0;
void quadEncInit(void)
Initialize quadrature encoder driver.
int comWrite(int serialNum, const unsigned char *buf, int size, uint32_t ledPin)
void quadEncReadSpeedAll(uint32_t *speed0, uint32_t *speed1)
void quadEncReadPositionAll(int *pos0, bool *dir0, int *pos1, bool *dir1)
Reads the current position of the encoders.
wheel_encoder_t g_wheelEncoder
void velocity_control(is_comm_instance_t &comm)
float encoderTickToWheelRad
evb_flash_cfg_t * g_flashCfg
#define DID_WHEEL_ENCODER
int is_comm_data(is_comm_instance_t *instance, uint32_t dataId, uint32_t offset, uint32_t size, void *data)
Autogenerated API include file for the Atmel Software Framework (ASF)