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

Fix errors in coordinate transformation and field creation #45

Closed
wants to merge 1 commit into from

Conversation

rodja
Copy link
Member

@rodja rodja commented May 7, 2024

This pull request fixes the coordinate transformation from WGS84 to cartesian coordinates. The error can be reproduced on main branch like this:

  • open the field planner
  • create a new field with the leaflet polygon editor
  • switch to main page
  • start mowing automation

Expected: the robot drives inside the drawn polygon on the map.
Actual: the robot drives the same shape but somehow mirrored/ofsetted from the polygon on the map.

@rodja rodja added the bug Something isn't working label May 7, 2024
@rodja rodja added this to the 0.2.0 milestone May 7, 2024
@rodja rodja requested a review from LukasBaecker May 7, 2024 04:00
@rodja rodja marked this pull request as draft May 7, 2024 04:30
@rodja rodja assigned rodja and unassigned rodja May 7, 2024
@rodja
Copy link
Member Author

rodja commented May 7, 2024

Oh, while it works for simulation the current change does not fix the issue with real hardware.

@rodja
Copy link
Member Author

rodja commented May 19, 2024

This is fixed with #52 by improving the "shift" operation used in the simulation.

@rodja rodja closed this May 19, 2024
@Johannes-Thiel Johannes-Thiel deleted the coordinate-transformation branch October 21, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant