Board index FlightGear Development AI Traffic

Groundnets and WED

Intelligent, computer controlled vehicles that drive/fly over the planet!

Groundnets and WED

Postby qf707 » Thu Oct 18, 2012 2:37 pm

With the new scenery creator do the ground nets still have to use Taxidraw or can they be created some other way?.

Cheers
qf707
qf707
 
Posts: 135
Joined: Sun Feb 21, 2010 3:28 am

Re: Groundnets and WED

Postby Gijs » Thu Oct 18, 2012 7:47 pm

WorldEditor has some form of groundnetwork support, but it is incomplete and not compatible with the FlightGear format. For now TaxiDraw is still the preferred tool. Note that you could load a screenshot of a WED layout as background image in TaxiDraw..
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9362
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: Groundnets and WED

Postby qf707 » Fri Oct 19, 2012 3:05 am

Ok thanks Gijs.I guess there is no point in changing the existing groundnets until they are converted to WED.
qf707
 
Posts: 135
Joined: Sun Feb 21, 2010 3:28 am

Re: Groundnets and WED

Postby VaLeo » Thu Oct 25, 2012 11:31 pm

here I have my python script that convert yellow markings into groundnet.

Image
VaLeo
 
Posts: 186
Joined: Wed Nov 29, 2006 10:00 am
Location: Ukraine, Dnipropetrovsk
Version: GIT
OS: Debian 7

Re: Groundnets and WED

Postby ot-666 » Fri Oct 26, 2012 2:42 pm

VaLeo wrote in Thu Oct 25, 2012 11:31 pm:here I have my python script that convert yellow markings into groundnet.


I would be very interested in this :wink:
Callsign: ot-666
Working on LOWI and other stuff - Custom Scenery Overlay Repo: http://gitorious.org/fgfs-custom-scenery/custom-scenery-overlay/
VMX22 - Osprey... sometimes in 2014
ot-666
 
Posts: 746
Joined: Sun Nov 08, 2009 5:14 pm
Location: Germany, Konstanz
Callsign: ot-666
IRC name: ot666
Version: GIT
OS: win7 64bit

Re: Groundnets and WED

Postby Soitanen » Fri Oct 26, 2012 4:31 pm

Wow!!! Really cool and useful!
Boeing 737-300. Reworked cockpit, FDM, autopilot and much more. WIP.
Boeing 737-800. WIP. Canvas PFD and ND.
Antonov An-24B. Made from scratch. Very good FDM. 3D model by Adrian. WIP.
Project Russia (some cities, based on OSM with custom objects).
Soitanen
 
Posts: 489
Joined: Sat Jun 16, 2012 6:50 am
Location: Saint-Petersburg, Russia
Version: git
OS: Linux Mint 17

Re: Groundnets and WED

Postby VaLeo » Sat Oct 27, 2012 1:05 pm

Grab it here
VaLeo
 
Posts: 186
Joined: Wed Nov 29, 2006 10:00 am
Location: Ukraine, Dnipropetrovsk
Version: GIT
OS: Debian 7

Re: Groundnets and WED

Postby ot-666 » Sat Oct 27, 2012 1:31 pm

Thanks :D
Callsign: ot-666
Working on LOWI and other stuff - Custom Scenery Overlay Repo: http://gitorious.org/fgfs-custom-scenery/custom-scenery-overlay/
VMX22 - Osprey... sometimes in 2014
ot-666
 
Posts: 746
Joined: Sun Nov 08, 2009 5:14 pm
Location: Germany, Konstanz
Callsign: ot-666
IRC name: ot666
Version: GIT
OS: win7 64bit

Re: Groundnets and WED

Postby omega95 » Wed Aug 07, 2013 1:33 pm

Hmm, when I run it, it gives me this -

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<groundnet>
  <TaxiNodes>
  </TaxiNodes>
  <TaxiWaySegments>
  </TaxiWaySegments>
</groundnet>


But I have a working taxiway layout I made in the earth.wed.xml file in the same directory.

I was wondering if those yellow lines are just normal taxiway lines or some kind of different lines? :|
Merlion Virtual Airlines - the experience of a flight time...
Get high quality aircraft, airports, video tutorials or development tools from my hangar.
omega95
 
Posts: 1223
Joined: Sat Jul 30, 2011 12:59 am
Location: -unknown-
Callsign: MIA0001, OM-EGA
IRC name: omega95
Version: 2.12 git
OS: Ubuntu 13.04

Re: Groundnets and WED

Postby VaLeo » Fri Aug 23, 2013 6:39 am

I pushed a fix for it.
WED guys slightly changed xml structure, and points goes to another node...

omega95 wrote in Wed Aug 07, 2013 1:33 pm:I was wondering if those yellow lines are just normal taxiway lines or some kind of different lines? :|


And yes, script looked for "Solid Yellow" line, but you use "Solid Yellow (Black)"
I add an list of type of line that will counts as taxiways, you can edit it for your needs.

Code: Select all
sortsOfLine = ["Solid Yellow (Black)", "Solid Yellow"]
VaLeo
 
Posts: 186
Joined: Wed Nov 29, 2006 10:00 am
Location: Ukraine, Dnipropetrovsk
Version: GIT
OS: Debian 7

Re: Groundnets and WED

Postby VaLeo » Fri Aug 23, 2013 12:02 pm

Now it also converts Parkings, and can work with new and old WED xml' versions.
VaLeo
 
Posts: 186
Joined: Wed Nov 29, 2006 10:00 am
Location: Ukraine, Dnipropetrovsk
Version: GIT
OS: Debian 7

Re: Groundnets and WED

Postby Soitanen » Sat Aug 24, 2013 5:50 am

Parkings - great! Will try it for Sochi.
Boeing 737-300. Reworked cockpit, FDM, autopilot and much more. WIP.
Boeing 737-800. WIP. Canvas PFD and ND.
Antonov An-24B. Made from scratch. Very good FDM. 3D model by Adrian. WIP.
Project Russia (some cities, based on OSM with custom objects).
Soitanen
 
Posts: 489
Joined: Sat Jun 16, 2012 6:50 am
Location: Saint-Petersburg, Russia
Version: git
OS: Linux Mint 17

Re: Groundnets and WED

Postby BecOzIcan » Sun Nov 17, 2013 10:04 am

Hi Vadym,

This is one Fantastic Tool. I managed to get my groundnet available in Taxidraw in less than 2 hours despite being a Win7 user with no experience in Python (nor in WED) ....

BUG : Taxidraw first crashed when loading the file (I use version 26JUL2010). This is most likely caused by the different format used between Parkings and Nodes for LAT/LON; Your script converts Parkings in Decimal and Nodes in Deg/Min/Sec as shown below:

Code: Select all
    <Parking airlineCodes="" heading="99.86" index="68" lat="49.013126350" lon="2.538179650" name="Z4" number="" radius="40" type="gate" />
    <Parking airlineCodes="" heading="30.78" index="69" lat="49.012640260" lon="2.539605040" name="Z7" number="" radius="40" type="gate" />
  </parkingList>
  <TaxiNodes>
    <node holdPointType="none" index="21" isOnRunway="0" lat="N48 59.936" lon="E2 33.732" />
    <node holdPointType="none" index="22" isOnRunway="0" lat="N48 59.922" lon="E2 33.752" />
    <node holdPointType="none" index="23" isOnRunway="0" lat="N48 59.901" lon="E2 33.729" />

After I erased the Parking entries in the XML file, Taxidraw was the able to ingest it.

Can you advise if this is an easy fix and if you could make a corrected version available soon ? (If not, I will re enter my parkings manually but ... :-(

I would also recommend you update the Groundnet wiki to indicate the tool exist (a lifesaver with the new 850 format) http://wiki.flightgear.org/Interactive_traffic. I am happy to help with that part if you want

Again, Great Work and thank you for your contribution
Take Care
Ian
Current Projects: AI Traffic, Models & Liveries
User avatar
BecOzIcan
 
Posts: 1034
Joined: Tue Oct 04, 2011 10:43 pm
Location: Sydney, NSW, Australia
Version: 2.12
OS: Win10

Re: Groundnets and WED

Postby VaLeo » Sun Nov 17, 2013 9:46 pm

BecOzIcan, thanks for review!

I have pushed fix for Parkings just now.

And yes, please be so kind to update wiki. I'm not well English speaker/writer (only reader ;) ) to make it right.
VaLeo
 
Posts: 186
Joined: Wed Nov 29, 2006 10:00 am
Location: Ukraine, Dnipropetrovsk
Version: GIT
OS: Debian 7

Re: Groundnets and WED

Postby BecOzIcan » Sat Nov 23, 2013 10:11 am

Hey Vadym, I added a quick reference to this post on the AI Traffic wiki.
Cheers.

Ian
Current Projects: AI Traffic, Models & Liveries
User avatar
BecOzIcan
 
Posts: 1034
Joined: Tue Oct 04, 2011 10:43 pm
Location: Sydney, NSW, Australia
Version: 2.12
OS: Win10


Return to AI Traffic

Who is online

Users browsing this forum: No registered users and 1 guest