Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-10 Thread Norman Vine
Jim Wilson wrrites:
 
 It isn't a YASim problem, other than those are the aircraft that don't have DG
 installed. 

Here is a temporary *patch* 

This also reactivates the autopilot adjuster :-)

Norman



diffs
Description: Binary data


Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-10 Thread Jim Wilson
Norman Vine [EMAIL PROTECTED] said:

 Jim Wilson wrrites:
  
  It isn't a YASim problem, other than those are the aircraft that don't have DG
  installed. 
 
 Here is a temporary *patch* 
 
 This also reactivates the autopilot adjuster :-)
 

Right...temporary. This just points up the need to get a fully configurable
autopilot running.  If there isn't a DG you can't really follow heading.  So
the j3-cub should not even have an autopilot without it.  As you know, the way
the auto pilot ties in to the instrument with Curt's patch is the correct
behavior.

Best,

Jim

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-10 Thread David Megginson
Jim Wilson writes:

  Right...temporary. This just points up the need to get a fully
  configurable autopilot running.  If there isn't a DG you can't
  really follow heading.  So the j3-cub should not even have an
  autopilot without it.

I wonder if anyone has ever STC'd some kind of autopilot for a PA-18.
I somehow doubt it, but it would be interesting to check.

A fully-configurable AP will be nice, because Norm will then be able
to tie it to the true heading for his GIS work, while people who want
flight simulation will have the option to make it behave realistically
(tied to a DG on a small plane, or a complex FMS on a larger one).


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-09 Thread Andy Ross
Curtis L. Olson wrote:
 Heading hold seems to fail on YASim planes ... something seems to be
 missing, or not quite happening right.  I thing this was introduced
 about the same time David implimented the vacuum driven AI and DG ...

Hrm... did a property name change, perhaps?  Or maybe something that
I've never set correctly got promoted into use?  I'll take a look
tonight, although someone more familiar with the autopilot would
probably have more luck; just tell me which output property is
garbage. :)

Andy

-- 
Andrew J. RossNextBus Information Systems
Senior Software Engineer  Emeryville, CA
[EMAIL PROTECTED]  http://www.nextbus.com
Men go crazy in conflagrations.  They only get better one by one.
 - Sting (misquoted)


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-09 Thread Norman Vine
Andy Ross writes:

 Curtis L. Olson wrote:
  Heading hold seems to fail on YASim planes ... something seems to be
  missing, or not quite happening right.  I thing this was introduced
  about the same time David implimented the vacuum driven AI and DG ...
 
 Hrm... did a property name change, perhaps?  Or maybe something that
 I've never set correctly got promoted into use?  I'll take a look
 tonight, although someone more familiar with the autopilot would
 probably have more luck; just tell me which output property is
 garbage. :)

 following NOT YASIM specific 

One question I have is why is the AP always turning to the right ?

Could this be a simple problem due to an fabs() call on the error
term somewhere, or maybe a clamp( 0.0 - 1.0) that should be
a clamp (--1.0 - 1.0)

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Auto Pilot probs in 0.9.1

2002-12-09 Thread Jim Wilson
A patch that Curt added back in October is the root of the problem.  The code
is adjusting the Target heading with the difference between the FDM heading
and the DG instrumentation.  If there is no DG then the DG indicated heading
doesn't change when the aircraft yaws so the gap just keeps getting bigger.

It isn't a YASim problem, other than those are the aircraft that don't have DG
installed.  BTW Andy, YASim is reporting /orientation/heading-deg -180 ~ 180
instead of normalized 0 to 360.   That isn't causing any problems that I can
see,  but it might be good to be consistant across fdm's.

Best,

Jim

Andy Ross [EMAIL PROTECTED] said:

 Curtis L. Olson wrote:
  Heading hold seems to fail on YASim planes ... something seems to be
  missing, or not quite happening right.  I thing this was introduced
  about the same time David implimented the vacuum driven AI and DG ...
 
 Hrm... did a property name change, perhaps?  Or maybe something that
 I've never set correctly got promoted into use?  I'll take a look
 tonight, although someone more familiar with the autopilot would
 probably have more luck; just tell me which output property is
 garbage. :)


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel