Quote:
Originally Posted by Levansic
Is there any way to get a continuous fused heading or yaw that doesn't jump at 360/0 or -180/180 degrees? I ask, because we model and correct yaw in an ongoing basis to a modeled value. I know we could reset the gyro if the abs(yaw) > 120 or so, but we want to be able to do a 360 degree closed loop orbit for testing (without sparing at the point where yaw or heading magically jump 360 degrees).
It looks like those values are only being read off a registry, and not calculated in LabVIEW. Is there any way to tell the NavX to put the non-resetting values in those registers?
|
I am attaching the vi's that we used last year to convert the yaw that we got from NavX (-180 to 180 if I remember correctly) to an absolute value (starting at zero and continuous counting from there, so -infinity to +infinity). I'm not sure what you mean by a modeled value, but this should give you an idea of how to do it if this is not what you meant.