Theo Hankers
2006-05-12 12:20:56 UTC
Hey Guys,
I'm working as an assistant scientist for the Institute of Flight
Guidance of the Technical University of Braunschweig, Germany. We are
using a combination of INS- and GPS-Systems to record and compute flight
data for analysis and visualization. For the latter I found the
Open-Source Flight Simulator FlightGear to be the best software since
the source-code is not hard to understand, and a flight model, driven by
external data already exist.
In order to achieve good results I decided to import Flight Simulator
models (I received the designer's authorization already) into
FlightGear, because the standard airplanes don't really suite our needs
(one focus is put on aerobatics).
The problem I'm dealing with right now is more of a general matter.
In order to import MS Flight Simulator models, you have to select the
mdl file, using xml files for the model and animation definition.
This is where I got into trouble! I successfully managed to import the
model, but the animation doesn't quite work the way I want it to. The
elevator and rudder are moving perfectly (after some position
adjustments), but no matter which airplane I try to import the propeller
and, more important, the ailerons don't move at all.
.mdl file. This works for many airplanes with "elevator" and "rudder"
(names are case-sensitive). But no matter which name I try, "left_ailer"
(as defined in Microsoft's MDL SDK), aileron, Left_Aileron, l_ailer,
etc...., the
ailerons won't move, and I get the error message object "..." not found.
So my question is, wether you have an idea, or maybe you can tell me how
the different objects in the mdl file are named (maybe by aircraft
animator or FSDS). Is it maybe a problem, that FlightGear can't read
object-names including underscores (_)?
Thanks a lot in advance!
Sincerely
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
I'm working as an assistant scientist for the Institute of Flight
Guidance of the Technical University of Braunschweig, Germany. We are
using a combination of INS- and GPS-Systems to record and compute flight
data for analysis and visualization. For the latter I found the
Open-Source Flight Simulator FlightGear to be the best software since
the source-code is not hard to understand, and a flight model, driven by
external data already exist.
In order to achieve good results I decided to import Flight Simulator
models (I received the designer's authorization already) into
FlightGear, because the standard airplanes don't really suite our needs
(one focus is put on aerobatics).
The problem I'm dealing with right now is more of a general matter.
In order to import MS Flight Simulator models, you have to select the
mdl file, using xml files for the model and animation definition.
This is where I got into trouble! I successfully managed to import the
model, but the animation doesn't quite work the way I want it to. The
elevator and rudder are moving perfectly (after some position
adjustments), but no matter which airplane I try to import the propeller
and, more important, the ailerons don't move at all.
<animation>
<type>rotate</type>
<object-name>elevator</object-name>
<property>/surface-positions/elevator-pos-norm</property>
<factor>25.0</factor> <!-- fixme -->
</animation>
As you can see, you have to address the object, as it is named in the<type>rotate</type>
<object-name>elevator</object-name>
<property>/surface-positions/elevator-pos-norm</property>
<factor>25.0</factor> <!-- fixme -->
</animation>
.mdl file. This works for many airplanes with "elevator" and "rudder"
(names are case-sensitive). But no matter which name I try, "left_ailer"
(as defined in Microsoft's MDL SDK), aileron, Left_Aileron, l_ailer,
etc...., the
ailerons won't move, and I get the error message object "..." not found.
So my question is, wether you have an idea, or maybe you can tell me how
the different objects in the mdl file are named (maybe by aircraft
animator or FSDS). Is it maybe a problem, that FlightGear can't read
object-names including underscores (_)?
Thanks a lot in advance!
Sincerely
Theo Hankers
Institute for Flight Guidance
Technical University of Braunschweig
--Institute for Flight Guidance
Technical University of Braunschweig
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642