[Flightgear-devel] Flightgear Tracker restart

2009-05-18 Thread tgbp
Hello,

  Please restart FlightGear MP servers because tracker server was rebooted
due to reconfiguration.

Thanx,
Gabor



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] saitek proflight yoke xml

2009-05-18 Thread Peschiutta Gianni
Hi, I recently complete the Pro-Flight-Yoke.xml for my personal same
device on linux. I add POV view control, view switching on E button,
zoom on B1/B2, parking brake on D button. Find in attachment the xml
file if your are interested to add it on the cvs respository.

?xml version=1.0?
!-- Saitek Pro Flight Yoke

  Copyright (C) 2008  Oliver Schroeder  (fgfs(at)o-schroeder.de)
  This file is released under the GPL license.
--
PropertyList
 nameSaitek Saitek Pro Flight Yoke/name
 nameSaitek Pro Flight Yoke/name

 axis n=0
  descAileron/desc
  binding
   commandproperty-scale/command
   property/controls/flight/aileron/property
   squared type=booltrue/squared
  /binding
 /axis
 axis n=1
  descElevator/desc
  binding
   commandproperty-scale/command
   property/controls/flight/elevator/property
   factor type=double-1.0/factor
   squared type=booltrue/squared
  /binding
 /axis
 !-- Throttle Quadrant --
 axis n=2
  descThrottle/desc
  binding
   commandnasal/command
   scriptcontrols.throttleAxis()/script
  /binding
 /axis
 axis n=3
  descProp Pitch/desc
  binding
   commandnasal/command
   scriptcontrols.propellerAxis()/script
  /binding
 /axis
 axis n=4
  descMixture /desc
  binding
   commandnasal/command
   scriptcontrols.mixtureAxis()/script
  /binding
 /axis

 axis n=5
  descView Direction/desc
  low
   repeatabletrue/repeatable
   binding
commandproperty-adjust/command
property/sim/current-view/goal-heading-offset-deg/property
step type=double1.0/step
   /binding
  /low
  high
   repeatabletrue/repeatable
   binding
commandproperty-adjust/command
property/sim/current-view/goal-heading-offset-deg/property
step type=double-1.0/step
   /binding
  /high
 /axis

 axis n=6
  descView Elevation/desc
  low
   repeatabletrue/repeatable
   binding
commandproperty-adjust/command
property/sim/current-view/goal-pitch-offset-deg/property
step type=double1.0/step
   /binding
  /low
  high
   repeatabletrue/repeatable
   binding
commandproperty-adjust/command
property/sim/current-view/goal-pitch-offset-deg/property
step type=double-1.0/step
   /binding
  /high
 /axis
 !-- Buttons on the Yoke --
 button n=0 !-- Labled as E --
  descChange View/desc
  binding
   commandnasal/command
   script
v = getprop(/sim/current-view/view-number);
v = v + 1;
if (v  4) {
 v = 0;
}
setprop(/sim/current-view/view-number, v);
   /script
  /binding
 /button
 button n=1 !-- Labled as D --
  descToggle parking break/desc
  binding
   commandproperty-toggle/command
   property/controls/gear/brake-parking/property
  /binding
 /button
 button n=2 !-- Labled as A1 --
  descElevator trim down/desc
  repeatabletrue/repeatable
  binding
   commandnasal/command
   scriptcontrols.elevatorTrim(0.75)/script
  /binding
 /button
 button n=3 !-- Labled as A2 --
  descElevator trim up/desc
  repeatabletrue/repeatable
  binding
   commandnasal/command
   scriptcontrols.elevatorTrim(-0.75)/script
  /binding
 /button
 button n=4 !-- Labled as B1 --
  descZoom In/desc
  repeatabletrue/repeatable
  binding
   commandproperty-adjust/command
   property/sim/current-view/field-of-view/property
   step type=double-0.5/step
  /binding
 /button
 button n=5 !-- LAbled as B2 --
  descZoom Out/desc
  repeatabletrue/repeatable
  binding
   commandproperty-adjust/command
   property/sim/current-view/field-of-view/property
   step type=double+0.5/step
  /binding
 /button
 button n=6 !-- Labled as C1 --
  descAileron trim left/desc
  repeatabletrue/repeatable
  binding
   commandnasal/command
   scriptcontrols.aileronTrim(-0.75)/script
  /binding
 /button
 button n=7 !-- Labled as C2 --
  descAileron trim right/desc
  repeatabletrue/repeatable
  binding
   commandnasal/command
   scriptcontrols.aileronTrim(0.75)/script
  /binding
 /button

  !-- Buttons on the throttle Quadrant --
 button n=14 !-- Labled as T1 --
  descFlaps up/desc
  repeatablefalse/repeatable
  binding
   commandnasal/command
   scriptcontrols.flapsDown(-1)/script
  /binding
  mod-up
   binding
commandnasal/command
scriptcontrols.flapsDown(0)/script
   /binding
  /mod-up
 /button
 button n=15 !-- Labled as T2 --
  descFlaps down/desc
  repeatablefalse/repeatable
  binding
   commandnasal/command
   scriptcontrols.flapsDown(1)/script
  /binding
  mod-up
   binding
commandnasal/command
scriptcontrols.flapsDown(0)/script
   /binding
  /mod-up
 /button
 button n=16 !-- Labled as T3 --
  descGear up/desc
  repeatablefalse/repeatable
  binding
   commandnasal/command
   scriptcontrols.gearDown(-1)/script
  /binding
  mod-up
   binding
commandnasal/command
scriptcontrols.gearDown(0)/script
   /binding
  /mod-up
 /button
 button n=17 !-- Labled as T4 --
  descGear down/desc
  repeatablefalse/repeatable
  binding
   commandnasal/command
   scriptcontrols.gearDown(1)/script
  /binding
  mod-up
   binding
commandnasal/command
scriptcontrols.gearDown(0)/script
   /binding
  /mod-up
 /button
/PropertyList

[Flightgear-devel] Finding installed airports

2009-05-18 Thread Yan Seiner
I'm running linux (just to clarify the following)

I'm trying to get the lat  long of all installed airports.  So far I've
reduced to this:

for apt in `find Airports -name *threshold.xml` ; do basename $apt
.threshold.xml;  done

This returns a list of airport codes.

Then I can look up the lat  long in Airpots/index.txt

Does the index.txt file in the Airports directory list all of the airports
in the world?

y...@selene:~/Desktop/flight$ wc Airports/index.txt
 25715  25715 705134 Airports/index.txt

That's 25 thousand airports; I would hope that's a pretty complete list. 
Would there ever be a case where an airport in a dataset is not in
index.txt (that's not a bug)?

--Yan



-- 
Yan Seiner, PE

Support my bid for the 4J School Board
http://www.seiner.com


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Finding installed airports

2009-05-18 Thread Yan Seiner

On Mon, May 18, 2009 2:43 pm, Yan Seiner wrote:
 I'm running linux (just to clarify the following)

 I'm trying to get the lat  long of all installed airports.  So far I've
 reduced to this:

 for apt in `find Airports -name *threshold.xml` ; do basename $apt
 .threshold.xml;  done

 This returns a list of airport codes.

 Then I can look up the lat  long in Airpots/index.txt

 Does the index.txt file in the Airports directory list all of the airports
 in the world?

 y...@selene:~/Desktop/flight$ wc Airports/index.txt
  25715  25715 705134 Airports/index.txt

 That's 25 thousand airports; I would hope that's a pretty complete list.
 Would there ever be a case where an airport in a dataset is not in
 index.txt (that's not a bug)?


One more question:

Does anyone know of a list cross-referencing ICAO and FAA (the 3 and 4
letter private airport IDs) codes to names?  I've found various lookup
servies, but no API for accessing them and no list I can download.

--Yan

-- 
Yan Seiner, PE

Support my bid for the 4J School Board
http://www.seiner.com


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Finding installed airports

2009-05-18 Thread Martin Spott
Yan Seiner wrote:

 Does the index.txt file in the Airports directory list all of the airports
 in the world?

Yes, the 'index.txt' file contains lon/lat of all airfields which
available in the latest World Scenery release.

 Would there ever be a case where an airport in a dataset is not in
 index.txt (that's not a bug)?

Basically, the 'index.txt' file had been compiled from the same
'apt.dat' source file as the airfields in the 1.0.1 World Scenery. It's
just meant as help for an quick and easy airfield  lookup.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] how to add a new label to Hud

2009-05-18 Thread John Waget
Hi all,

besides longitude and latitude, I want to add a new label to Hud.

can anyone help me with this?

thanks

John
--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] YASim static friction

2009-05-18 Thread Diogo Kastrup
Mathias Fröhlich escreveu:
 Prototyped and checked in.
 I don't claim that it is bug free. So help chasing them :)
 
 Feel free to ask if something is too bad documented or does not work as 
 expected.

Hi Mathias,

I am sorry for the delay, finally I could get back to this. Besides
moving to a new city/job, I have also bought a model airplane, so I feel
like a child again with my new toy wasting all my free time playing.

I am changing the friction code to use the new API, but I am having some
trouble. It looks like the velocities returned by the get_body method
are always zero. Maybe the problem is in the
void BodyFinder::apply(BVHMotionTransform transform)
method as even when it finds the right ID it returns before the
velocities are set.

Also I am having some trouble to synchronize the stuck point with the
carrier movement again. I saw that there are some changes to the time
offset passed to the Ground Callback in YASim.cxx. What should I
expect to be already taken care by get_body? Is it compensating for the
delay between the AI update and the FDM iterations? And what about the
Integrator iterations? This was the hardest part of the friction patch
so any tip would be very helpful.

Regards,

Diogo


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel