1
0
Fork 0
Commit graph

258 commits

Author SHA1 Message Date
curt
27a068f721 Various fixes and tweaks. 2003-01-07 19:48:32 +00:00
curt
bb4c4f6b13 First stab at a utility to fetch scenery based on the current flightgear
position.

Terrasync runs as a separate process and accepts the --atlas=port format.
The fgfs output tells the terrasync util where FlightGear is currently flying.
Terrasync will then issue the appropriate commands to rsync the surrounding
areas to your local scenery directory.

As you fly, terrasync will periodically refresh and pull any new scenery tiles
in the vicinity.

This also works if the scenery on the scenery server is update.  Rsync will
pull any missing files, or any updated files.

There is a chicken/egg problem when you first start up in a brand new area.
FlightGear is expecting the scenery to be there *now* but it hasn't been
fetched yet.  I suppose without making a more complex protocol, the user
will need to be aware of this.  The user could restart flightgear after the
initial rsync completes, and then after that everything should be good,
assuming the user has the necessary bandwidth to keep up with flight speeds.

Final notes:

At the moment Alex Perry has a partial rsync server, but I don't know it's
status.  I hope to have a full server up and running at some point soon.

Currently the terragear utility just echos the commands it would run to
rsync the data, it doesn't actually run the commands.  This is a work in
progress.
2002-11-23 03:17:47 +00:00
curt
58bd28bb03 Make centerline light generation more robust for ultra short runways.
This keeps us from generation a bogus output file that could crash fgfs.
2002-11-22 22:00:08 +00:00
curt
585fc97859 Julian Foad:
acinclude.m4
- Correct "subdirr" to "subdir".

configure.ac
- Include <stdio.h> to avoid warning for printf.
2002-11-11 15:20:18 +00:00
curt
8c992abfa4 Julian Foad:
- In runway error message, say which runway.
2002-11-11 15:19:56 +00:00
curt
5bb24ff286 Julian Foad:
- Put a space between arguments and redirection operator: looks nicer
  and may be necessary in some circumstances.
- Add missing option "--min-angle" to help text.
2002-11-11 15:19:34 +00:00
curt
ec83d7a39b Julian Foad:
- Remove redundant "const" from return-by-value type.
- Rearrange function to avoid sometimes-unused variables (compiler warning).
2002-11-11 15:19:04 +00:00
curt
c76dff0abf Fix a stupid bug in flattening approach lighting (used "i" rather than "j"
for the indexing variable.)
2002-11-09 17:02:10 +00:00
curt
1ecf81c25b Make the superpoly flag a string rather than an int so we can use it to
convey a wider range of information.
2002-11-09 16:40:20 +00:00
curt
ab5ae52e7d Force each light in an approach lighting groups to have the same elevation
equal to the elevation of the highest light.
Approach lighting systems don't rise and fall with the prevailing terrain.
This prevents portions of the approach lighting system from dipping below
ground level in cases where the surrounding terrain is simplified and doesn't
perfectly match the DEM data.
2002-11-08 20:36:18 +00:00
curt
5f502fc76b This falls under the oops category or perhaps I was uncharacteristically
confused by the alphabet soup.

- Forgot to impliment the SALS(F) version of SALS approach configuration.
- Was generating SSALS when the system was requesting SALSF.
2002-11-04 20:04:24 +00:00
curt
00f4c61073 - Implimented ODALS.
- Added threshold lights to runways that have edge lights but no other
  approach configuration that would have caused threshold lights to be
  created.
2002-11-04 16:30:26 +00:00
david
9af342a033 Patch from Frederic Bouvier:
I had a segfault in case result.size() is 0 because result[i] is used
before knowing it exists. I inverted the test and it now goes well.
2002-11-01 10:49:49 +00:00
curt
276ad45d0e Fix runway "0" problem.
Fix problem with skirt node not being found in node list.
Other various tweaks.
2002-11-01 04:44:26 +00:00
curt
9f6fdee612 Use wgs_84 math to layout runways. My original method was a little backwards,
it involved creating a 2d runway object of the right size, rotating it and then
trying to back solve for the actual lon/lat.  This and a few other problems was
causing problems with subsequent texture coordinate calcs for the runway
surface textures.  It also could have contributed to runways/lighting being
slightly misaligned with the ILS's.  Then lots of minor cascading changes as a
result.
2002-10-31 19:59:37 +00:00
david
9d44a4ae64 Commented out unqualified cout statement. 2002-10-26 16:54:07 +00:00
david
2b660877a3 Don't generate a DEM tile when all elevations are zero. This should
save about 70% worldwide with the GTOPO30 (less with the USGS DEM-3).
2002-10-26 16:50:50 +00:00
curt
cb30b2d474 Oops, missed a needed change. 2002-10-26 01:22:44 +00:00
curt
51287d6785 Taxiways look a bit better if we insert them in sorted order from larger
to smaller.
2002-10-25 17:17:34 +00:00
curt
53a2f9c347 Simplify runway texture coordinate generation. 2002-10-25 16:52:01 +00:00
curt
8817ba7454 First pass at new runway layout. 2002-10-25 14:46:09 +00:00
curt
7368effd9e First crack at generating taxiway lights (with a normal vector of up.) 2002-10-22 03:56:12 +00:00
curt
a20c93b301 Added support of SALS (being phased out, but there are still a few
installations around in the US and Europe.)
2002-10-22 01:57:12 +00:00
curt
37f5d14616 Caution, check point, alsf 1/2 airport generation may not work correctly at the moment. 2002-10-22 01:14:54 +00:00
david
a240a50954 Corrected a typo. 2002-10-19 15:46:12 +00:00
david
aaaa59235b Added --chunk argument to simplify generating airports for a specific
chunk (like w130n30).
2002-10-19 15:42:50 +00:00
david
3a4ee63f3f Fix cout and endl not in the std:: namespace. 2002-10-18 22:26:13 +00:00
david
98712eddc8 Take out /usr/local to avoid spurious warnings. 2002-10-18 22:25:45 +00:00
david
b659705c95 Update ignored files. 2002-10-18 19:27:09 +00:00
david
8f9fd4137d Avoid shadowing parameter. 2002-10-18 19:26:38 +00:00
curt
b2ee8d6fa3 Add ALSF-1, MALS, MALSF, and MALSR. 2002-10-18 18:29:18 +00:00
curt
c2f620744a Added support for generating SSALS, SSALF, and SSALR approach lighting schemes. 2002-10-18 02:55:41 +00:00
curt
e58523db01 Make ALSF-II lighting scheme. 2002-10-17 23:09:44 +00:00
curt
6ebfa5d3b7 Threshold lights. 2002-10-17 15:52:00 +00:00
curt
1e15eae599 Added touchdown zone lights and reil lights. 2002-10-17 02:46:47 +00:00
curt
49ba2555d9 The center line lights are packed closer together so they look brighter.
I'm going to make them less intense than the edge lighting.
2002-10-16 22:38:47 +00:00
curt
5e9e89596a Update edge lighting so last 2000' are yellow.
Impliment center line lighting.
2002-10-16 22:23:34 +00:00
curt
c9584384d3 Better fix reciprical runway heading for vasi too. 2002-10-09 16:46:16 +00:00
curt
66bacda3ba Added support for PAPI, and oh yeah, definitely smoking crack on the
reciprical runway heading calculation.
2002-10-09 16:40:12 +00:00
curt
21153db715 Various tweaks. 2002-10-09 03:39:20 +00:00
curt
69c741fd64 Added necessary infrastructure to manage runway light generation. 2002-10-09 03:37:35 +00:00
curt
4fb0ca1e2b Beginning work on generating/placing VASI lights.
Ooops, I noticed my light infrastructure is insufficient, I need to add
support for creating multiple groups of lights with different types.
2002-10-08 22:25:01 +00:00
curt
9b63deeb03 Updated dem libs to support z units == 1 (feet).
This is not tested since I do not have data in feet to work with.
2002-10-08 15:28:53 +00:00
curt
fbb232280e Frederic Bouvier:
Well, I found a bug in VpfTile that prevents the function getTileSubdir
to return the correct value.

In that case getTileSubdir was returning the content of a local
variable (subdir) that is destroyed before used outside. Usually,
it generates a segfault with MSVC but here, the returned string
was "". The patch returns the value of the string and tgpvf is
going well so far.
2002-10-07 15:36:26 +00:00
curt
43a271c396 Fixed a horrendous bug with generating runway lighting direction vectors. 2002-10-06 03:45:43 +00:00
david
374bca92c7 Replaced strtof with ANSI C strtod as suggested by Frederic Bouvier. 2002-08-31 17:40:00 +00:00
david
ee66876d21 Patch from Julian Foad to reduce debugging output. 2002-08-31 17:31:16 +00:00
curt
8c35817530 Clean up some old remnants of HAVE_ZLIB_H 2002-08-30 03:00:21 +00:00
curt
65d6f9c623 Tweaks to bring the automake/conf scripts into compliance. 2002-08-29 22:12:43 +00:00
curt
13895ab1dd More fixes to the automake/conf scripts. 2002-08-28 14:13:51 +00:00