Hello,
Is there a build in Openglobus way to calculate the point of view of a drone camera, or for that matter - any camera?
What we know:
- Drone Lon, Lat, Alt
- Drone yaw, pitch, roll
- Camera yaw, pitch, roll
- Elevation data of the ground (DEM)
I 've done some research about Quaternions, it seems like a complicate matter.
From what I understood so far, we need to calculate the drone quaternion using:
setFromEulerAngles(pitch, yaw, roll) and then multiply with the quaternion of camera.
And then somehow find terrain collision point correct?