Jump to content

Recommended Posts

Posted (edited)

Hi all, Im back, lol

It works a well but I notice that when I start the sim and it first loads the throttle is in flight idle when the actual physical unit is in the cut off.

It needs a slight movement of the throttle to jump to the cut off position.

Is it possible to adapt that lua script above to not include flaps info? maybe that has something to do with it when i deleted part for the flap dataref info.

Any ideas?

Edited by N1EL
Posted

You can comment out the lines you don't want or need by putting two dash lines at the start.  If you're using Notepad++ (and you should), the text will then turn green.  Green text is ignored.

I'm not sure what your issue is, maybe it has something to do with the lever you've mapped out as I've never had this issue.  To check if it is indeed your hardware, remove the two dash lines on the do_every_draw("writevalues()") line and it'll show you the actual readings from your hardware.

  • 4 months later...
Posted

Hi Guys

I am trying to config my Saitek trhottle using Ch. Cole LUA script to define mixture1. 

I am having dificulties to understand whit is the trhottle id. If you look at my Lua Debug Script my tres joysticks assume the same ID = 0 , 1 or 2.  Any one could help me? I need to know whitch number use i the script instead ok 28.

Thnaks a lot, Bernardo

 

[000253] 0:00:11.393 I/JOY: REGISTER Joystick device: T-Rudder - VID:1103PID:46713, this is a familiar device.
[000254] 0:00:11.393 D/HID:     AXIS Added Index: 0 (HID_Page_GenericDesktop/HID_Usage_GD_Z) for handle: 00000242E2AEFC70. Min/Max 0 - 1023
[000255] 0:00:11.393 D/HID:     AXIS Added Index: 1 (HID_Page_GenericDesktop/HID_Usage_GD_Y) for handle: 00000242E2AEFC70. Min/Max 0 - 1023
[000256] 0:00:11.393 D/HID:     AXIS Added Index: 2 (HID_Page_GenericDesktop/HID_Usage_GD_X) for handle: 00000242E2AEFC70. Min/Max 0 - 1023
[000257] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000258] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000259] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000260] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000261] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000262] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000263] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000264] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000265] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000266] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000267] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000268] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000269] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000270] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000271] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000272] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000273] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000274] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000275] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000276] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000277] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000278] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000279] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000280] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000281] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000282] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000283] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000284] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000285] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000286] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000287] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000288] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000289] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000290] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000291] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000292] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000293] 0:00:11.393 D/HID:     SKIPPED (ff00/20) for handle: 00000242E2AEFC70 because of usage page.
[000294] 0:00:11.393 D/HID: END HARDWARE
[000295] 0:00:11.393 D/HID: Hardware ADDED(294b, 1900) - Alpha Flight Controls at path \\?\hid#vid_294b&pid_1900#7&37bbfbb8&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
[000296] 0:00:11.393 I/JOY: REGISTER Joystick device: Alpha Flight Controls - VID:10571PID:6400, this is a familiar device.
[000297] 0:00:11.393 D/HID:     BUTTON Added Index: 0 (HID_Page_Button/01) for handle: 00000242E2AEFDF0
[000298] 0:00:11.393 D/HID:     BUTTON Added Index: 1 (HID_Page_Button/02) for handle: 00000242E2AEFDF0
[000299] 0:00:11.393 D/HID:     BUTTON Added Index: 2 (HID_Page_Button/03) for handle: 00000242E2AEFDF0
[000300] 0:00:11.393 D/HID:     BUTTON Added Index: 3 (HID_Page_Button/04) for handle: 00000242E2AEFDF0
[000301] 0:00:11.393 D/HID:     BUTTON Added Index: 4 (HID_Page_Button/05) for handle: 00000242E2AEFDF0
[000302] 0:00:11.393 D/HID:     BUTTON Added Index: 5 (HID_Page_Button/06) for handle: 00000242E2AEFDF0
[000303] 0:00:11.393 D/HID:     BUTTON Added Index: 6 (HID_Page_Button/07) for handle: 00000242E2AEFDF0
[000304] 0:00:11.393 D/HID:     BUTTON Added Index: 7 (HID_Page_Button/08) for handle: 00000242E2AEFDF0
[000305] 0:00:11.393 D/HID:     BUTTON Added Index: 8 (HID_Page_Button/09) for handle: 00000242E2AEFDF0
[000306] 0:00:11.393 D/HID:     BUTTON Added Index: 9 (HID_Page_Button/0a) for handle: 00000242E2AEFDF0
[000307] 0:00:11.393 D/HID:     BUTTON Added Index: 10 (HID_Page_Button/0b) for handle: 00000242E2AEFDF0
[000308] 0:00:11.393 D/HID:     BUTTON Added Index: 11 (HID_Page_Button/0c) for handle: 00000242E2AEFDF0
[000309] 0:00:11.393 D/HID:     BUTTON Added Index: 12 (HID_Page_Button/0d) for handle: 00000242E2AEFDF0
[000310] 0:00:11.393 D/HID:     BUTTON Added Index: 13 (HID_Page_Button/0e) for handle: 00000242E2AEFDF0
[000311] 0:00:11.393 D/HID:     BUTTON Added Index: 14 (HID_Page_Button/0f) for handle: 00000242E2AEFDF0
[000312] 0:00:11.393 D/HID:     BUTTON Added Index: 15 (HID_Page_Button/10) for handle: 00000242E2AEFDF0
[000313] 0:00:11.393 D/HID:     BUTTON Added Index: 16 (HID_Page_Button/11) for handle: 00000242E2AEFDF0
[000314] 0:00:11.393 D/HID:     BUTTON Added Index: 17 (HID_Page_Button/12) for handle: 00000242E2AEFDF0
[000315] 0:00:11.393 D/HID:     BUTTON Added Index: 18 (HID_Page_Button/13) for handle: 00000242E2AEFDF0
[000316] 0:00:11.393 D/HID:     BUTTON Added Index: 19 (HID_Page_Button/14) for handle: 00000242E2AEFDF0
[000317] 0:00:11.393 D/HID:     BUTTON Added Index: 20 (HID_Page_Button/15) for handle: 00000242E2AEFDF0
[000318] 0:00:11.393 D/HID:     BUTTON Added Index: 21 (HID_Page_Button/16) for handle: 00000242E2AEFDF0
[000319] 0:00:11.393 D/HID:     BUTTON Added Index: 22 (HID_Page_Button/17) for handle: 00000242E2AEFDF0
[000320] 0:00:11.393 D/HID:     BUTTON Added Index: 23 (HID_Page_Button/18) for handle: 00000242E2AEFDF0
[000321] 0:00:11.393 D/HID:     BUTTON Added Index: 24 (HID_Page_Button/19) for handle: 00000242E2AEFDF0
[000322] 0:00:11.393 D/HID:     BUTTON Added Index: 25 (HID_Page_Button/1a) for handle: 00000242E2AEFDF0
[000323] 0:00:11.393 D/HID:     BUTTON Added Index: 26 (HID_Page_Button/1b) for handle: 00000242E2AEFDF0
[000324] 0:00:11.393 D/HID:     BUTTON Added Index: 27 (HID_Page_Button/1c) for handle: 00000242E2AEFDF0
[000325] 0:00:11.393 D/HID:     BUTTON Added Index: 28 (HID_Page_Button/1d) for handle: 00000242E2AEFDF0
[000326] 0:00:11.393 D/HID:     BUTTON Added Index: 29 (HID_Page_Button/1e) for handle: 00000242E2AEFDF0
[000327] 0:00:11.393 D/HID:     BUTTON Added Index: 30 (HID_Page_Button/1f) for handle: 00000242E2AEFDF0
[000328] 0:00:11.393 D/HID:     BUTTON Added Index: 31 (HID_Page_Button/20) for handle: 00000242E2AEFDF0
[000329] 0:00:11.393 D/HID:     BUTTON Added Index: 32 (HID_Page_Button/21) for handle: 00000242E2AEFDF0
[000330] 0:00:11.393 D/HID:     BUTTON Added Index: 33 (HID_Page_Button/22) for handle: 00000242E2AEFDF0
[000331] 0:00:11.393 D/HID:     BUTTON Added Index: 34 (HID_Page_Button/23) for handle: 00000242E2AEFDF0
[000332] 0:00:11.393 D/HID:     AXIS Added Index: 0 (HID_Page_GenericDesktop/HID_Usage_GD_Y) for handle: 00000242E2AEFDF0. Min/Max 0 - 255
[000333] 0:00:11.393 D/HID:     AXIS Added Index: 1 (HID_Page_GenericDesktop/HID_Usage_GD_X) for handle: 00000242E2AEFDF0. Min/Max 0 - 255
[000334] 0:00:11.393 D/HID:     HATSWITCH Added Index: 0 (HID_Page_GenericDesktop/HID_Usage_GD_Hatswitch) for handle: 00000242E2AEFDF0. It has 8 positions.
[000335] 0:00:11.393 D/HID: END HARDWARE
[000336] 0:00:11.393 D/HID: Hardware ADDED(06a3, 0c2d) - Saitek Pro Flight Quadrant at path \\?\hid#vid_06a3&pid_0c2d#8&1816b202&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
[000337] 0:00:11.393 I/JOY: REGISTER Joystick device: Saitek Pro Flight Quadrant - VID:1699PID:3117, this is a familiar device.
[000338] 0:00:11.393 D/HID:     BUTTON Added Index: 0 (HID_Page_Button/01) for handle: 00000242E2AEFBB0
[000339] 0:00:11.393 D/HID:     BUTTON Added Index: 1 (HID_Page_Button/02) for handle: 00000242E2AEFBB0
[000340] 0:00:11.393 D/HID:     BUTTON Added Index: 2 (HID_Page_Button/03) for handle: 00000242E2AEFBB0
[000341] 0:00:11.393 D/HID:     BUTTON Added Index: 3 (HID_Page_Button/04) for handle: 00000242E2AEFBB0
[000342] 0:00:11.393 D/HID:     BUTTON Added Index: 4 (HID_Page_Button/05) for handle: 00000242E2AEFBB0
[000343] 0:00:11.393 D/HID:     BUTTON Added Index: 5 (HID_Page_Button/06) for handle: 00000242E2AEFBB0
[000344] 0:00:11.393 D/HID:     BUTTON Added Index: 6 (HID_Page_Button/07) for handle: 00000242E2AEFBB0
[000345] 0:00:11.393 D/HID:     BUTTON Added Index: 7 (HID_Page_Button/08) for handle: 00000242E2AEFBB0
[000346] 0:00:11.393 D/HID:     BUTTON Added Index: 8 (HID_Page_Button/09) for handle: 00000242E2AEFBB0
[000347] 0:00:11.393 D/HID:     AXIS Added Index: 0 (HID_Page_GenericDesktop/HID_Usage_GD_Z) for handle: 00000242E2AEFBB0. Min/Max 0 - 255
[000348] 0:00:11.393 D/HID:     AXIS Added Index: 1 (HID_Page_GenericDesktop/HID_Usage_GD_Y) for handle: 00000242E2AEFBB0. Min/Max 0 - 255
[000349] 0:00:11.393 D/HID:     AXIS Added Index: 2 (HID_Page_GenericDesktop/HID_Usage_GD_X) for handle: 00000242E2AEFBB0. Min/Max 0 - 255
[000350] 0:00:11.393 D/HID: END HARDWARE

Posted

Did you try the script as-is? The 28 should just be the internal axis number X-Plane assigns to the Mixture 1 (the "1" is important!) axis, so no need for you to change it.

If it doesn't work, you can remove the two dashes in line six in the lua-file (in front of do_every_draw), so you get a raw data output on the left side of the screen that will help us to find the issue.

  • 1 month later...
Posted (edited)

Hi Guys,

I just got the Honeycomb Bravo TQ today and I'm playing around with it and I'm stuck with setting the power lever with the TQ. The throttle (unfeathered) side is fine, it's the feathered side where I'm challenged. As best I can make out, I can use the 'Mixture' lever to control from Lo to Hi and back, but I can't get it into cutoff despite using the command mixture cutoff.

Has anyone been able to set this up on the Honeycomb Bravo TQ? I'm wondering if I need to make an adjustment to the response curve? 

Edited by aerox
Posted
On 12/29/2020 at 7:31 AM, aerox said:

Hi Guys,

I just got the Honeycomb Bravo TQ today and I'm playing around with it and I'm stuck with setting the power lever with the TQ. The throttle (unfeathered) side is fine, it's the feathered side where I'm challenged. As best I can make out, I can use the 'Mixture' lever to control from Lo to Hi and back, but I can't get it into cutoff despite using the command mixture cutoff.

Has anyone been able to set this up on the Honeycomb Bravo TQ? I'm wondering if I need to make an adjustment to the response curve? 

Did you try the lua-script? You can also use it to get the axis values.

Posted

No mate I haven’t - since posting my question, turns out there’s a fix coming out for us Mac users of the Bravo so will wait and see how that goes, let the dust settle for a bit then come back to this - it’s no biggie, I just use the mouse to drag the throttle to ECO and I’m fine with that.

Kudos to the guys who created this AC - love the level of immersion I get from this - well done to all.

  • Like 1
  • 3 months later...
  • 3 weeks later...
Posted
On 4/9/2021 at 2:35 AM, Rotorhead83 said:

Hey guys, thank you for the LUA file, works pretty good! One thing, is it possible to assign the cut off to the reverse button on the throttle instead of it being on the axis? Thank you!

Sorry for the late reply, yes, that should be possible. Assign the command sim/engines/mixture_down to the button, and change the line " if mixthandle > SetTo and mixthandle < 4 then " to ... <3.

I hope that works...

  • 4 months later...
Posted
On 4/27/2021 at 1:12 PM, Ch.Cole said:

Sorry for the late reply, yes, that should be possible. Assign the command sim/engines/mixture_down to the button, and change the line " if mixthandle > SetTo and mixthandle < 4 then " to ... <3.

I hope that works...

Hi guys,

Many thanks for the lua file ! it's exactly what I'm looking for a long time... Also I would like to get the reverse on (tbm900/systems/engine/range = 5) when throttle 1 is in reverse mode with bravo honey comb ? Do you know how I can do it ? I tried to edit your lua file but without success for now....

 

Maybe I found a dataref that can be used for this : sim/cockpit/warnings/autopilot_test_ap_lit

and the associated command : sim/autopilot/test

Thank you !

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...