Thread
:
gyro and shooting angle
View Single Post
#
7
23-01-2006, 11:35
Tom Bottiglieri
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Re: gyro and shooting angle
Quote:
Originally Posted by
CharlieWilken
but from step 1 to 3
Motor = 127 +(-2*127) = -127
that doesn't seem right
or am I doing this wrong?
Wanted - 3
Current - 1
3-1 = 2
2*127 = 255
127 + 255 = (in unsigned char talk) 255
Tom Bottiglieri
View Public Profile
Visit Tom Bottiglieri's homepage!
Find all posts by Tom Bottiglieri
Find CD-Media Photos by Tom Bottiglieri
Find CD-Media Papers by Tom Bottiglieri