Thank you for the reply.
"You are probably looking for Latitude, Longitude, and altitude." From
which class ? I want to write code that uses the current position in
C++. Not for use in an initialization xml file.
Does FGLocation::GetLattitude(), for example, return the current latitude ?
Why is there a FGLocation::SetPosition, but no FGLocation::GetPosition ?
On Mon, Dec 16, 2019 at 6:01 PM Bill Galbraith <bil...@gm...>
wrote:
> 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
>
>
>
>
>
>
>
> [image: Image removed by sender.]
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
> Virus-free. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> _______________________________________________
> Jsbsim-devel mailing list
> Jsb...@li...
> https://lists.sourceforge.net/lists/listinfo/jsbsim-devel
> _______________________________________________
> The JSBSim Flight Dynamics Model project
> http://www.JSBSim.org
> _______________________________________________
>
>
|