I was wondering about a few lines of code.
Code:
printf("Encoder Motor 1: %E\n", encoderMotor1->Get());
printf("Encoder Motor 2: %E\n", encoderMotor2->Get());
printf("EM1 Distance: %e\n", encoderMotor1->GetDistance());
The first two lines providing the
warning
warning: double format, different type arg (arg 2)
I was wondering if this would affect the data at all
Note - I also tried lowercase f instead of capital E