0

I have the output of a sensor fusion(Razor_AHRS) (gyro, magnetometer, accelerometer) as yaw pitch roll.

My goal is to convert them into mouse movements for yaw and pitch.

Unfortunately, Yaw goes from 0 to 359, pitch from 0 to 179(if you use offsets). So at some point there is a discontinuity.

What is the best way to convert these yaw and pitch values into something I could use with a relative mouse move method? So I need relative movement as int for x and y.

Brutus Cruciatus
  • 404
  • 3
  • 18

0 Answers0