Board index FlightGear Development Aircraft

JSBSim craft advisory

Questions and discussion about creating aircraft. Flight dynamics, 3d models, cockpits, systems, animation, textures.

JSBSim craft advisory

Postby Thorsten » Sat Dec 01, 2018 9:05 am

Since the recent change to the parser, JSBSim is not only a lot more verbose about issues (good!) but also a lot more picky about accepting syntactically bad tags (somewhat problematic).

For instance ags like

<function>
<property>/my/property1</property>
<property>/my/property2</property>
</function>

which previously returned /my/property1 will now refuse to execute at all (note that the tag never was syntactically correct, but it was accepted and is no longer).

The implication is that this is again a change that will render aircraft which previously worked okay non-functional on next - so an unknown fraction of our JSBSim fleet currently won't start.

(And yes, I've seen issues in someone else's code, so it's not only my sloppy habits )

The good news is that we get explicit locations for the offending tags including line numbers, so generally the issues are easy to fix. Also, these are tags which never worked as intended in the first place, so fixing them to a working condition is likely easy.

My recommendation is that anyone who sees such issues on the repo simply goes ahead and pushes a fix if he has commit rights. If not, or if you feel unsure because you have no experience with JSBSim, give me a note with the errors and I'll go ahead and do the maintenance.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Return to Aircraft

Who is online

Users browsing this forum: No registered users and 7 guests