Re: [Flightgear-devel] [PATCH] Make osgViewer default for fgfs, optionally build other executables

2007-07-28 Thread Hans Ulrich Niedermann
http://flightgear.lauft.net/FG-puInit-static-multi.patch

Make osgViewer default for fgfs, optionally build other executables

This patch concentrates all the GLUT/SDL/osgViewer specific stuff in
src/Main/libOS-{GLUT,SDL,osgViewer}.a convenience libraries which
consist of renderer.cxx, one of fg_os*.cxx and, for the osgViewer
variant, FGManipulator.cxx.

All other FG code does not need any changes at compile time. Only at
link time, the decision about GLUT/SDL/osgViewer is made by linking
the respective set of functions implementing the fg_os.h interface
(i.e. the respective libOS-FOO.a) to the executable.

Notes:

  * To clarify the meanings of ENABLE_FOO and to possibly get rid of
the GLUT version, we now treat all three versions equally
regarding AM_CONDITIONALs and -DENABLE_FOO definitions, i.e. no
#else branches with implicit meanings.

  * The possible parallel building of multiple executables in src/Main
using make aka make all (of which only one is installed at
make install time) accounts for most of the changes to
src/Main/Makefile.am.

  * Builds these binaries in src/Main/:
  fgfs (osgViewer, if not --disable-osgviewer, is installed)
  fgfs-GLUT (GLUT, only if --enable-glut, not installed)
  fgfs-SDL   (SDL, only if --enable-sdl,  not installed)

  * Non-automake builds:
  MSVC6:   uses osgViewer (changed, needs check of FlightGear.dsp)
  MSVC7.1: uses osgViewer (changed, needs check of projects/VC7.1/*)
  MSVC8:   uses osgViewer (as before, projects/VC8/*)
Could Windows builders confirm that the MSVC6 and MSVC7.1 changes
work?

Patch-last-updated: Sat Jul 28 19:05:29 UTC 2007
===

 FlightGear.dsp   |2
 configure.ac |   72 
 projects/VC7.1/FlightGear.vcproj |2
 src/GUI/gui.cxx  |5 -
 src/Include/config.h-msvc6.in|3
 src/Include/config.h-msvc71.in   |3
 src/Include/config.h-msvc8.in|2
 src/Main/Makefile.am |  108 +--
 src/Main/fg_os.cxx   |   10 ++
 src/Main/fg_os.hxx   |2
 src/Main/fg_os_osgviewer.cxx |   11 +++
 src/Main/fg_os_sdl.cxx   |   10 ++
 src/Main/renderer.cxx|5 +
 src/Main/renderer.hxx|   13 +++
 14 files changed, 203 insertions(+), 45 deletions(-)

This is the smallest patch so far, I think.

Does someone have concerns about types and names of the executables
created, and being installed?

Does this address all objections?


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [OT] CVS checkout of OpenProducer?

2007-07-28 Thread Vivian Meazza
Holger Wirtz

 Sent: 28 July 2007 20:36
 To: Flightgear Developers List
 Subject: [Flightgear-devel] [OT] CVS checkout of OpenProducer?
 
 
 Hi,
 
 does anyone know what's up with the CVS of OpenProducer? I 
 tried to checkout for several days but it seems that the 
 account data was changed. I tried to contact them and got the 
 information that the CVS is now at 
 
   cvs -d 
 :pserver:[EMAIL PROTECTED]:/cvs/Producer co Producer
 
 But the same happens: wrong auth... I tried to get 
 information from [EMAIL PROTECTED] but noone 
 answered... 
 
 So I asked here: does anyone know how to check out OpenProducer?
 
 Thanks, Holger
 

It's no longer required for OSG. Do you need it for some other reason?

Vivian 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] logging to XML file

2007-07-28 Thread Melchior FRANZ
It was asked in the German fgfs forum[1] if it's possible
to log internal data to an XML file. Sure is!  :-)

The attached file put into $FG_ROOT/Nasal/ starts logging
to /tmp/data.xml as soon as the FDM is up (one data set per
second) and stops when fgfs is closed. Because the 1 second
interval isn't guaranteed to be exact, the fgfs runtime
is also saved per data set. As you can see, the script is
very easy to extend and customize. 

m.


[1] http://www.flight-gear.de/smf/
var path = /tmp/data.xml;
var interval = 1.0;   # once every second

var format = \tset
\t\ttime%.5f/time
\t\taltitude-m%.5f/altitude-m
\t\tairspeed-kt%.5f/airspeed-kt
\t\troll-deg%.5f/roll-deg
\t/set
;


var loop = func {
var time = getprop(/sim/time/elapsed-sec);
var alt = getprop(/position/altitude-ft) * geo.FT2M;
var spd = getprop(/velocities/airspeed-kt);
var roll = getprop(/orientation/roll-deg);

io.write(file, sprintf(format, time, alt, spd, roll));
settimer(loop, interval);
}


var file = nil;

_setlistener(/sim/signals/fdm-initialized, func {
file = io.open(path, w);
io.write(file, ?xml version=\1.0\?\n\ndata\n);
setlistener(/sim/signals/exit, func {
io.write(file, /data\n);
io.close(file);
});
loop();
});

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] logging to XML file

2007-07-28 Thread Jon S. Berndt
 It was asked in the German fgfs forum[1] if it's possible to log
 internal data to an XML file. Sure is!  :-)

There are probably several ways within Flightgear to do this. If one is
interested in flight dynamics parameters you can also do this in JSBSim in
the aircraft configuration file with an output element (where the rate is
in Hz):

output name=MyOutputFile.csv type=CSV rate=40
  property aero/qbar-psf /property
  rates ON /rates
  velocities ON /velocities
  forces ON /forces
  moments ON /moments
  position ON /position
/output

This approach allows logging of subsystems, as well as individual
properties. Changing a few attributes in the output element will change the
output to tab-delimited, or to output to socket, or to the console. Any
number of output elements can be specified.

For those using a JSBSim aircraft, this can be a good option.

JB



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Airport Mods

2007-07-28 Thread Hans Fugal
In FlightGear, my local airport has a windsock placed smack dab at the
threshold of one of the runways. I hit/dodged it one too many times,
and decided to do something about it. So I got my hands on TaxiDraw
and was pleased to find it very easy to create a decent representation
of the airport, complete with correct tower, windsock, and taxiway
placement, runway stopways and correct approach lighting (that was
already correct, but it was nice to see I could have changed it if
necessary).

Then when I was ready to test it I came to the slow and very
depressing realization that there was no way to get it into FlightGear
without becoming an expert in scenery generation. At least, I think
that's true. I'm asking here with my fingers crossed that perhaps
there's an easier way now. Even if I manage to go through that process
(the ond described in the TerraGear READMEs) once, I won't be apt to
do it again in the future. (I would very possibly pick up TaxiDraw
again and whip out the taxiways for another airport or two I frequent)

Please tell me I'm wrong, and that there is a straightforward way of
getting fixed airport data into FG.

Thanks

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: SimGear

2007-07-28 Thread Curtis L. Olson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-22_15:06:20 (timoore)
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGOffsetTransform.cxx

Support for reading and writing nodes in .osg files, plus some new accessors.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-22_15:06:21 (timoore)
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGOffsetTransform.hxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGRotateTransform.cxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGRotateTransform.hxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGScaleTransform.cxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGScaleTransform.hxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGTranslateTransform.cxx
/var/cvs/SimGear-0.3/source/simgear/scene/model/SGTranslateTransform.hxx

Support for reading and writing nodes in .osg files, plus some new accessors.


2f585eeea02e2c79d7b1d8c4963bae2d

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Weekly CVS Changelog Summary: FlightGear data

2007-07-28 Thread Curtis L. Olson
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-22_01:04:21 (durk)
/var/cvs/FlightGear-0.9/data/AI/Aircraft/737/737-American-traffic.xml
/var/cvs/FlightGear-0.9/data/AI/Aircraft/737/737-Continental-traffic.xml

Innis Cunningham: Callsigns are now unique.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-22_16:22:03 (mfranz)
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/SaabJ35OeDraken-set.xml
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/SaabJ35OeDraken.rgb
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/SaabJ35OeDraken.xml
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Engines/TLSvenskaFlygmotorRM6CTyp66.xml
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Engines/direct.xml
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Model/draken.ac
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Model/draken.xml
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Model/draken_main.rgb

Oliver Badoli REISCHL: Saab J35Oe Draken  (cockpit etc. to come)

Help on technical matters very welcome!   License: GPL


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-22_16:22:04 (mfranz)
/var/cvs/FlightGear-0.9/data/Aircraft/SaabJ35Draken/Sounds/sound.xml

Oliver Badoli REISCHL: Saab J35Oe Draken  (cockpit etc. to come)

Help on technical matters very welcome!   License: GPL


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-27_12:41:59 (mfranz)
/var/cvs/FlightGear-0.9/data/Aircraft/ufo/cam.nas

- add tanker to ai aircraft section
- minor reorganization


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-27_18:06:08 (helijah)
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/dh89-splash.rgb

- New special livrery FlightGear by Detlef FABER.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-27_18:06:09 (helijah)
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/Read-Me.txt
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/thumbnail.jpg
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/Models/dh89.ac

- New special livrery FlightGear by Detlef FABER.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-27_18:06:10 (helijah)
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/Models/transparent.ac
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/Models/transparent.xml

- New special livrery FlightGear by Detlef FABER.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
2007-07-27_18:24:17 (helijah)
/var/cvs/FlightGear-0.9/data/Aircraft/DH-89/Models/dh89.rgb

- The FlightGear livery by Detlef FABER


2f585eeea02e2c79d7b1d8c4963bae2d

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel