Determining direction of turn

Recommended Posts

In my HELIHUD (Heads Up Display for choppers), I want to add a string text message that, when the helicopter is in the hover, it tells the helicopter pilot when the helicopter is turning left or right, thus requiring pedal input to counteract the turn.So my thoughts on this have been to use the (A:Plane heading degrees gyro, radians) variable. Cool, easy. Problem is, since that variable is constantly changing with heading, how do I compare it to itself to determine if the chopper is turning left or right?I was thinking along the lines of adding a small time delay and comparing the new heading to the last heading and seeing if that would work, but I have no idea how to do that. Perhaps that is not even the right thought process.Can anyone point me in the right direction, as this is driving me nuts.SteveEDIT: I sould also mention that I am using XML.

Share on other sites
 Help AVSIM continue to serve you!Please donate today!

What about DELTA HEADING RATE? I would look in a default turn coordinator to look up the exact syntax.Arne Bartels

Share on other sites

Steve,Just an idea, it works a little bit, may be you can perfect it; you need uncoordinated flight:(A:Turn coordinator ball,position) 0.2 >Right(A:Turn coordinator ball,position) -0.2 <Leftor(A:INCIDENCE BETA,degrees) 1 >Right(A:INCIDENCE BETA,degrees) -1 <LeftHope it helps,Jan"Beatus Ille Procul Negotiis"

Share on other sites

GuysThanks a million for the help. I used this one:(A:Delta heading rate,rpm) 20 * 1 >= %Right%!5d!%(A:Delta heading rate,rpm) 20 * -1 <= %Left%!5d!%And she works great.Steve

Create an account

Register a new account

• Tom Allensworth,
Founder of AVSIM Online

• Hot Spots

• Flight Simulation's Premier Resource!

AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!