Skip to content

add redirect flag - #129

Merged
Gonzalo-Mier merged 10 commits into
Fields2Cover:mainfrom
ar0ser0:flag-to-redirect-swaths-in-genRoute
May 17, 2024
Merged

Gonzalo-Mier merged 10 commits into
Fields2Cover:mainfrom
ar0ser0:flag-to-redirect-swaths-in-genRoute

Conversation

@ar0ser0

@ar0ser0 ar0ser0 commented Apr 30, 2024

Copy link
Copy Markdown

Adds a flag to change the direction (or not) of the given swaths to genRoute(). This is useful if you care about the swath pattern/direction. This will allow users to use SingleCellSwathsOrderBase class with genRoute(). This does not enforce order, but it does enforce the pattern (direction).

@Gonzalo-Mier Gonzalo-Mier left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ar0ser0, thanks for the PR. It's a great idea and I would love to include it soon. Before merging, I have added some comments. Moreover, I miss some tests and documentation about the new capabilities of the class

@ar0ser0

ar0ser0 commented May 2, 2024

Copy link
Copy Markdown
Author

@Gonzalo-Mier I made some changes based on your comments.

@Gonzalo-Mier Gonzalo-Mier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a test to make sure it works as expected?

@Gonzalo-Mier

Copy link
Copy Markdown
Member

Hi @ar0ser0, can you solve the previous request of adding some tests to check everything works as expected?

@ar0ser0

ar0ser0 commented May 16, 2024

Copy link
Copy Markdown
Author

ok i added a test that follows what was done in the simple test of fields2cover_rp_route_plan_base but now includes the redirect flag=false and checks for directions being the same for each swath

@ar0ser0
ar0ser0 requested a review from Gonzalo-Mier May 16, 2024 22:04
@Gonzalo-Mier

Copy link
Copy Markdown
Member

Awesome! Thank you for the PR @ar0ser0

@Gonzalo-Mier
Gonzalo-Mier merged commit fc35541 into Fields2Cover:main May 17, 2024
AronMeyn pushed a commit to AronMeyn/Fields2Cover---tryouttool that referenced this pull request Sep 12, 2025
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

Successfully merging this pull request may close these issues.

2 participants