-
Notifications
You must be signed in to change notification settings - Fork 37
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
Refactor naming of type of mission tasks for the case of return to home #1373
Refactor naming of type of mission tasks for the case of return to home #1373
Conversation
🔔 Changes in database folder detected 🔔 |
@@ -203,6 +203,6 @@ public enum MissionTaskType | |||
{ | |||
Inspection, | |||
Localization, | |||
DriveTo | |||
ReturnHome |
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.
Does this remove the ability to have DriveTo tasks, ie. tasks where we tell the robot to go somewhere, but we don't give it a target? I think there are several use-cases for these, and DriveTo is already supported in some Isar implementations. Could we instead add a new task type?
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 checked this with Afonso, DriveTo was created specifcally for the return to home functionality and it is not used anywhere in the code that is not related to return to home. At the time he wanted to change the name but went on vacation/offshore before he could do the refactor
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.
That is odd, since missions from echo use it in other parts of their missions. I think we may need to have a bigger discussion around this.
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.
Sorry, it seems I have misunderstood. I see now that this renaming will not affect the naming in the IsarTask
@@ -203,6 +203,6 @@ public enum MissionTaskType | |||
{ | |||
Inspection, | |||
Localization, | |||
DriveTo | |||
ReturnHome |
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.
Sorry, it seems I have misunderstood. I see now that this renaming will not affect the naming in the IsarTask
e010488
to
9732c0c
Compare
9732c0c
to
3751a6f
Compare
🔔 Migrations changes detected 🔔 |
/UpdateDatabase |
👀 Running migration command... 👀 |
✨ Successfully ran migration command! ✨ |
Closes #1350