Csaba Halasz: Pass file name to xml parser for error reporting from JSBSim.
This commit is contained in:
parent
7af1f496e8
commit
1e744a2582
2 changed files with 8 additions and 3 deletions
|
@ -74,7 +74,7 @@ protected:
|
|||
return 0L;
|
||||
}
|
||||
|
||||
readXML(infile, file_parser);
|
||||
readXML(infile, file_parser, XML_filename);
|
||||
document = file_parser.GetDocument();
|
||||
infile.close();
|
||||
|
||||
|
|
|
@ -162,12 +162,17 @@ CLASS DOCUMENTATION
|
|||
<y> {number} </y>
|
||||
<z> {number} </z>
|
||||
</location>
|
||||
<orientation unit="{RAD | DEG}">
|
||||
<pitch> {number} </pitch>
|
||||
<roll> {number} </roll>
|
||||
<yaw> {number} </yaw>
|
||||
</orientation>
|
||||
<static_friction> {number} </static_friction>
|
||||
<dynamic_friction> {number} </dynamic_friction>
|
||||
<rolling_friction> {number} </rolling_friction>
|
||||
<spring_coeff unit="{LBS/FT | N/M}"> {number} </spring_coeff>
|
||||
<damping_coeff unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff>
|
||||
<damping_coeff_rebound unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff_rebound>
|
||||
<damping_coeff [type="SQUARE"] unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff>
|
||||
<damping_coeff_rebound [type="SQUARE"] unit="{LBS/FT/SEC | N/M/SEC}"> {number} </damping_coeff_rebound>
|
||||
<max_steer unit="DEG"> {number | 0 | 360} </max_steer>
|
||||
<brake_group> {NONE | LEFT | RIGHT | CENTER | NOSE | TAIL} </brake_group>
|
||||
<retractable>{0 | 1}</retractable>
|
||||
|
|
Loading…
Reference in a new issue