PlayeRom / flightgear-addon-logbook

FlightGear add-on for logbook all your flights to CSV file
GNU General Public License v3.0
7 stars 3 forks source link

Landing gear hints #3

Closed MariuszXC closed 1 year ago

MariuszXC commented 1 year ago

I implemented an optional mechanism allowing aircraft developers to give hints to Logbook about which landing gear indexes to use for landing/crash detection.

Some aircraft, especially gliders with in-line gear config, lean to the side on the ground and confuse the add-on. In such cases it is now possible to specify hints:

        <sim>
                ...
                <addon-hints>
                        <Logbook>
                                <landing-gear-idx type="int">0</landing-gear-idx>
                                <landing-gear-idx type="int">1</landing-gear-idx>
                        </Logbook>
                </addon-hints>
                ...
        </sim>

and avoid the confusion.

Tested with ASK21-jsb. Branch logbook-hints in my fork.

Hoping you will find it useful :-)

PlayeRom commented 1 year ago

Great, thanks!

MariuszXC commented 1 year ago

You are welcome.

Once it is released I'll try to write a short wiki article to document this feature for aircraft developers. Or, if you like to do it yourself just let me know. I am fine with this either way.

PlayeRom commented 1 year ago

Hello, I put some short description about hints in readme file. If you want to add more, go ahead.

MariuszXC commented 1 year ago

Apologies for late reply. Life caught up with me and demanded more attention :) Readme description is fine - clear and concise. Nothing to add.

BR M