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

Continue on a row #221

Merged
merged 28 commits into from
Nov 26, 2024
Merged

Continue on a row #221

merged 28 commits into from
Nov 26, 2024

Conversation

pascalzauberzeug
Copy link
Contributor

@pascalzauberzeug pascalzauberzeug commented Oct 30, 2024

Currently, the robot wants to start at the nearest end of a row, but that leads to him turning on the row, if the start point is behind him.
This draft switches start and end point if the robot is between them.

I think this should do more than that.
If the robot is directly on a row, it should skip the approach state and just continue weeding
If it's somewhere between two rows, it should not start and display a message for the user to return to a suitable starting position

@pascalzauberzeug pascalzauberzeug added the enhancement New feature or request label Oct 30, 2024
@pascalzauberzeug pascalzauberzeug added this to the 0.7.0 milestone Oct 30, 2024
@LukasBaecker
Copy link
Contributor

I couldn't understand the angle calculation and finish it today. If you like @pascalzauberzeug you can have a look at it. Otherwise I would love to understand it and work on it next week, with your help.

pascalzauberzeug and others added 10 commits November 18, 2024 13:25
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
Co-authored-by: LukasBaecker <65940705+LukasBaecker@users.noreply.github.com>
@pascalzauberzeug
Copy link
Contributor Author

We have to test it with a robot, but the wet soil currently doesn't allow it

@LukasBaecker
Copy link
Contributor

Tested on U5 and is looking very delightful.

@pascalzauberzeug pascalzauberzeug marked this pull request as ready for review November 26, 2024 15:18
@pascalzauberzeug pascalzauberzeug merged commit 3409ff2 into main Nov 26, 2024
2 checks passed
@pascalzauberzeug pascalzauberzeug deleted the dont_turn_on_row branch November 26, 2024 15:57
pascalzauberzeug pushed a commit that referenced this pull request Dec 3, 2024
In PR #221 we implemented the functionality to start the field
navigation from anywhere on the field and inside its safety boundary.
This PR adds test for this functionality

- [x] test: continue on row
- [x] test: do not continue if robot is between rows
- [x] test: do not continue if robot's angle to a endpoint of a row is
to big
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants