You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to check if a certain object is visible from the drone's perspective.
We tried using the line of sight methods (and had a hard time understanding how to create the correct GeoPoint object to pass to the methods), but had no success using it.
We followed the mini-test that is supplied in line_of_sight.py, and tried to run the same check but we get False answer.
Are we missing something?
P.S - We saw that the original test that was supplied makes a comparison between the same object (because after the assignment 'target = home', both objects refer to the same object, and therefore when the target latitude is changed, the home latitude changes as well), so probably that's why our test returned different result than yours.
Thanks!
Bug report
What's the issue you encountered?
We're trying to check if a certain object is visible from the drone's perspective.
We tried using the line of sight methods (and had a hard time understanding how to create the correct GeoPoint object to pass to the methods), but had no success using it.
We followed the mini-test that is supplied in line_of_sight.py, and tried to run the same check but we get False answer.
Are we missing something?
P.S - We saw that the original test that was supplied makes a comparison between the same object (because after the assignment 'target = home', both objects refer to the same object, and therefore when the target latitude is changed, the home latitude changes as well), so probably that's why our test returned different result than yours.
Thanks!
Settings N/A
How can the issue be reproduced?
https://gist.github.com/abuchnick/60404647e59c58f09acdd0d9da293848
Include full error message in text form
What's better than filing an issue? Filing a pull request :).
The text was updated successfully, but these errors were encountered: