Joystick arm code implemented.