Nav Display?

Everything in connection with developing aircraft for FlightGear
Octal450
Posts: 2184
Joined: Sun Oct 18, 2015 2:47 am

Nav Display?

Postby Octal450 » Sat Jan 02, 2016 3:16 pm

Hello all, I have been building my MD-88 for FlightGear. I have imported the 777s Nav Display (From here: http://wiki.flightgear.org/Canvas_ND_Framework) and I have used AC3D to resize it to my needs, and it is not on my panel, however, this aircraft does not work with the power.off command, so the screen is always off, since the "voltage" never goes above 15. Can someone guide me on how to make this system, or bypass it in the nav display?

MD-88: If you want the link, PM me.

Thanks,

User avatar
jwocky
Site Admin
Posts: 1833
Joined: Sat Sep 12, 2015 12:04 pm
Contact:

Re: Nav Display?

Postby jwocky » Sun Jan 03, 2016 3:41 pm

The Nav display of the 777 depends on the electrical system of the 777. So I don't know which bus is used, but the simple way around is to look in the nasal which property is used and set it to 28V (the systme of the 777). You electrical system is probably the old small plane one with lower voltage.
Free speech can never be achieved by dictatorial measures!

User avatar
Sanni
Posts: 52
Joined: Sat Sep 26, 2015 7:39 pm

Re: Nav Display?

Postby Sanni » Sun Jan 03, 2016 6:14 pm

Seems to be

Code: Select all

sytems/electrical/outputs/nav[*]
(seen in Nasal/Electrical.nas line 385)
More you can find in Models/Instruments/ :)

Octal450
Posts: 2184
Joined: Sun Oct 18, 2015 2:47 am

Re: Nav Display?

Postby Octal450 » Mon Jan 04, 2016 1:44 am

So what should I do? I am not sure how this works.

User avatar
legoboyvdlp
Posts: 1757
Joined: Mon Sep 14, 2015 9:49 pm
Location: Venezuela

Re: Nav Display?

Postby legoboyvdlp » Mon Jan 04, 2016 2:48 am

setprop(systems/electrical/outputs/nav1,1);

should work.
~~Legoboyvdlp~~
Maiquetia / Venezuela Custom Scenery
Hallo! Ich bin Jonathan.
Hey!
Avatar created by InSapphoWeTrust CC BY-SA 2.0, https://commons.wikimedia.org/w/index.p ... d=27409879

Octal450
Posts: 2184
Joined: Sun Oct 18, 2015 2:47 am

Re: Nav Display?

Postby Octal450 » Mon Jan 04, 2016 7:50 pm

Well, the file is called MD-88-Electrical, and it does not go up to line 385. The displays are nav_L and nav_R. Is that still right? I copied it EXACTLY from the 777.

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Nav Display?

Postby IAHM-COL » Mon Jan 04, 2016 8:12 pm

Part of the problem, it0uchpads is that you are asking for help on the blind.
Here it is way better if you have a git repi, tell us where you host it, and create an issue to track this problem. Then ask for help here.

Anyone that can want or will help can look at the code face2face, even clone the repo and try out ideas. Someone with a fix can easily commit it and send you the correct pull request, that after you merge, your craft will be just fixed... Without you need do more than just study the changes done for a learning and a future instance, thus you gain independence.

Just a suggestion.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

Octal450
Posts: 2184
Joined: Sun Oct 18, 2015 2:47 am

Re: Nav Display?

Postby Octal450 » Mon Jan 04, 2016 10:18 pm

Feel free to take a look: http://www.github.com/it0uchpods/MD-88
Last edited by Octal450 on Thu Jan 21, 2016 12:12 am, edited 2 times in total.

User avatar
IAHM-COL
Posts: 6455
Joined: Sat Sep 12, 2015 3:43 pm
Location: Homey, NV (KXTA) - U.S.A
Contact:

Re: Nav Display?

Postby IAHM-COL » Mon Jan 04, 2016 10:36 pm

OK.
@it0uchpods: your commits look good now
@others: The code is there if you can figure out the nav display issue ;)

Best,
IH-COL

Edit: I look at this issue. Unfortunately, I don't know the answer.
Good Luck.

Things I noticed: 1. Maybe use MD81.showND() ? instead of b777? The MD81 class is specified in the set.xml in the root directory
2. It calls for some /system/output/efis that needs to b higher or lower than 15. Such parameter is not specified elsewhere in the aircraft and it creates an empty property in the three but it really can't do anything with it.
https://raw.githubusercontent.com/IAHM-COL/gpg-pubkey/master/pubkey.asc

R.M.S.
If we gave everybody in the World free software today, but we failed to teach them about the four freedoms, five years from now, would they still have it?

Octal450
Posts: 2184
Joined: Sun Oct 18, 2015 2:47 am

Re: Nav Display?

Postby Octal450 » Tue Jan 05, 2016 2:27 am

Roger on that, but I haven't messed with it too much yet. Maybe I need to add an electrical system? Or is there a way to have the ND always on?

UPDATE: Changing it to MD-81 did nothing, I will need to dig deeper. First I think I will try to get this ****ing electrical system programmed. I will take the 777, and 757, and A3XX planes as an example, as those have electrical systems that work well with the NAV DISPLAY. I will also change the voltage required to above 0, since I honestly don't care to much about the "cold and dark" stage at this point, as the PFD that is there isn't even capable of "turning off". I am considering importing the 757 PFD, as it works in a similar way to the MD-88s. But don't think I will do that until I have the electrical system and NAV display fully working.


Return to “Aircraft Development”

Who is online

Users browsing this forum: No registered users and 8 guests