[Flightgear-devel] Problems with 'V' (backwards view) on Mac os X

Lee Elliott leee at spatial.freeserve.co.uk
Wed Oct 19 22:00:29 CDT 2005

Previous message: [Flightgear-devel] Problems with 'V' (backwards view) on Mac os X
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]


On Thursday 20 Oct 2005 03:31, Ima Sudonim wrote:
> > On Thursday 20 Oct 2005 01:10, Ima Sudonim wrote:
> > > Hi,
> > >
> > > Someone else had mentioned something similar recently, but
> > > I can't find the post in flightgear-devel.
> > >
> > > I noticed that with latest CVS on mac os x, I can scroll
> > > thru views (forward) with 'v' as many times as I like, but
> > > that 'V' (reverse) only works 1-3 times until I reach the
> > > view that has a name ending in 'w/o yaw'.
> > >
> > > 'V' will no longer work, until I move forward in the views
> > > with 'v' at least once. Then the 'V' cycle works (or fails
> > > to work) as mentioned above.
> > >
> > > Thanks!
> > >
> > > Ima

> > Have you found this with several different aircraft or have
> > you only tried a single type so far?  If it only happens
> > with a specific aircraft, which one is it?
> >
> > LeeE
>
>
> I was using the default cessna (didn't give --aircraft=
> option) (it's the chase view w/o yaw option, where the problem
> occurs in all instances with reverse view).
>
> DOES happen with default cessna, sopwithCamel, spitfireIIa,
> 747-100, ufo, Citation-II, A380, shuttle (gave a 'failed to
> load aircraft from, falling back to glider.ac' message,
> ornithopter (BTW, the ornithopter is already moving forward
> when fg starts, unlike the other airplane models), bell206
>
> DOESN'T happen with A-10cl (my personal favorite) 8-) or
> A-10fl (there is no chase view w/o yaw option)
>
> Hope this helps!
>
> Thanks!
>
> Ima

Heh ;)  I don't mind top or bottom replies but sticking them in
the middle throws me a bit.

Anyway...  I can't find any problems here - cvs a day or two old
- I tried just calling fgfs with no params, to get the C-172,
and could scroll backwards and forwards through the views ok.
Cycled forward to chase w/o yaw, cycled backwards from it - no
problems.

Then tried both the A-10s, because you mention that they had no
chase view w/o view and had no problems there either, including
the chase view w/o yaw.

Do you get a 'Drop View' with the A-10s?  The Drop view should be
the 'last' view on the A-10s, before you end up back in the
Cockpit and should come after the chase view w/o yaw.  Do you
get both the chase view w/o yaw and drop view on the A-10s?

LeeE

Lee, thank you for your interest and suggestions...

Sorry, I tend to put the answer right by the question, less chance of forgetting to answer something... 8-(

There is NO chase view on my A10s -- cockpit view, helicopter view, chase view above, chase view, tower view, tower view look from, drop view and then back to cockpit view -- NO chase view w/o yaw. I am using latest cvs.

Calling flightgear with no --aircraft param, I see the problem: the views are -- cockpit view, helicopter view, chase view above, chase view, tower view, tower view look from, chase view wo yaw, THEN helicopter view (again, note NOT cockpit view), but if I reverse from the 2nd helicopter view, I DO get cockpit view as I would have expected, then backing up again, the screen is labled chase view wo yaw, but is really just cockpit view. Except for the first time, there is NO cockpit view moving forward with 'v', moving backward, I see cockpit view where it belongs, but 'V' stops working with a screen labelled chase view wo yaw, but that looks like cockpit view.

Using --aircraft=Citation-II, I get the following views:
cockpit view, helicopter view, chase view above, chase view, tower view, tower view look from, chase view wo yaw, THEN helicopter view (again, note NOT cockpit view), but if I reverse from the 2nd helicopter view, I DO get cockpit view as I would have expected, then backing up again, the screen is labled chase view wo yaw, but is really just cockpit view. Except for the first time, there is NO cockpit view moving forward with 'v', moving backward, I see cockpit view where it belongs, but 'V' stops working with a screen labelled chase view wo yaw, but that looks like cockpit view.

In other words, going forward with 'v', the views are:

CV, HV, CVA, CV, TV, TVLF, CVWOY, HV, CVA, CV, TV, TVLF, CVWOY, HV, CVA, CV, etc.

going back with 'V' on a broken aircraft here, I'd get:

CVA, HV, CVWOY (stuck at this point and 'V' doesn't work anymore until I move forward with 'v' first)

The a-10s don't have CVWOY, cycling backwards or forwards, I get:
CV, HV, CVA, CV, TV, TVLF, DV, CV, HV, CVA, CV, TV, TVLF, DV, CV, HV, CVA, CV, etc.

So, the broken aircraft have chase view wo yaw instead of drop view and don't display the 2nd or more cockpit views going forward (after CVWOY and before helicopter view) with 'v', but will display cockpit view with 'V' (backwards), but 'V' stops working when you get to the CVWAY view, until you move forward with 'v' again first.

I'm now even more confused than when I started! 8-)

Hope this helps,

Thanks! Ima

----- views section of preferences.xml -----


  <number-views type="int">6</number-views>
  <chase-distance-m type="double">-25.0</chase-distance-m>
  <allow-toggle-cockpit type="bool">false</allow-toggle-cockpit>

  <!-- "tower" positioned to right of runway at KSFO -->
  <tower>
    <longitude-deg type="double">-122.23045</longitude-deg>
    <latitude-deg type="double">37.37027</latitude-deg>
    <altitude-ft type="double">150</altitude-ft>
    <roll-deg type="double">0</roll-deg>
    <pitch-deg type="double">0</pitch-deg>
    <heading-deg type="double">0</heading-deg>
  </tower>


  <view>
    <name>Cockpit View</name>
    <type>lookfrom</type>
    <internal type="bool">false</internal>
    <config>
      <from-model type="bool">true</from-model>
      <from-model-idx type="int">0</from-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>
      <default-pitch-deg type="double">0</default-pitch-deg>
      <default-heading-deg type="double">0</default-heading-deg>
      <front-direction-deg type="double">0</front-direction-deg>
<front-left-direction-deg type="double">45</front-left- direction-deg>
      <left-direction-deg type="double">90</left-direction-deg>
<back-left-direction-deg type="double">135</back-left- direction-deg>
      <back-direction-deg type="double">180</back-direction-deg>
<back-right-direction-deg type="double">225</back-right- direction-deg>
      <right-direction-deg type="double">270</right-direction-deg>
<front-right-direction-deg type="double">315</front-right- direction-deg>
    </config>
  </view>


  <view>
    <name>Helicopter View</name>
    <type>lookat</type>
    <config>
      <from-model type="bool">false</from-model>
      <from-model-idx type="int">0</from-model-idx>
      <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<eye-heading-deg-path>/orientation/heading-deg</eye-heading- deg-path>

      <at-model type="bool">true</at-model>
      <at-model-idx type="int">0</at-model-idx>
<at-model-heading-damping type="double">0.0</at-model-heading- damping>
      <target-z-offset-m type="double">0</target-z-offset-m>

<ground-level-nearplane-m type="double">0.5f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>

      <x-offset-m type="double">0</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m alias="/sim/chase-distance-m"/>
    </config>
  </view>

  <view>
    <name>Chase View Above</name>
    <type>lookat</type>
    <config>
      <from-model type="bool">false</from-model>
      <from-model-idx type="int">0</from-model-idx>
      <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<eye-heading-deg-path>/orientation/heading-deg</eye-heading- deg-path>

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

<ground-level-nearplane-m type="double">0.5f</ground-level- nearplane-m>

      <x-offset-m type="double">4400</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m type="double">-1</z-offset-m>
    </config>
  </view>

  <view>
    <name>Chase View</name>
    <type>lookat</type>
    <config>
      <from-model type="bool">false</from-model>
      <from-model-idx type="int">0</from-model-idx>
      <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
      <eye-pitch-deg-path>/orientation/pitch-deg</eye-pitch-deg-path>
      <eye-roll-deg-path>/orientation/roll-deg</eye-roll-deg-path>
<eye-heading-deg-path>/orientation/heading-deg</eye-heading- deg-path>

      <at-model type="bool">true</at-model>
      <at-model-idx type="int">0</at-model-idx>
      <at-model-roll-damping type="double">1.8</at-model-roll-damping>
<at-model-pitch-damping type="double">1.8</at-model-pitch- damping> <at-model-heading-damping type="double">1.8</at-model-heading- damping>
      <target-z-offset-m type="double">0</target-z-offset-m>

<ground-level-nearplane-m type="double">0.5f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>

      <x-offset-m type="double">5</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m alias="/sim/chase-distance-m"/>
    </config>
  </view>

  <view>
    <name>Tower View</name>
    <type>lookat</type>
    <config>
      <eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
      <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>

<ground-level-nearplane-m type="double">10.0f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>

      <x-offset-m type="double">0</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m type="double">0</z-offset-m>
    </config>
  </view>

  <view>
    <name>Tower View Look From</name>
    <type>lookfrom</type>
    <config>
      <eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
      <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>

<ground-level-nearplane-m type="double">10.0f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>

      <x-offset-m type="double">0</x-offset-m>
      <y-offset-m type="double">0</y-offset-m>
      <z-offset-m type="double">0</z-offset-m>
    </config>
  </view>

  <view>
    <name>Chase View wo yaw</name>
    <type>lookat</type>
    <config>
      <from-model type="bool">false</from-model>
      <from-model-idx type="int">0</from-model-idx>
      <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
      <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
      <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>

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

<ground-level-nearplane-m type="double">0.5f</ground-level- nearplane-m> <default-field-of-view-deg type="double">55.0</default-field- of-view-deg>

      <x-offset-m type="double">2</x-offset-m>
      <y-offset-m type="double">25</y-offset-m>
      <z-offset-m alias="/sim/chase-distance-m"/>
    </config>
  </view>

  <menubar>
   <visibility type="bool">true</visibility>
   <default include="gui/menubar.xml"/>
  </menubar>



_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to