Dear all,
I'm struggling trying to achieve what appears a simple task. I've written a Simconnect application that creates AI airplanes and flies them around for formation flight, after releasing them from AI control. I control the aileron, elevator and rudder of said AI objects, but I have this very strange issue.
On ground, everything works perfectly, and I can obtain the desired effect, but in flight I lose the ability to control the rudder of the AI object, while ailerons and elevators are still controlled. What happens instead is that in some way the simulator regains control of the rudder, deflecting it as a function of (it appears) the sideslip angle, saturating at -0.5 and 0.5 (while on ground it can move from -1 to 1). In the end, it sometimes happens that the rudder is completely deflected, while the AI object is flying in a straight line. I have tried setting the rudder using both variables and events, and while everything works on ground, I always lose control in flight, even with events like "RUDDER_CENTER".
Has anyone ever encountered a similar issue? Do you have any idea of what may be the problem?
Kind regards,
Davide
I'm struggling trying to achieve what appears a simple task. I've written a Simconnect application that creates AI airplanes and flies them around for formation flight, after releasing them from AI control. I control the aileron, elevator and rudder of said AI objects, but I have this very strange issue.
On ground, everything works perfectly, and I can obtain the desired effect, but in flight I lose the ability to control the rudder of the AI object, while ailerons and elevators are still controlled. What happens instead is that in some way the simulator regains control of the rudder, deflecting it as a function of (it appears) the sideslip angle, saturating at -0.5 and 0.5 (while on ground it can move from -1 to 1). In the end, it sometimes happens that the rudder is completely deflected, while the AI object is flying in a straight line. I have tried setting the rudder using both variables and events, and while everything works on ground, I always lose control in flight, even with events like "RUDDER_CENTER".
Has anyone ever encountered a similar issue? Do you have any idea of what may be the problem?
Kind regards,
Davide