EulerToHeadingPitchRoll does not take shape of the Earth into consideration
DIS(IEEE 1278.1) Fully Implemented in C++
Brought to you by:
karljj1
Have not figured much, because despite of comments in code, there are no images to dig it quickly. The function does not take reference ellipsoid(for example WGS 1984) as the parameter, so there should be an error up 2 degrees depending on lattitude of conversion.
Anonymous
Hi,
I will have to take a quick look when I get the chance but from what I remember everything in DIS is geocenric WGS84, so you should convert to/from that before/after using the EulerToHeadingPitchRoll function.
Yes, it is. But as far as I get, the conversion is done assuming that Earth is sphere and this funcion was written just for convinience and is not part of the standart.