Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi, I have the Parking brake release threshold at the default 70 in the .ini and both toe brakes configured in fsuipc, but pressing the toe brakes full down does not register any change to offset 0BC8, which stays on 32767, as do both left and right brakes (0BC4 and 0BC6)

Can you provide any pointers as to what I am missing?  I thought that 0BC8 would return to zero

EDIT - so when I apply the parking brake, all 3 offsets get fixed on 32767, so if I then try moving the pedals, as all 3 offsets are fixed, no pedal movement is detected to release the parking brake.  It would probably work if only the parking brake offset was on 32767, but the 2 pedal offsets returned to zero and registered movement, ie if the pedals were independent, as then I could program pedal movement to make the parking brake motor release the parking brake

Thanks

Charles

Posted

What aircraft are you using? Can you please set logging for axes controls (Log->Axes Controls), Events (Log->Events) and Extras (Log->Extras) and show me/attach your FSUIPC7.log file showing the issue. Try and keep the session as showrt as possible - just load the aircraft, replicate the issue, then exit FSUIPC7 before attaching the file.

John

Posted

Thanks John!  Attached is the log, started today 23/06 at 11:11 my local time, loaded the aircraft, set the logs, set parking brake, started battery and APU (elec and bleed air) and elec hydraulics, did several pumps of the toe brakes to full but no release of parking brake, released parking brake by hand then re-applied it by hand, closed session

FSUIPC7.log

Posted

Looks like you are using the PM 737. The brake release threshold is only applicable to airbuses, as these are the only aircraft that use this brake release mechanism (although I see in the documentation that this is omitted!).

Try setting the logging for Extras before the aircraft is loaded - this should then log a message indicating if the brake release threshold is applied or reset.

John

Posted

Thx, I deleted the log, opened fsuipc and set the 3 log flags, loaded MSFS, set parking brake (was already on), started batt + apu + hyd + apu bleed, pumped the toe brakes 3 times but no release of PK, turned off PK by hand and reset (did this twice), exited.

FSUIPC7.log

Posted

Did you not read my previous comment:

1 hour ago, John Dowson said:

Looks like you are using the PM 737. The brake release threshold is only applicable to airbuses, as these are the only aircraft that use this brake release mechanism (although I see in the documentation that this is omitted!).

You are not using an airbus, so this parameter has no effect. If you want to mimic this in airliners, then you would need to use a lua script.

Note that you are using a very old version of FSUIPC - 7.4.17. I only support the latest release, which is 7.5.3. Please update if you require further support:

Quote

********* FSUIPC7, Version 7.4.17 (4th September 2024) by John Dowson *********
**** New version available: version 7.5.3 is available ****
 

43 minutes ago, chasbruce said:

opened fsuipc and set the 3 log flags, loaded MSFS

You need to set the logging flags then exit FSUIPC and let MSFS auto-start it, as then I can see/check the logging.

John

Posted

Yes of course I did read your comment, I always do, but you then went on to request that I set certain logs and reload, so I did as you requested.  You are now saying that the 2nd half of your msg was unnecessary, now understood, so I'll read up on Luas and update fsuipc.

Charles

Posted

The logging I requested would just confirm that the auto-brake threshold wasn't being used, but I think that was added in a later version of FSUIPC 7 than the one you are using anyway. You should update to the latest version of FSUIPC7.

John

  • 1 month later...
Posted

Hi John, coming back to this in order to get the parking brake to release when I press the pedal brakes, which are axes configured in fsuipc.  Sorry if there is something daft, I am very green with Lua scripts.

If I can get a value to change in an offset when I press the pedal brake, I can then program in my opencockpits sioc script to run the motor which will release the parking brake, that is the easy bit.  As mentioned above, the pedal brake offsets can't be used as they are all fixed on 32767 when parking brake is set.  So I thought I could use the raw data instead for the axis as below:

I have set up the following lua script which is saved as Pbrake.lua in my fsuipc folder to try and register a value change if I press the Right Brake Pedal (Joystick "B" Axis "Y"):

----------------------------------------------
-- Parking brake release
----------------------------------------------

n = ipc.axis("B", "Y")
value = n
ipc.writeUW(0x66DA, value)

 In FSUIPC.ini I have added this lua script as below:

[LuaFiles]
1=BCastMemClient
2=Dlight
3=ipcReady
4=BCastMemSvr
5=Pbrake

My Axes in fsuipc.ini are as follows:

[Axes]
PollInterval=10
RangeRepeatRate=10
0=BX,256,D,7,0,0,0	-{ DIRECT: LeftBrake }-
1=BY,256,D,8,0,0,0	-{ DIRECT: RightBrake }-
2=CX,256,D,41,0,0,0	-{ DIRECT: Reverser1 }-
3=CY,256,D,42,0,0,0	-{ DIRECT: Reverser2 }-

However, the 0x66DA offset doesn't register any value change when I press the pedal brake

Regards

Charles

Posted
8 hours ago, chasbruce said:

In FSUIPC.ini I have added this lua script as below:

[LuaFiles]
1=BCastMemClient
2=Dlight
3=ipcReady
4=BCastMemSvr
5=Pbrake

Do NOT manually edit the [LuaFiles] section. This section is maintained by FSUIPC.

Your script is never running, so the offset will not get updated.

Before you write the axis value to an offset, check if you can use either offset 0x3416 / 0x3418. If you just want notification that the brakes are being used, you could also try the 'brake being used' flag in offset 0x32F9. So check these offsets first.

If none of those offsets are working, then maybe consider using a lua script.

If those offsets don't work and you want help with a lua script for this, it would help me if you could provide a log, with logging set as previously advised.

Note that I am now on holiday until September, but I should have time to look at this again on Monday if you need help with a lua script (so please provide the log file before then).

John

 

Posted
Quote

Before you write the axis value to an offset, check if you can use either offset 0x3416 / 0x3418

Perfect, John, this has resolved it, I am using just the 3418 offset in my sioc script,  many thanks!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.