1
0
Fork 0
Commit graph

923 commits

Author SHA1 Message Date
Christian Schmitt
90795f9d05 Fix the runway centerline, threshold and edge lights. They still used calculations in ft,
which were no longer compatible and led to wrong results.
Also, apply some more of the FAA specs on the edge lights now.
2012-08-15 21:22:13 +02:00
Christian Schmitt
84e88858b1 Further tweak the displaced threshold routine for short variants.
Explicitly fixes EDCJ but many more, too
2012-08-12 12:44:15 +02:00
Christian Schmitt
9918956c45 Fix displaced threshold calculation and convert measurements to meters 2012-08-12 09:52:54 +02:00
Christian Schmitt
9604ec8fad genapts850: fix a bug that can lead to the parser reading beyond one airport definition
and thus create another airport instead.
2012-08-09 18:31:47 +02:00
Christian Schmitt
4293c00b73 genapts850: make sure we do not hang forever in a parse loop
when there are actually no airports to parse within the bounding box
2012-08-06 19:41:36 +02:00
Christian Schmitt
abece63b5d Put default max_slope value for airports back to 2%. We have a command line option to increase this, if necessary 2012-08-06 12:58:11 +02:00
Christian Schmitt
f937ec5745 gpc readme update 2012-08-03 13:58:05 +02:00
Christian Schmitt
9761a02299 gpc.h should be in the include list.
Add some more variants of the gpc libs name to pick it up on different distros
2012-08-03 10:00:29 +02:00
Christian Schmitt
c7a18cb501 Cleanup the genapts850 lights routine and move duplicate code into
a seperate function
2012-08-01 11:08:31 +02:00
Christian Schmitt
3f91f11115 genapts scheduler: fix a buffer overflow. 512 bytes should be enough for everyone :) 2012-07-09 13:03:53 +02:00
Christian Schmitt
7d919e2329 bug #792: second try to fix the windows copy issue 2012-07-09 11:05:17 +02:00
Christian Schmitt
2a7c1bc7fe Bugfix: issue #792 should be fixed by this (hopefully) 2012-07-08 18:32:32 +02:00
Christian Schmitt
6e5c55fc24 Allow compiling against shared SG libs.
This needs testing.
2012-07-07 15:03:10 +02:00
Peter Sadrozinski
a9d810d447 remove hard coded work directory in multicore api 2012-07-01 04:33:52 -04:00
Frederic Bouvier
107f5cefd6 Fix windows build 2012-06-28 08:43:09 +02:00
Christian Schmitt
0f690ff621 runway/taxiway: add dry lakebed texture 2012-06-24 17:49:22 +02:00
Christian Schmitt
c31247f51a Add POCO dep to the cmake files 2012-06-17 10:51:58 +02:00
Christian Schmitt
5da5dc29be Add signs size support to the STG files 2012-06-17 10:47:45 +02:00
Peter Sadrozinski
83f6532af0 Add multicore support for genapt850.
- fix launch

- fix taxiway debug uninitialized variable

- fixed issue when child crashes, not timed out - detect the error
when we get notified that the socket has data, but no line is received
2012-06-16 09:09:55 -04:00
Christian Schmitt
18fd0e9546 Simgear 'route' code is unused now. 2012-06-11 13:13:55 +02:00
Christian Schmitt
873fff2afc Fix FSF address in headers and add a proper header to GenAirports850/main.cxx 2012-05-05 12:20:21 +02:00
Christian Schmitt
09d7be09c5 Do not print out terrafit help text two times 2012-04-25 21:10:07 +02:00
Christian Schmitt
16a0a104c3 Some output cosmetics 2012-04-16 10:41:00 +02:00
Peter Sadrozinski
7c70cb8da7 Add support for legacy taxiway '10' 2012-04-14 17:08:52 -04:00
Christian Schmitt
5a80fe638b Partially revert commit b7ec098859
The heading calculation was right. I was unaware of stg using
counter-clockwise notation :(
2012-04-12 23:21:44 +02:00
Christian Schmitt
b7ec098859 -Fix taxisign heading calculation leading to wrong values in certain cases
-Unify space between yellow lights
2012-04-12 12:49:00 +02:00
Peter Sadrozinski
a7e6f7fa1b - Build runway shoulders at the same time as runway segments
- hook up --dump-rwy=x to shapefile generation for debugging runway
and shoulder polys using qgis
2012-04-11 18:35:27 -04:00
Christian Schmitt
a83bf32c2c Fix Windows-build linking issue and unify CMake files a bit 2012-04-07 14:57:22 +02:00
Christian Schmitt
451e63f84e Test for contour parts of zero size and ignore them,
which otherwise leads to a segfault.
2012-04-06 13:54:26 +02:00
Christian Schmitt
ab931442d0 Small log cosmetics :) 2012-04-04 22:05:10 +02:00
Peter Sadrozinski
b159a39d59 take the fgfs-construct default log level down a notch 2012-04-01 11:03:05 -04:00
Peter Sadrozinski
cf5bb76ee8 Use SGTimestamp for statistics gathering.
Use time(0) and standard C++ <ctime> for date / time
2012-03-31 22:09:18 -04:00
Peter Sadrozinski
7777fc4bc2 one more boneheaded fix - don't access the timevals if they aren't included 2012-03-31 11:50:30 -04:00
Peter Sadrozinski
b0a7b60502 remove time statistics from windows build
will investigate porting gettimeofday later
2012-03-31 11:43:45 -04:00
Peter Sadrozinski
dabe2c131e better fix for sys/time.h windows problem in genapt850 2012-03-31 11:22:48 -04:00
Peter Sadrozinski
daf7994c1c fix for time.h on Windows 2012-03-31 11:15:47 -04:00
Peter Sadrozinski
c1c9923892 fix duplicate point test, and casts for fmod() - should fix windows build 2012-03-31 11:00:05 -04:00
Peter Sadrozinski
512693f001 hopefully fix windows build 2012-03-31 10:31:37 -04:00
Christian Schmitt
01814b3e3e Set RWY_YELLOW_PULSE_LIGHTS as name for blinking hold-short lights.
Support for this is coming in SG and fgdata
2012-03-30 19:23:30 +02:00
Christian Schmitt
7424139772 Fix the stopway texturing. Cleanup a bit.
This needs negative pct values.
2012-03-29 21:08:40 +02:00
Christian Schmitt
449720c858 Start fixing Windows build issues 2012-03-29 21:08:08 +02:00
Christian Schmitt
6b2826050b Make sure the runways are long enough for desired markings.
This prevents texture glitches on too short runways where
there is simply not enough space for all the needed runway parts.
2012-03-26 10:07:34 +02:00
Peter Sadrozinski
59d30a34e8 A fix for LFPG problem in expand poly. If there are dups when expanding,
the resultant poly was huge, and I could run out of memory.
For closed polys, remove_dups() after snapping.

Also cleaned up the dump_xxx debug command line switches.
- now 1 based, not 0.
- debug_cp directory is the datasource name, so the directory need
  not exist before running genapt850.
2012-03-25 23:54:18 +02:00
Peter Sadrozinski
225e3e1491 - modified grid size from 1 cm to 1 mm
- snap runway and pavement polys to grid after adding slivers.
2012-03-25 23:54:18 +02:00
Peter Sadrozinski
0544854dc9 update clipper to 7.3 release 2012-03-25 23:54:17 +02:00
Peter Sadrozinski
cbea4335f4 Instead of snapping whenever clipper converts a poly, just snap before clipping,
and after  intermediate nodes are added.
If we snap before intermediate nodes are added, we generate extra slivers, as
the proximity for node insertion may fail when the extra node is snapped away
from the line we are checking
2012-03-25 23:54:17 +02:00
Peter Sadrozinski
effbefde41 onvert cout to SG_LOG in lights.cxx.
remove unused dead code in airport.cxx
2012-03-25 23:54:17 +02:00
Peter Sadrozinski
474c126a0c Remove unused convex_hull.hxx / .cxx, now that we can expand polys
using the clipper library
2012-03-25 23:54:17 +02:00
Peter Sadrozinski
97aac36c39 Add material_prefix to runway class, so we don't have to pass it around so much 2012-03-25 23:54:17 +02:00
Peter Sadrozinski
d0d30fbd52 More consolidation for runway generation
- remove gen_overrun, and the 'generic' gen_tex functions.
- removed rwy_common.cxx

NOTE: now, helipads don't share the same generate function as runway sections.
Maybe later they can be remerged...
2012-03-25 23:54:17 +02:00