[Flightgear-devel] ..we can now build FG scenery with sumo-simulated road traffic???

2012-05-22 Thread Arnt Karlsen
Hi,

..this means we can now build FG scenery 
with sumo-simulated road traffic??? 
Source: http://sumo.sourceforge.net/

..debian users: 'aptitude install sumo sumo-doc sumo-tools ',
quick listing:
arnt@celsius:/tmp$ dpkg -l |grep sumo 
ii sumo   0.15.0~dfsg-1 Simulation of Urban MObility (SUMO) 
ii sumo-doc   0.15.0~dfsg-1 Simulation of Urban MObility (SUMO),
  documentation and examples 
ii sumo-tools 0.15.0~dfsg-1 Simulation of Urban MObility (SUMO), 
  tools and scripts 
arnt@celsius:/tmp$ 
arnt@celsius:/tmp$ man sumo
arnt@celsius:/tmp$ sumo --help
SUMO sumo Version 0.15.0
 Copyright (C) 2001-2012 DLR and contributors;
http://sumo.sourceforge.net A microscopic road traffic simulation.

Usage: sumo [OPTION]*
Configuration Options:
  -c, --configuration-file FILE   Loads the named config on startup
  --save-configuration FILE   Saves current configuration into
FILE 
  --save-template FILESaves a configuration template
(empty) into FILE
  --save-schema FILE  Saves the configuration schema
into FILE 
  --save-commentedAdds comments to saved template,
configuration, or schema

Input Options:
  -n, --net-file FILE Load road network description
from FILE 
  -r, --route-files FILE  Load routes descriptions
from FILE(s) 
  -a, --additional-files FILE Load further descriptions from
FILE(s) 
  -w, --weight-files FILE Load edge/lane weights for online
rerouting from FILE
  -x, --weight-attribute STR  Name of the xml attribute which
gives the edge weight

Output Options:
  --netstate-dump FILE  Save complete network states into
FILE 
  --netstate-dump.empty-edges   Write also empty edges
completely when dumping
  --summary-output FILE   Save aggregated vehicle departure
info into FILE
  --tripinfo-output FILE  Save single vehicle trip info into FILE 
  --vehroute-output FILE  Save single vehicle route info into
FILE 
  --vehroute-output.exit-times  Write the exit times for all edges 
  --vehroute-output.last-route  Write the last route only 
  --vehroute-output.sorted  Sorts the output by departure time

Time Options:
  -b, --begin TIMEDefines the begin time;
  The simulation starts at this time
  -e, --end TIME  Defines the end time;
  The simulation ends at this time
  --step-length TIME  Defines the step duration

Processing Options:
  -s, --route-steps TIMELoad routes for the next number of
 seconds ahead
  --no-internal-links   Disable (junction) internal links
  --ignore-accidentsDo not check whether accidents occure more deeply
  --ignore-route-errors Do not check whether routes are connected
  --max-num-vehicles INTQuit simulation if this number of vehicles
 is exceeded

  --incremental-dua-step INTPerform the simulation as a step
 in incremental DUA 
  --incremental-dua-base INTBase value for incremental DUA
  --scale FLOAT Scale demand by the given
 factor (0..1)

  --time-to-teleport TIME   Specify how long a vehicle may
 wait until being teleported,
 defaults to 300, non-positive
 values disable teleporting
  --max-depart-delay TIME   How long vehicles wait for
 departure before being skipped,
 defaults to -1 which means
 vehicles are never skipped
  --sloppy-insert   Whether insertion on an
 edge shall not be repeated in
 same step once failed.

  --lanechange.allow-swap   Whether blocking vehicles
 trying to change lanes may be
 swapped.

Report Options:
  -v, --verbose Switches to verbose output
  -p, --print-options   Prints option values before
 processing
  -?, --helpPrints this screen
  -V, --version Prints the current version
  -W, --no-warnings Disables output of warnings
  -l, 

Re: [Flightgear-devel] ..we can now build FG scenery with sumo-simulated road traffic???

2012-05-22 Thread Peter Morgan
This is a strange feeling I have here this evening reading the above
API..and tip from arnt

I see a lot of future... After all my nephew is a truck driver amd
introduce to hard maps need to navigate and plan route and indeed at
10 is kinda getting more the concept of headings etc ...
Backseat driver spring to mind.. and he's in the air.. with autopilot..

So I think this sumo is cool, its  a nice api, and seems I can knock
out code.. gen..

And I think we can be even clever and fuzzy logic some time tables..
eg School buses will be there are 9am on a monday... and
last.train from london etc.. == traffic

love it..
But this is possible also to to make it a bit more REAL...
We only need traffic routes planned On approach to the threshold..

eg landing at Heathorw from either end as a passenger means u see
traffic a[[roaching and crossing and stuff crosing on the motoway..

Same in EHAM, and a few other airports..

KSFO does not fall into this case as is water approach..

So what do we do next ?



So the Question I have really is ..
there must be a way for the data to dictate if an aircraft is
passing below 100ft and on an approach to an airport AND crossing a
motorway.. then  we could create some time traffic..





On Tue, May 22, 2012 at 6:02 PM, Arnt Karlsen a...@c2i.net wrote:
 Hi,

 ..this means we can now build FG scenery
 with sumo-simulated road traffic???
 Source: http://sumo.sourceforge.net/

 ..debian users: 'aptitude install sumo sumo-doc sumo-tools ',
 quick listing:
 arnt@celsius:/tmp$ dpkg -l |grep sumo
 ii sumo       0.15.0~dfsg-1 Simulation of Urban MObility (SUMO)
 ii sumo-doc   0.15.0~dfsg-1 Simulation of Urban MObility (SUMO),
                              documentation and examples
 ii sumo-tools 0.15.0~dfsg-1 Simulation of Urban MObility (SUMO),
                              tools and scripts
 arnt@celsius:/tmp$
 arnt@celsius:/tmp$ man sumo
 arnt@celsius:/tmp$ sumo --help
 SUMO sumo Version 0.15.0
  Copyright (C) 2001-2012 DLR and contributors;
 http://sumo.sourceforge.net A microscopic road traffic simulation.

 Usage: sumo [OPTION]*
 Configuration Options:
  -c, --configuration-file FILE       Loads the named config on startup
  --save-configuration FILE           Saves current configuration into
                                        FILE
  --save-template FILE                Saves a configuration template
                                        (empty) into FILE
  --save-schema FILE                  Saves the configuration schema
                                        into FILE
  --save-commented                    Adds comments to saved template,
                                        configuration, or schema

 Input Options:
  -n, --net-file FILE                 Load road network description
                                        from FILE
  -r, --route-files FILE              Load routes descriptions
                                        from FILE(s)
  -a, --additional-files FILE         Load further descriptions from
                                        FILE(s)
  -w, --weight-files FILE             Load edge/lane weights for online
                                        rerouting from FILE
  -x, --weight-attribute STR          Name of the xml attribute which
                                        gives the edge weight

 Output Options:
  --netstate-dump FILE              Save complete network states into
                                        FILE
  --netstate-dump.empty-edges       Write also empty edges
                                        completely when dumping
  --summary-output FILE       Save aggregated vehicle departure
                                info into FILE
  --tripinfo-output FILE      Save single vehicle trip info into FILE
  --vehroute-output FILE      Save single vehicle route info into
                                FILE
  --vehroute-output.exit-times  Write the exit times for all edges
  --vehroute-output.last-route  Write the last route only
  --vehroute-output.sorted      Sorts the output by departure time

 Time Options:
  -b, --begin TIME        Defines the begin time;
                          The simulation starts at this time
  -e, --end TIME          Defines the end time;
                          The simulation ends at this time
  --step-length TIME      Defines the step duration

 Processing Options:
  -s, --route-steps TIME    Load routes for the next number of
                             seconds ahead
  --no-internal-links       Disable (junction) internal links
  --ignore-accidents        Do not check whether accidents occure more deeply
  --ignore-route-errors     Do not check whether routes are connected
  --max-num-vehicles INT    Quit simulation if this number of vehicles
                             is exceeded

  --incremental-dua-step INT    Perform the simulation as a step
                                 in incremental DUA
  --incremental-dua-base INT    Base value for incremental DUA
  --scale FLOAT        

Re: [Flightgear-devel] ..we can now build FG scenery with sumo-simulated road traffic???

2012-05-22 Thread Peter Morgan
And can we just paint the shadow and not the vehicle..

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel