Board index FlightGear Development New features

Heaven or Hell? Phi sneak preview.

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

Re: Heaven or Hell? Phi sneak preview.

Postby wkitty42 » Mon Mar 23, 2015 7:21 pm

Torsten wrote in Mon Mar 23, 2015 5:49 pm:And brandnew:
Display the RouteManager's route on the large map:

yes! i've started to ask for this a time or two but left it alone as i knew you were working on the project... this will be a big help to me on some of the longer flights i make :)
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Heaven or Hell? Phi sneak preview.

Postby abassign » Wed Mar 25, 2015 12:55 am

Not Work :( ! Error 404 from the browser:

This is the start parameters:

Code: Select all
/home/abassign/fgfs/install/fgrun/bin/../../flightgear/bin/fgfs
  --fg-root=/home/abassign/fgfs/install/fgrun/bin/../../flightgear/fgdata
  --fg-scenery=/home/abassign/fgfs/install/fgrun/bin/../../flightgear/fgdata/Scenery:/home/abassign/Scaricati/fgfs-custom-scenery-custom-scenery-overlay/Scenery
  --airport=LOWI
  --aircraft=dhc6
  --config=/home/abassign/fgfs/install/flightgear/fgdata/Nasal/fgcamera/fgcamera_cfg.xml
  --disable-random-objects
  --enable-horizon-effect
  --enable-enhanced-lighting
  --enable-distance-attenuation
  --disable-ai-models
  --disable-ai-traffic
  --disable-real-weather-fetch
  --prop:/sim/frame-rate-throttle-hz=60
  --geometry=1280x1024
  --bpp=32
  --texture-filtering=16
  --prop:/sim/rendering/multi-sample-buffers=1
  --prop:/sim/rendering/multi-samples=4
  --timeofday=noon
  --enable-terrasync
  --httpd=5500
  --props=5501
  --callsign=abassy
  --disable-fgcom


The version is: 3.5 and the airplane is the Seneca II.
If I try the url: http://127.0.0.1:5500/aircraft-dir/WebPanel/Panel1.html is all ok, work wel with old panel, but if I try with the url: http://127.0.0.1:5500/gui I have the "404 not found" error ... The O.S: is Ubuntu and FGFS i compiled with the command: "./download_and_compile.sh ALL" last version, this is the start log:

Code: Select all
./download_and_compile.sh ALL
VERSION=2.32
APT_GET_UPDATE=y
DOWNLOAD_PACKAGES=y
COMPILE=y
RECONFIGURE=y
DOWNLOAD=y
JOPTION=
OOPTION=
DEBUG=


What is the problem ?
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Heaven or Hell? Phi sneak preview.

Postby wkitty42 » Wed Mar 25, 2015 1:43 am

the correct url contains a '/' on the end... your non-working one does not have the trailing '/'...

http://127.0.0.1:5500/gui/
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Heaven or Hell? Phi sneak preview.

Postby abassign » Wed Mar 25, 2015 9:12 am

Thank @wkitty42 with a final "/" is working properly :) But I think is necessary resolve the problem :( I don't understand the technical motivation of this FGFS WebServer comportment ?!
Developer of the program https://wiki.flightgear.org/Julia_photoscenery_generator
FDM developer of the G91R1B aircraft https://wiki.flightgear.org/FIAT_G91R1B
JSBSim collaborator
abassign
 
Posts: 947
Joined: Mon Feb 27, 2012 6:09 pm
Location: Italy (living 5 Km from airport LIME)
Callsign: I-BASSY
Version: 2020.4
OS: Ubuntu 20.10

Re: Heaven or Hell? Phi sneak preview.

Postby Jabberwocky » Wed Mar 25, 2015 5:30 pm

Looks nice, but how does that intefere with my Apache which also has ports 80 and 8080 in use? Can it be configured to other ports? Or integrated with a standard Apache installation?
Jabberwocky
Retired
 
Posts: 1316
Joined: Sat Mar 22, 2014 8:36 pm
Callsign: JWOCKY
Version: 3.0.0
OS: Ubuntu 14.04

Re: Heaven or Hell? Phi sneak preview.

Postby wkitty42 » Wed Mar 25, 2015 6:33 pm

abassign wrote in Wed Mar 25, 2015 9:12 am:Thank @wkitty42 with a final "/" is working properly :) But I think is necessary resolve the problem :(

what problem? your use of an invalid URL? i don't think the web server in fgfs has anything like mod_speling for apache...

abassign wrote in Wed Mar 25, 2015 9:12 am:I don't understand the technical motivation of this FGFS WebServer comportment ?!

i forget where i read it but the driving motivation is because the developer wants to be able to monitor and control his aircraft from his tablet device... i think this was stated at the beginning of this topic but i've not looked back to see...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Heaven or Hell? Phi sneak preview.

Postby wkitty42 » Wed Mar 25, 2015 6:42 pm

Jabberwocky wrote in Wed Mar 25, 2015 5:30 pm:Looks nice, but how does that intefere with my Apache which also has ports 80 and 8080 in use? Can it be configured to other ports? Or integrated with a standard Apache installation?

ummm... the fgfs web server stuff is built into fgfs... the only way it could interfere with your apache is if you try to run it on the same port(s) on the same machine where apache is running and to run fgfs before apache such that apache cannot bind to the ports it is configured for... i've not had any problems over here where i use apache on my local machine for some database and git web interface work... my apache is using the standard ports 80 and 443 whereas my fgfs is running with the (default AFAIK) port 5500...
/home/myuser/flightgear-dev/next/install/fgrun/bin/../../flightgear/bin/fgfs
--fg-root=/home/myuser/flightgear-dev/next/install/fgrun/bin/../../flightgear/fgdata
--fg-scenery=/home/myuser/myflightgear/Scenery
--terrasync-dir=/home/myuser/.fgfs/TerraSync
--fg-aircraft=/home/myuser/myflightgear/Aircraft:/home/myuser/flightgear-dev/fgaddon-ng/Aircraft
--airport=KSFO
--aircraft=p51d-jsbsim
--disable-random-objects
--enable-hud
--enable-anti-alias-hud
--enable-auto-coordination
--enable-horizon-effect
--enable-enhanced-lighting
--enable-ai-models
--enable-ai-traffic
--enable-real-weather-fetch
--enable-fuel-freeze
--enable-clouds3d
--enable-fullscreen
--fog-disable
--geometry=1280x1024
--visibility=100000
--bpp=32
--prop:/sim/rendering/multi-sample-buffers=1
--prop:/sim/rendering/multi-samples=4
--time-match-local
--enable-terrasync
--httpd=5500
--callsign=mycallsign
--disable-fgcom
--prop:/sim/sound/voices/enabled=true
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Heaven or Hell? Phi sneak preview.

Postby Torsten » Wed Mar 25, 2015 8:31 pm

Jabberwocky wrote in Wed Mar 25, 2015 5:30 pm: Can it be configured to other ports?

Code: Select all
--httpd=4711

Jabberwocky wrote in Wed Mar 25, 2015 5:30 pm: Or integrated with a standard Apache installation?

No, they live happily side-by-side if they listen on different ports. There are no plans to impement FlightGear as an Apache module.

Torsten
flightgear.org - where development happens.
User avatar
Torsten
 
Posts: 648
Joined: Fri Feb 01, 2008 10:22 pm
Location: near Hamburg, Germany
Callsign: offline
Version: next
OS: Linux

Re: Heaven or Hell? Phi sneak preview.

Postby Jabberwocky » Wed Mar 25, 2015 10:08 pm

Okay, but 5500 is okay by me, I have 80, 443 (rarely used internally) and 8080 for an admin tool for a web application. Kind of an old school thing. So 5500 is free and since it can be configure anyway, I'm a happy camper. Thanks!
Jabberwocky
Retired
 
Posts: 1316
Joined: Sat Mar 22, 2014 8:36 pm
Callsign: JWOCKY
Version: 3.0.0
OS: Ubuntu 14.04

Re: Heaven or Hell? Phi sneak preview.

Postby Djmax444 » Sun Apr 05, 2015 2:53 am

Sorry for being a complete noob but how do I install this?
I have Flightgear 3.5.0 with the latest FGData.
Djmax444
 
Posts: 5
Joined: Sat Dec 27, 2014 9:48 pm

Re: Heaven or Hell? Phi sneak preview.

Postby wlbragg » Sun Apr 05, 2015 4:35 am

All this is already in GIT. If you run the latest development code and want to try hands-on, start FlightGear with the internal web server enabled (--httpd=8080) and point your browser at http://<your-flightgear-computer>:8080/gui/ or http://localhost:8080/gui/ if you are on a single computer.

You need a descent browser for this. Latest Firefox, Chrome and Safari should work. Operating systems tested are Linux, OSX 10.9 and 10.10, iOS (latest) and Android (latest). It doesn't scale down to small displays yet. 7" and less is a mess.

Per the end of the first post in this thread. :)
If your using fgrun, under Advanced (last tab)/ Network, check httpd and enter 5500. Then in a compatible browser use "http://localhost:5500/gui/"
I use 5500 instead of 8080 due to conflicting server stuff on my system and I also use the 5500 for other FG features.
Kansas and Ohio/Midwest scenery development.
KEQA, 3AU, KRCP Airport Layout
Intel i7/GeForce RTX 2070/Max-Q
User avatar
wlbragg
 
Posts: 7586
Joined: Sun Aug 26, 2012 12:31 am
Location: Kansas (Tornado Alley), USA
Callsign: WC2020
Version: next
OS: Win10/Linux/RTX 2070

Re: Heaven or Hell? Phi sneak preview.

Postby Djmax444 » Sun Apr 05, 2015 8:23 pm

Okay I have done that but now when I do that /GUI/ thing I get an empty page with only the Phi logo. Have I done something wrong?
Djmax444
 
Posts: 5
Joined: Sat Dec 27, 2014 9:48 pm

Re: Heaven or Hell? Phi sneak preview.

Postby Hooray » Sun Apr 05, 2015 8:42 pm

it's case-sensitive
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: Heaven or Hell? Phi sneak preview.

Postby Djmax444 » Mon Apr 06, 2015 10:31 pm

i typed in 127.0.0.1:5500/gui/ and it still wouldn't work.
Djmax444
 
Posts: 5
Joined: Sat Dec 27, 2014 9:48 pm

Re: Heaven or Hell? Phi sneak preview.

Postby sanhozay » Mon Apr 06, 2015 10:52 pm

Javascript disabled in the browser settings?
sanhozay
 
Posts: 1207
Joined: Thu Dec 26, 2013 12:57 pm
Location: EGNM
Callsign: G-SHOZ
Version: Git
OS: Ubuntu 16.04

PreviousNext

Return to New features

Who is online

Users browsing this forum: No registered users and 5 guests