|
Re: Potentiometer arm control
Quote:
Originally Posted by jgannon
Not quite... (-11/5) will always evaluate to -2. Try this instead:
Code:
wrist_pos = -11*arm_pos/5 + 1670;
|
It will not try to use floating point or just use that fraction and multiply it? I thought that would work.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian
Previous mentor and student from Team Fusion, FRC 364
|