Why is the rolling Angle tilted when moving the camera according to a continuous point on earth?

classic Classic list List threaded Threaded
3 messages Options
Mirro187 Mirro187
Reply | Threaded
Open this post in threaded view
|

Why is the rolling Angle tilted when moving the camera according to a continuous point on earth?


gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Why is the rolling Angle tilted when moving the camera according to a continuous point on earth?

Because the Earth geometry exists in an ECEF coordinate system, and you are not creating a local reference frame.

In order to apply heading/pitch/roll relative to a point on the Earth, you first need to establish a local reference frame (which is just a local tangent plane at a specific point).

You can also create this reference frame matrix directly with the GeoPoint::createLocalToWorld method. This is what GeoTransform does.

If you only know your ECEF point, you can call GeoPoint::fromWorld to get a GeoPoint, and then call createLocalToWorld to create the reference frame matrix.

Hope this helps.
Glenn Waldron / Pelican Mapping
Mirro187 Mirro187
Reply | Threaded
Open this post in threaded view
|

Re: Why is the rolling Angle tilted when moving the camera according to a continuous point on earth?

Thank you. You're right.