Robert Burns wrote:
> Hello,
>
> We are considering using FlightGear for a research project at our 
> university. I have a question about a network FDM's ability to 
> interface with FlightGear's scenery.
>
> Specifically, is it possible for a network FDM to determine if a 
> collision has occurred between the aircraft geometry in FlightGear and 
> the actual terrain? If so, does the mechanism provide specific 
> information about the collision ( i.e., landing gear, wing, nose, 
> etc.)? Where could I find the source that facilitates this mechanism?

Hi Robert,

Can you describe a little more about how you plan to set up your simulation?

A common arrangement is to have your own flight dynamics running as an 
external software application (i.e. matlab/simulink, etc.) and then use 
the net_fdm structure to send aircraft location, attitude, control 
surface deflection, etc. to FlightGear for rendering the visual 
representation of what is going on.

Most people stop there since that is pretty quick and easy to set up.

However, FlightGear also has a net_ctrls packet which is designed to 
send information from FG back to your flight dynamics application.  This 
would allow you to handle all your joystick and other flight/engine 
control inputs via Flightgear and pass them through to your dynamics 
code.  In addition, this structure will send over local ground elevation 
and wind speed/dir.  Of course you can choose to use or ignore any or 
all of that data.

With this mechanism, your own flight dynamics code can do the check for 
ground collision, your gear modeling code will know the local ground 
elevation (which can change as you taxi) and you can test yourself for a 
crash condition.

Does that help?

Thanks,

Curt.

-- 
Curtis Olson        http://baron.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


-------------------------------------------------------------------------
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
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to