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

View window's Place-marker appears in wrong spot with non-standard image size #12

Open
rmackay9 opened this issue Sep 27, 2017 · 2 comments

Comments

@rmackay9
Copy link

To recreate the problem do this:

  • run cuav on a set of images which have pixel width and height larger than the default
  • when a region of interest appears in the Mosaic window, click "Show Image"
  • from the "View" window right-click and "Place Marker" somewhere within the blue box
  • on the "Map" view the marker will appear quite far from where the region-of-interest appeared on the map
@ShingoMatsuura
Copy link

ShingoMatsuura commented Sep 27, 2017

I think it needs to pass altitude here.

https://github.com/CanberraUAV/cuav/blob/master/cuav/lib/cuav_mosaic.py#L636

@peterbarker
Copy link

I've pushed up a patch, peterbarker@7643d8b which appears to fix this issue.

geosearch.py --sensorwidth 3.674 --lens 4.0 --minscore 1000 --time-offset 1 --mavlog ../mav.tlog  . --start --roll-stabilised --xresolution=3280 --yresolution=2464

It has made the region registration worse, however; I'm unsure why at this point.

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

3 participants