Thread
:
1 joystick controls not turning properly
View Single Post
#
2
27-03-2008, 20:43
Bongle
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Re: 1 joystick controls not turning properly
before the 1 joystick drive portion, do this:
p1_x = 254 - p1_x
This will make the math controlling the 1-joystick drive believe that the joystick is facing the opposite direction than it is.
Bongle
View Public Profile
Find all posts by Bongle
Find CD-Media Photos by Bongle
Find CD-Media Papers by Bongle