I'm not surprised it breaks with malformed XML files.
A suggested fix is below.
if (!input.good()) {
sg_io_exception ex(Problem reading file,
sg_location(path,
XML_GetCurrentLineNumber(parser),
Jon Berndt wrote:
I'm not surprised it breaks with malformed XML files.
A suggested fix is below.
if (!input.good()) {
sg_io_exception ex(Problem reading file,
sg_location(path,
XML_GetCurrentLineNumber(parser),
On Fri, 2005-09-16 at 04:41 +0100, Lee Elliott wrote:
Hello List,
I think there's a small bug in the moving-average filter in
...
xmlauto.cxx
else if (filterType == movingAverage)
{
output.push_front(output[0] +
(input[0] -
On Wed, 2005-09-14 at 20:35 -0400, Steve Knoblock wrote:
The Digitrak is described as employing gyroscopic rate sensors are
installed so as to sense motion about each of the major axes (roll,
yaw and pitch).
I assume they mean there is a spinning gryo around which three sensors
are
I don't know how detailed you want to get with the digitrak modeling,
but as a first pass, you could just assume that what ever the digitrak
is doing, it's keeping a pretty good estimate of reality. If you make
that assumption, then you could just use the raw pitch, roll, yaw values
from FG
On Saturday 17 September 2005 16:43, Paul Kahler wrote:
I'm not trying to flame, but why would you be using a moving average
filter? That's the most complicated filter I've ever seen - it calls
other functions!
It calls some of the methods of the deque datatype.
I'm sorry! That's the
... 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