Code: Select all
attitude = sense.get_orientation()But this raises a LOT of questions. Is the Yaw axis measured from magnetic North? Does it compare the accelerometer data to the gyro data? In other words, if the Sense Hat accelerates forward, will it read the gyro, realize it hasn't rotated, and correct for the G force?
The API reference (found here) says you can gather raw accelerometer or gyro data as well, and the way it works is to call the config method and turn everything else off. Does it then turn everything else back on, or do I have to do that myself?
Can anyone shed a little light?