Thread
:
Inverting x-axis
View Single Post
#
2
20-02-2007, 18:36
lukevanoort
in between teams
AKA: Luke Van Oort
no team
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
Re: Inverting x-axis
You can flip the 'direction' of an analog input by using something like this (from our 2007 code)
Code:
DRIVE_LEFT = 254 - p1_y; DRIVE_RIGHT = 254 - p2_y;
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
lukevanoort
View Public Profile
Find all posts by lukevanoort
Find CD-Media Photos by lukevanoort
Find CD-Media Papers by lukevanoort