|
Re: EasyC-FRC - Arcade driving help
Thanks EHaskins -- to think it's as simple as:
LeftDrive = JoyX - JoyY + 127;
RightDrive = JoyX + JoyY - 127;
LeftDrive = Limit(LeftDrive,0,255);
RightDrive = Limit(RightDrive,0,255);
to mix the x and y axis numbers and get a motor speed.
Can't wait to get to that robot now!
Roger.
|