Skip to content

Conversation

@adamkrawczyk
Copy link

@adamkrawczyk adamkrawczyk commented Oct 15, 2023

update to ros2

Signed-off-by: Adam Krawczyk <[email protected]>
@adamkrawczyk
Copy link
Author

I assume the branch should be different but there is no ros2 branch - please retarget the base.
Before merging there is a need to extensively check if this works as expected

self.queue[added] = da
self.lock.release()

def removeDA_no_lock(self, da):
Copy link
Contributor

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():
Copy link
Contributor

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():
Copy link
Contributor

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():
Copy link
Contributor

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:
Copy link
Contributor

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:
Copy link
Contributor

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:
Copy link
Contributor

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?

@adamkrawczyk adamkrawczyk changed the base branch from main to smit November 24, 2023 08:35
Adam Krawczyk added 5 commits November 24, 2023 10:55
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]>
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