|
Re: turning joystick controls 90% in programming
EDIT: I gave it more thought and your problem can be solved by inverting either your left or right motor. Do this in the begin subvi
Disreguard:
by turning 90 degrees, I would have to assume that you have the x axis and y axis switched in your program. switching the values would do nothing except reverse the controls, they would still be off by 90 degrees.
I am assuming you are useing the base code that unbundles the axis data into x axis and y axis. those should simply be fed into their respective x and y inputs into your robot drive subvi. If they match then try mismatching them to see if that solves your problem, as it may just be a problem with the joystick you are using.
You can find this in the teleop subvi.
__________________
FRC 1732 (Hilltoppers): Mentor
FRC 2338 (Gear It Forward): Mentor/Alumnus
FRC 4096 (CTRL-Z): Mentor
Last edited by indubitably : 08-02-2011 at 12:42.
|