-
Couldn't load subscription status.
- Fork 1
Partial update to ros2 #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
base: smit
Are you sure you want to change the base?
Partial update to ros2 #4
Conversation
Signed-off-by: Adam Krawczyk <[email protected]>
|
I assume the branch should be different but there is no ros2 branch - please retarget the base. |
| self.queue[added] = da | ||
| self.lock.release() | ||
|
|
||
| def removeDA_no_lock(self, da): |
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.
Dlaczego usunąłeś removeDA_no_lock i removeDA? One są wołane w tym pliku.
| def updateScheduleParams(self, da_id, scheduleParams): | ||
| # type: (int, ScheduleParams) -> None | ||
| self.lock.acquire() | ||
| if self.isExecuting(): |
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.
Dlaczego to zostało zmienione?
| def updateDAState(self, da_id, da_state): | ||
| # type: (int, ScheduleParams) -> None | ||
| self.lock.acquire() | ||
| if self.isExecuting(): |
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.
Dlaczego to zostało zmienione?
| # print("\nSCHEDULE\n") | ||
| def schedule(self): | ||
| self.lock.acquire() | ||
| if self.isExecuting(): |
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.
Dlaczego ten blok został usunięty?
| return DA[1]["da_type"] == "human_fell_tasker" and DA[1]["priority"] != float('-inf') | ||
|
|
||
| def filterDA_BJ(self, DA): | ||
| if self.debug ==True: |
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.
Dlaczego debug został usunięty?
| # print("\nSCHEDULED\n") | ||
|
|
||
| def filterDA_GH(self, DA): | ||
| if self.debug ==True: |
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.
Dlaczego debug został usunięty?
| return DA[1]["da_type"] == "bring_jar_tasker" and DA[1]["priority"] != float('-inf') | ||
|
|
||
| def filterDA_MT(self, DA): | ||
| if self.debug ==True: |
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.
Dlaczego debug został usunięty?
Signed-off-by: Adam Krawczyk <[email protected]>
Signed-off-by: Adam Krawczyk <[email protected]>
Signed-off-by: Adam Krawczyk <[email protected]>
Signed-off-by: Adam Krawczyk <[email protected]>
Signed-off-by: Adam Krawczyk <[email protected]>
update to ros2