renovatio
11-17-2014, 01:29 PM
Hello, I am using Link2fs in order to extract the pitch / roll.
What I want to do is to control 2 steppers to freely rotate a small model cockpit in roll and pitch axis.
The problem is that the pitch values are ranging form 90 to -90 ( -90 if plane climbs , 90 if plane sinks) .
However if plane is climbing at 45deg. , the pitch value is -45. If the plane is climbing inverted at 45, the value is again -45, making it unable to determine if the plane is inverted or not.
Is there some way to convert the export pitch value from 0 to 360 degrees , so that I can directly export that value ?
Or some way to identify if the plane is inverted ?
Thank you.
What I want to do is to control 2 steppers to freely rotate a small model cockpit in roll and pitch axis.
The problem is that the pitch values are ranging form 90 to -90 ( -90 if plane climbs , 90 if plane sinks) .
However if plane is climbing at 45deg. , the pitch value is -45. If the plane is climbing inverted at 45, the value is again -45, making it unable to determine if the plane is inverted or not.
Is there some way to convert the export pitch value from 0 to 360 degrees , so that I can directly export that value ?
Or some way to identify if the plane is inverted ?
Thank you.