Re: [Flightgear-devel] Net FDM and Hit Detection
> > From: "Curtis L. Olson" > > > > > > > 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. > > > > This is the way it is done, but I was just wondering if it wouldn't be > better to do it on the graphics side. Maybe it would be good > idea to test 3 (or more) axes parallel to the aircraft trajectory for > intersections with non-model > polys. Isn't there code that does something like that, at least > for the perpendicular to ground axis? > > Jim Just so it would not interfere with normal ground reactions done by the flight dynamics models. I think the above suggestion might be asking for trouble. Maybe a better way would be to make available terrain (or other object) information to the flight model and let the flight model do the physical interaction. Jon - 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
Re: [Flightgear-devel] Net FDM and Hit Detection
> From: "Curtis L. Olson" > > > 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. > This is the way it is done, but I was just wondering if it wouldn't be better to do it on the graphics side. Maybe it would be good idea to test 3 (or more) axes parallel to the aircraft trajectory for intersections with non-model polys. Isn't there code that does something like that, at least for the perpendicular to ground axis? Best, Jim -- Jim Wilson Kelco Industries PO Box 160 Milbridge, ME 04658 207-546-7989 - 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
Re: [Flightgear-devel] Net FDM and Hit Detection
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 Olsonhttp://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
Re: [Flightgear-devel] Net FDM and Hit Detection
Jon,Thanks for the response. Any idea how difficult this would be, or where a good place to start reading would be? (I have a feeling you're going to say the JSB code ;))Robert On 8/11/06, Berndt, Jon S <[EMAIL PROTECTED]> wrote: Hi, Robert: Not that it does you a lot of good if using the Net FDM, but that feature is available in JSBSim if contact points are defined in the aircraft configuration file. My guess is that YASim does that, too. It's sort of a flight model feature. If you are providing your own dynamics, you'll probably have to do that yourself. Jon Jon S. Berndt Development Coordinator JSBSim Project www.JSBSim.org 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?Thanks.-- Robert BurnsUniversity of Kansas, Dept. of Aerospace Engineering and CReSIS http://www.engr.ku.edu/ae http://www.cresis.ku.edu[EMAIL PROTECTED] -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.nethttps://lists.sourceforge.net/lists/listinfo/flightgear-devel -- Robert BurnsUniversity of Kansas, Dept. of Aerospace Engineering and CReSIShttp://www.engr.ku.edu/ae http://www.cresis.ku.edu[EMAIL PROTECTED] - 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
Re: [Flightgear-devel] Net FDM and Hit Detection
Hi, Robert: Not that it does you a lot of good if using the Net FDM, but that feature is available in JSBSim if contact points are defined in the aircraft configuration file. My guess is that YASim does that, too. It's sort of a flight model feature. If you are providing your own dynamics, you'll probably have to do that yourself. Jon Jon S. Berndt Development Coordinator JSBSim Project www.JSBSim.org 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?Thanks.-- Robert BurnsUniversity of Kansas, Dept. of Aerospace Engineering and CReSIS http://www.engr.ku.edu/aehttp://www.cresis.ku.edu[EMAIL PROTECTED] - 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
[Flightgear-devel] Net FDM and Hit Detection
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?Thanks.-- Robert BurnsUniversity of Kansas, Dept. of Aerospace Engineering and CReSIS http://www.engr.ku.edu/aehttp://www.cresis.ku.edu[EMAIL PROTECTED] - 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