-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fixing Follow Crop Navigation #103
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rodja
added a commit
that referenced
this pull request
Jul 15, 2024
Closed
LukasBaecker
added a commit
that referenced
this pull request
Jul 17, 2024
* always use gray background color for simulated usb cam * improve readability * improve camera augmentation to display tool and relevant weeds * fix plant filter which compared local and global coordinates * also visualize "weeds to handle" from implement * formatting * remove obsolete "advancing" hack * ensure we are not multi-punching the same position * more debug rendering * make weeds to handle visualization optional * always use gray background color for simulated usb cam * improve readability * improve camera augmentation to display tool and relevant weeds * fix plant filter which compared local and global coordinates * also visualize "weeds to handle" from implement * formatting * remove obsolete "advancing" hack * ensure we are not multi-punching the same position * more debug rendering * make weeds to handle visualization optional * reorder camera_card init * add type annotations * use deque for last punches * remove debug logging * fix crop prediction * do not use project_to_image on real robots because the camera is not correctly transformed yet * add a test for a real life scenario where the robot will not move * fix non moving robot * add max_crop_distance setting * request backup on screw settings change * add more test cases where weeding screw does not advance anymore * improved readability * fix weeding screw approach * fix test weed position * fix copy paste error * fix cultivated_crop test * add check for next_weed_id in weeds_to_handle * Move _keep_crops_safe to _has_plants_to_handle * add check for negative stretch distance * adapt other navigations to changes * move crop_safety_distance to weeding_implement * fix weeding edge case * wip: adapt tornado to changes * drive backwards in test because its more efficient * provide more debug infos in camera card * move clearing of simulation and plant provider to navigation * cleanup * forgot member variable * simulation after clearing * get rid of "observe" and "parallel" * dont remove simulated_objects in test to fix #9bfbc97 * make test more robust * move last_punches and next_punch_y_position to weeding_implement * wip: adapt tornado * fix skipping weeds close to already punched locations * fixed output formatting * more weed separation to better target close standing plants individually * fix last punches exclusion test * fix tornado weed removal in simulation * formatting * wording * move punch dialog into weeding implements to simplify architecture * cleanup Co-authored-by: Pascal Schade <165774906+pascalzauberzeug@users.noreply.github.com> * cleanup Co-authored-by: Pascal Schade <165774906+pascalzauberzeug@users.noreply.github.com> * remove unused camera_card * rename and move max parameter * add default drive distance as constant * cleanup * first proof of sub-centimeter straight line driving * use wheels.pose in simulation so we can simulate slippage with rosys pull request zauberzeug/rosys#146 * cleanup * stay as good as possible on the once defined straight line this was inspired by the works in #96 and makes that pull request obsolete * picked relevant code from #103 * ordered tests * better termination for straight line nav, rosys.sleep to fix flakyness and method split to prepare universal use * better variable naming * add test to ensure we can follow crops with slippage * fix yaw computation and use "drive to yaw" when following crops * fix tests --------- Co-authored-by: Pascal Schade <pascal@zauberzeug.com> Co-authored-by: Pascal Schade <165774906+pascalzauberzeug@users.noreply.github.com> Co-authored-by: Lukas Baecker <baecker.lukas@outlook.de>
Should we close this PR @LukasBaecker? |
@LukasBaecker @rodja I think we can drop the changes, but should keep the tests! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Due to multiple problems that arose using the follow crop navigation, it needs to be refactored.
ToDo: