-
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
Field Creation Wizard and Field Class Changes #183
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just had a short glance at the PR, but want to share some thoughts:
- code which we not use anymore should be removed not left in a comment (we have git to not loose code)
- I find it quite hard to differentiate between
Field
andFieldParameters
; I think the code would get much simpler if we simply had aField
withfirst_row_start
, first_row_end,
row_spacing, and
row_countwhich are persistent. Whenever they change we would call an internal method
_refreshwhich updates the non-persistent properties
rowsand
points`. - There are still some leftovers like
obstacle
property in Field which we do not need (yet).
I have made changes according to your feedback. Now there seems to be an error when creating a field. The first field is created correctly, but the following ones have errors in the calculation of the rows and the perimeter, which I need to solve. |
Fixed. |
…t needed backup file
…will run these tests
Applied changes according to your feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on F13, approved!
In the course of planning the new field navigation #180 , the wizard for creating fields will be updated and will be accessible from the start page (the field_planner will be deactivated temporary). In addition, fields will be saved differently from now on. Only the AB line and a few field parameters will be saved persistently. Rows and the perimeter of the field will from now on be calculated dynamically from the parameters. For now we concentrate on only one field for one robot. Also, obstacles will be added in future and are neglected.
Todos: