int readMotor2RawRelative(void)
Reads value in encoderVal array for motor 2 and keeps track of multiturn counts.
Definition: Encoder.c:222
float readMotor1AngleRelative(void)
Reads value in encoderVal array for motor 1 and keeps track of multiturn angles.
Definition: Encoder.c:243
int readMotor1RawRelative(void)
Reads value in encoderVal array for motor 1 and keeps track of multiturn counts.
Definition: Encoder.c:209
void resetMotor1RawRelative(void)
Resets the relative counts on encoder 1.
Definition: Encoder.c:187
int readMotor2Raw(void)
Reads value in encoderVal array for motor 2.
Definition: Encoder.c:257
void encoderRead(void)
Updates value in sensor array.
Definition: Encoder.c:104
int readMotor1Raw(void)
Reads value in encoderVal array for motor 1.
Definition: Encoder.c:260
void zeroMotor2RawRelative(void)
Reads value of motor 2 encoders and sets the relative angle to zero.
Definition: Encoder.c:180
float readMotor2Angle(void)
Reads value in encoderVal array for motor 2 and converts it to an angle.
Definition: Encoder.c:267
void zeroMotor1RawRelative(void)
Reads value of motor 1 encoders and sets the relative angle to zero.
Definition: Encoder.c:174
void resetMotor2RawRelative(void)
Resets the relative counts on encoder 2.
Definition: Encoder.c:191
float readMotor2AngleRelative(void)
Reads value in encoderVal array for motor 2 and keeps track of multiturn angles.
Definition: Encoder.c:246
void encoderSPIInit(void)
Initializes the SPI channels for the motor drivers, encoders, and RAM.
Definition: Encoder.c:39
float readMotor1Angle(void)
Reads value in encoderVal array for motor 1 and converts it to an angle.
Definition: Encoder.c:264