Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is the aircraft's attitude not considered? #21

Open
angaio opened this issue Nov 21, 2023 · 1 comment
Open

Why is the aircraft's attitude not considered? #21

angaio opened this issue Nov 21, 2023 · 1 comment

Comments

@angaio
Copy link

angaio commented Nov 21, 2023

In the code def get_metadata(input_file), only the gimbal's attitude is being read and used, and the aircraft's attitude is not being read or used. Why is that?

@hwiyoung
Copy link
Owner

Hi angaio

Orientation of a camera from a ground is needed to generate an orthophoto, not orientation of an aircraft itself

But we can only know the orientation an aircraft, we have to convert to the one of a camera

But it is hard to convert orientation from an aircraft to a ground because each has 3-axis, which means it causes gimbal lock

The gimbal(especially in DJI) fix the roll(xy plane) it is easy to convert orientation because the fixed roll makes the conversion of 2D coordinate system

So I used only orientation of a gimbal, it removes 1D in orientation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants