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

Gain calculation different in paper #10

Open
mnksnz opened this issue Apr 9, 2021 · 0 comments
Open

Gain calculation different in paper #10

mnksnz opened this issue Apr 9, 2021 · 0 comments

Comments

@mnksnz
Copy link

mnksnz commented Apr 9, 2021

Hi,

Thank you for the source code of the aeplanner. :) I have a question regarding the gain calculations. In aeplanner.cpp in function gainCubature, you perform three for loops corresponding to the summations given in equation 6 in the paper. But.. with different upper and lower bounds. For instance, in the paper the azimuth angle, theta, ranges from yaw - fov_theta/2 and yaw + fov_theta/2 but in the code, theta ranges from -180 to 180. Similarly, in the paper the polar angle, phi, ranges from -fov_phi/2 to +fov_phi/2 where as in the code phi ranges from 90-fov_p/2 to 90 + fov_p/2. It is unclear to me why you changed these ranges in the implementation, could you please explain why? Is this due to the specifications of the camera such as FOV limits of the camera or due to the position of the camera on the drone?

Thanks a lot in advance. :)

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

1 participant