Board index FlightGear Development New features

Landing Rate addon  Topic is solved

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Landing Rate addon

Postby RenanMsV » Sat Oct 14, 2017 4:43 pm

FlightGear Landing Rate addon
Show your landing stats. Depending on your rate of descent on touching the ground it rates your landing as Excellent, Good, Acceptable, or Bad.

Image

Requirements

FlightGear 2017.3.1 version.

Install Procedures

Unzip landing_rate folder to any place you want. e.g C:\Users\USERNAME\Documents\FlightGear\Addons\landing_rate
Then add this command line to your FlightGear Shortcut :
--addon="C:\Users\USERNAME\Documents\FlightGear\Addons\landing_rate"
Note that this command line must have the correct path to the landing_rate folder. Do not know how to set command lines? Check here: http://wiki.flightgear.org/Command_line

Dealing with errors

Since each plane are different, for now 90% of aircrafts are compatible. If you're using an incompatible aircraft a message will be show. And the addon will be shutdown.

Image

Share stats at mp chat

If you want, you can activate it. And a message will be sent by multiplayer chat showing your landing stats.
To enable it go to landing_rate folder and open config.xml. Find sharemp line.
Code: Select all
<sharemp>0</sharemp>

Change sharemp value ( 1 for yes and 0 for no ). Restart your simulator. Done.

Image

https://github.com/RenanMsV/landing_rate
Last edited by RenanMsV on Sat Oct 14, 2017 6:49 pm, edited 1 time in total.
www.flightgearbrasil.com.br
www.fgbrazukas.wixsite.com/fgbrazukas
RenanMsV
 
Posts: 134
Joined: Thu Oct 27, 2016 3:02 am
Callsign: BR-RVD

Re: Landing Rate addon

Postby Hooray » Sat Oct 14, 2017 5:22 pm

sorry if I have missed it, but you may want to post a download link !?

Since each plane are different, for now 90% of aircrafts are compatible. If you're using an incompatible aircraft a message will be show. And the addon will be shutdown.


Hi there,

not sure if you are already aware of this, or possibly even using it already, but regarding the issue of supporting aircraft-specific settings, I'd suggest to check out Stuart's checklist system, which can provide many aircraft specific configuration details (think V speeds) using the underlying XML file setting up the checklist system:

http://wiki.flightgear.org/Aircraft_Checklists
Image

A typical file would look like this: https://sourceforge.net/p/flightgear/fg ... klists.xml

Speeds can be seen here: https://sourceforge.net/p/flightgear/fg ... .xml#l2108

To process such files, you only need to use io.read_properties(): http://wiki.flightgear.org/Nasal_librar ... ties.28.29

props.nas contains a getValues() helper method which can return a whole XML file as a single hash-map: http://wiki.flightgear.org/Nasal_librar ... lues.28.29

PS: rleibner has been working on a GCA addon, which simulates ATC-controlled approaches providing vertical and lateral guidance - and it features a built-in approach profile display using the Canvas system, which may be something you may find useful to visualize the flown approach when rating landings:

http://wiki.flightgear.org/Spoken_GCA
Image
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Landing Rate addon

Postby RenanMsV » Sat Oct 14, 2017 6:58 pm

Really good to know. I'll take a look.
But for now, my addon only uses current indicated-speed-fpm to rate landing. Really simplistic.
www.flightgearbrasil.com.br
www.fgbrazukas.wixsite.com/fgbrazukas
RenanMsV
 
Posts: 134
Joined: Thu Oct 27, 2016 3:02 am
Callsign: BR-RVD

Re: Landing Rate addon

Postby Hooray » Sat Oct 14, 2017 7:13 pm

Okay, regarding a V-speed based implementation, you could check out the following wiki articles and code snippets implementing a similar system for copilot announcements:

http://wiki.flightgear.org/Aircraft_speed#V_speeds
http://wiki.flightgear.org/Howto:Calculate_V-speeds
http://wiki.flightgear.org/Howto:Implem ... ouncements

IF you know a little about Nasal coding, this should be straightforward to come up with a V-speed based version for evaluting/rating landings.

For additional inspiration, you could take a look at the so called "redout" system, which also accessing g-force/acceleration properties: https://sourceforge.net/p/flightgear/fg ... redout.nas
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Landing Rate addon

Postby FighterAce » Sat Oct 28, 2017 7:27 pm

Nice addon! I'll have to try this out soon!
FighterAce
 
Posts: 189
Joined: Wed Mar 22, 2017 9:48 pm
Location: In the sky
Callsign: FighterAce
Version: 2017.1.3
OS: Mac Mojave

Re: Landing Rate addon

Postby sidi762 » Mon Feb 05, 2018 11:45 am

This looks cool, but how can a landing G-Force to be 0.9?
sidi762
 
Posts: 223
Joined: Sat Jun 18, 2016 9:15 am
Location: Beijing, China
Callsign: DAG0762
Version: 2020.3.18
OS: macOS Catalina

Re: Landing Rate addon

Postby Thorsten » Mon Feb 05, 2018 12:55 pm

Since part of the aircraft weight is carried by lift, the force the landing gear has to supply can be close to zero - or if you smash the aircraft into the ground, the acceleration can be several gravities.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: Landing Rate addon  

Postby rominet » Sat Feb 10, 2018 10:42 pm

Hi,

I made a little change[1][2][3] to the add-on API. The add-on framework now works with addon-config.xml instead of config.xml and addon-main.nas instead of main.nas. This is required in the current development version of FG, and will be required in the upcoming FG 2018.1. So, if you work with FG from 'next', you have to do these two renamings.

Sorry for the inconvenience. Regards

[1] announcement on flightgear-devel
[2] FlightGear commit da961b97f
[3] FGData commit c17d9377f
rominet
 
Posts: 605
Joined: Sat Nov 01, 2014 2:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Landing Rate addon

Postby polin1962 » Sat May 12, 2018 5:17 pm

Hi All,
For those interested in practising landing, I have updated the landing_rate addon on GitHub to make it compliant with file naming convention of more recent versions of FG (2017.3, 2018.1)
the updated GitHub repo is there : https://github.com/pascal-olin/landing_rate
All credits remain to RenanMsV
Have fun, and please let me know if it works off the shelf for these recent version for you too

Thanks

PO
polin1962
 
Posts: 1
Joined: Sat May 12, 2018 5:11 pm

Re: Landing Rate addon

Postby RenanMsV » Thu May 17, 2018 1:03 am

Very good! Thank you.
Merged :D
www.flightgearbrasil.com.br
www.fgbrazukas.wixsite.com/fgbrazukas
RenanMsV
 
Posts: 134
Joined: Thu Oct 27, 2016 3:02 am
Callsign: BR-RVD

Re: Landing Rate addon

Postby benih » Thu Feb 15, 2024 3:46 pm

Hi, i filed a PR against your nice addon, adding evaluation of addon-hints.

See https://github.com/RenanMsV/landing_rate/pull/7
User avatar
benih
 
Posts: 1689
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit


Return to New features

Who is online

Users browsing this forum: No registered users and 6 guests