markalberti Posted September 8, 2013 Report Share Posted September 8, 2013 Hi, First of all a thanks to Jeff Rowberg for putting in all the hard work to make this sensor more accessible. In an attempt to use the sensor output and avoid issues with gimbal lock I've been using the quaternion output from the MPU-6050_DMP6 code for my project. It seems however that the quaternion output with 2 significant digits is not as sensitive as the euler or ypr output. Is there anyone who has had success with changing the quaternion output to 3 or more significant digits? Quote Link to comment Share on other sites More sharing options...
markalberti Posted September 9, 2013 Author Report Share Posted September 9, 2013 Ok, so I figured it out. As many of you know Serial.print(1.23456) gives "1.23" and Serial.print(1.23456, 3) gives "1.234" which answers my question.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.