On 1 Oct 2009, at 22:41, Michael Smith wrote:

> This is the error I get:
> Failed to load autopilot configuration:
> /home/michael/root/FGData/Aircraft/f-14b/f-14b-AFCS.xml:XMLAuto:
> unrecognized config node:Ki

There seems to be some confusion here.

My changes do *not* change the functional behaviour of the autopilot  
at all - I have no explanation for any differences in behaviour. All  
I've done is fix the XML parsing code to *correctly* report about  
properties that are ignored.

Specifically, PID controllers do NOT (before or after my commit) read  
Ki or Kd properties. Prior to my commit, the warning about those  
properties would have been lost in warnings about all the other,  
genuine properties. After my commit, only the genuine warnings show  
up. Because these are real problems, I 'promoted' the warning from  
SG_INFO to SG_ALERT, in the hope that authors would see the warnings  
and fix their XML files.

(Note all this is assuming I didn't screw up and subtly break the code  
somehow - but if I did, it's very subtle, or no autopilot would work  
at all - and the ones I've tried (B1900, Aerostar, 777) are working as  
before for me.

I'm happy to look at an autopilot XML file and comment on the validity  
of it, with respect to the parsing code. I hope that helps.

Regards,
James


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to