Posts: 6
Joined: Tue Mar 10, 2015 4:04 pm

Pitch Axis

Sat Aug 29, 2015 3:53 pm

When I get the orientation from my Sense HAT, the pitch axis never returns a value between 83 and 254 degrees and I don't know why. The rest of the axis work normally. Does anyone know why this is? Thanks

Posts: 2101
Joined: Thu Feb 05, 2015 11:25 pm

Re: Pitch Axis

Wed Sep 02, 2015 8:13 pm

AFAIK Orientation is a combination of all the sensors and therefore a formula is used to produce pitch/roll and yaw.

The formula used only gives values from 0-90 when tipping down and 360-270 when tipping up

Your values of 83 to 254 are probably due to to not having fully calibrated your board

Try out these steps (bit complex but I did them and they do work)

Return to “Astro Pi”