Skip to content

Method simTestLineOfSightBetweenPoints doesn't work (AirSim Python - Multirotor) #4047

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

Open
abuchnick opened this issue Sep 30, 2021 · 0 comments
Labels
api bug-report for issues filed as bug reports

Comments

@abuchnick
Copy link

Bug report

  • AirSim Version/#commit: 1.6.0
  • UE/Unity version: 4.25.4
  • autopilot version: N/A
  • OS Version: Windows 10 x64

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!

image

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 :).

@jonyMarino jonyMarino added api bug-report for issues filed as bug reports labels Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug-report for issues filed as bug reports
Projects
None yet
Development

No branches or pull requests

2 participants