tassotasso Posted July 3, 2019 Report Posted July 3, 2019 Hello there, it's me again. Is there an offset that reads this attitude adjustment knob values? https://imgur.com/Kw3g784 Thanks! Tasso.
John Dowson Posted July 4, 2019 Report Posted July 4, 2019 Hi Tasso, knob's usually send controls. In this case, its the 'Attitude Pitch Trim' which *should* (I guess) send controls for 'Attitude Bars Move Down' and 'Attitude Bars Move Up'. However, whether and how these work or not is completely dependent upon the aircraft implementation. For example, in A2A's Cherokee, you can get/set this value (i.e. the trim value itself) using the Lvar 'AttitudePlane', e.g from https://www.avsim.com/forums/topic/443151-a2a-piper-pa-28-cherokee-180-module-version-11/ , here's a couple of lua function that controls this knob for this aircraft: function A2A_Pitch_Att_inc () local PAtt = ipc.readLvar('AttitudePlane') PAtt = PAtt + 1 if PAtt > 7 then PAtt = 7 end ipc.writeLvar('AttitudePlane', PAtt) end function A2A_Pitch_Att_dec () local PAtt = ipc.readLvar('AttitudePlane') PAtt = PAtt - 1 if PAtt < -7 then PAtt = -7 end ipc.writeLvar('AttitudePlane', PAtt) end Depending upon which aircraft you are using, something similar may be available. There is no offset for actual attitude pitch trim value itself, and there is no simulator variable for this. The offsets for the Attitude Indicator are: 2F70= Attitude indicator pitch value ( in degrees) 2F78=Attitude indicator bank value ( in degrees ) There is another read-only simvar for 'Attitude Bars Position', however this is not currently stored in an offset. Hope this helps, John
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