Re: [Flightgear-devel] Determining range?

2005-09-18 Thread Paul Surgeon
On Saturday 17 September 2005 23:48, Mike Kopack wrote: > Hey gang, > > As part of my simulated UAV control system project, I needed to augment the > built in Autopilot system in FG with a module in my own system (which is > written in java) that takes the aircraft's current position, and a desired

Re: [Flightgear-devel] Determining range?

2005-09-18 Thread Harald JOHNSEN
Dave Culp wrote: ... how do I get the distance from my current Lat/Long to another Lat/Long? There's a function in SimGear that does this. See SimGear/simgear/math/sg_geodesy.cxx for a function called int geo_inverse_wgs_84() This may be overkill for your application. Dave Do

Re: [Flightgear-devel] Determining range?

2005-09-17 Thread Dave Culp
> ... how do I get the distance from > my current Lat/Long to another Lat/Long? There's a function in SimGear that does this. See SimGear/simgear/math/sg_geodesy.cxx for a function called int geo_inverse_wgs_84() This may be overkill for your application. Dave

[Flightgear-devel] Determining range?

2005-09-17 Thread Mike Kopack
Hey gang, As part of my simulated UAV control system project, I needed to augment the built in Autopilot system in FG with a module in my own system (which is written in java) that takes the aircraft's current position, and a desired position (lat/long/altitude/desired arrival time) and figures ou