briantes Posted October 15, 2011 Report Posted October 15, 2011 Hello. I use $07BC offset to know if autopilot is ON or OFF. It works good except for some aircraft like PMDG 737. How could I detect if autopilot is On in those aircraf? Thanks
Ian P Posted October 15, 2011 Report Posted October 15, 2011 The problem is that a lot of complex aircraft - such as PMDG, LDS, Captain Sim - do not use the default autopilot. To be fair to them, this is because the default FSX autopilot is pretty diabolical compared to modern Flight Management Systems. What they do instead is code their own autopilots from scratch, which are then activated using their own autopilot switch - the FSX autopilot is not called or used in any way, which is why the offset cannot detect when the autopilot is on. Some developers, such as Level D Simulations, provide SDKs that give out the information as to what is needed to engage/disengage/change settings on aircraft functions. Others (CS, PMDG) do not. In those instances, the only way I am aware of that you will be able to detect or change the setting of an autopilot is to find out which LVar (Local VARiable) setting is used by the developer and directly read from that. Ian P.
briantes Posted October 15, 2011 Author Report Posted October 15, 2011 Thanks for the reply. I supoused that it was the problem. I'll search about Level D SDK. Thanks
Ian P Posted October 15, 2011 Report Posted October 15, 2011 That will only apply to the LDS767, though. It won't help with any other model. I've just thought of another example that you'll have problems with - FeelThere/Wilco also use their own FMS code. Sorry! :neutral: Ian P.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now