Skip to content

Commit

Permalink
deleting timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBaecker committed Sep 9, 2024
1 parent 9cf4936 commit 146be55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion field_friend/automations/implements/weeding_implement.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ async def deactivate(self):
self.kpi_provider.increment_weeding_kpi('rows_weeded')

async def start_workflow(self) -> None:
await rosys.sleep(2) # wait for robot to stand still
# TODO: only sleep when moving
# await rosys.sleep(2) # wait for robot to stand still
if not self._has_plants_to_handle():
return
self.log.info(f'Handling plants with {self.name}...')
Expand Down
2 changes: 1 addition & 1 deletion field_friend/automations/puncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def punch(self,
rosys.notify('homing failed!', type='negative')
self.log.error('homing failed!')
raise PuncherException('homing failed')
await rosys.sleep(0.5)
# await rosys.sleep(0.5)
if isinstance(self.field_friend.y_axis, ChainAxis):
if not self.field_friend.y_axis.min_position <= y <= self.field_friend.y_axis.max_position:
rosys.notify('y position out of range', type='negative')
Expand Down

0 comments on commit 146be55

Please sign in to comment.