Ground observer position

Sam Heyman <[email protected]> Sun, 29 May 2005 14:38:24 +0200
Newsgroups gmane.games.flightgear.flightmodel
Message-ID <[email protected]>
Hi,

I am trying to create a new view for my RC UAV. The view I would like
is a ground observer, standing by the edge of the runway, near the
aircraft.

This is the view section I have included in my aircraft-set file:

<location>
  <ground-observer-lon-deg>48.6124</ground-observer-lon-deg>
  <ground-observer-lat-deg>63.1243</ground-observer-lat-deg>
  <ground-observer-alt-ft>123.5</ground-observer-alt-ft>
</location>

<view>
    <name>Ground Observer</name>
    <type>lookat</type>
    <config>
      <eye-lat-deg-path>/location/ground-observer-lat-deg></eye-lat-deg-path>
      <eye-lon-deg-path>/location/ground-observer-lon-deg</eye-lon-deg>
      <eye-alt-ft-path>/location/ground-observer-alt-ft</eye-alt-ft>
      <eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
      <eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
      <eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>

      <at-model type="bool">true</at-model>
      <at-model-idx type="int">0</at-model-idx>
    </config>
 </view>


Questions:
----------------
1) When I add this to my file, the aircraft no longer loads (not
displayed in the aircraft list) - which is not a good start!

2) What should I specify in the location section, so that any airport
can be chosen and the observer always stands next to the runway?

Thanks a lot!
Sam

_______________________________________________
Flightgear-flightmodel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-flightmodel
2f585eeea02e2c79d7b1d8c4963bae2d