Quote:
Originally Posted by Jared
x = j_x * cos(theta) + j_y*sin(theta)
y = -j_x * sin(theta) + j_jy * cos(theta)
|
Jared:
Is j_y positive or negative for joystick pushed forward?
Is the code above for a gyro whose angle increases in the clockwise or counterclockwise direction?
I infer "y" and "x" refer to "forward" and "strafe right", respectively, where "forward" is as shown in
this sketch, correct?