PDA

View Full Version : 2x360 Rotation HELP extracting/converting values



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.

TronicGr
11-25-2014, 06:26 PM
Γεια σου φιλε,

That is limitation of the FSX and other Microsoft flight Sim products. They invert that data so it its used in a conventional motion platform (6DOF for example) it won't make the platform to jump from pitch down to pitch up, but rather do the transition slowly. No idea how you could use this for 360 degrees continuous rotation. Not sure if there is something that could be used for indication of inverted flight.

Thanks
Thanos

renovatio
11-26-2014, 10:26 AM
greeks always find a way ;)
calculated by roll axis, problem solved.
thanks!