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

Wildlife Encounter and Avoid Task does not provide correct spherical coordinates #420

Closed
alexperez33 opened this issue Jan 25, 2022 · 1 comment

Comments

@alexperez33
Copy link
Contributor

It appears the spherical coordinates provided by the wildlife encounter and avoid task topic /vrx/wildlife/animals/poses do not correspond with the locations of the actual animals. After some investigation, it appears that the poses provided in the wildlife_task.world.xacro file seem correct. But when converted to spherical coordinates in the SphericalFromLocal function within the wildlife_scoring_plugin.cc, the poses no longer seem to correspond to that of the animals.

One way of showing this is by typing in the topic's latitude and longitude into this website: https://www.latlong.net/lat-long-utm.html. Moreover, when converting the provided latitude and longitude to a pose in reference to enu, I am provided with a pose that corresponds to that of the website above, not the actual animals.

Please let me know if I am missing something.

@j-herman
Copy link
Collaborator

Closing this issue based on merge of #428. The topic is now publishing the correct lat/ long.

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