From: Bill G. <bil...@gm...> - 2019-12-17 01:01:26
|
Well, since no one else is answering… You are probably looking for Latitude, Longitude, and altitude. You will also probably want pitch, roll, and heading. Look for those values in the list of parameters available in JSBSim. They are all referenced to the aircraft center of gravity (CG). There are equations available on the internet for finding the lat/long/altitude of a point a certain x/y/z distance from the aircraft. Sorry, I don’t have them at my fingertips right now. Keep in mind that you are dealing with a sphere. Bill From: linux guy [mailto:lin...@gm...] Sent: Monday, December 16, 2019 12:06 PM To: jsb...@li... Subject: [Jsbsim-devel] A few questions... Hi people. Thank you for your great work on JSBSim ! I have a few questions.... In code, how do I get the current location of the airframe ? And to what point is the current location referenced to on the airframe ? How can I (easily) define a point at a distance(x,y,z) from the current location ? What exactly is a ColumnVector3 ? Thanks <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avg.com |