Skip to content

Commit

Permalink
Merge pull request #2 from AD-SDL/casey-dev
Browse files Browse the repository at this point in the history
wait times for load and unload incubator
  • Loading branch information
caseystone authored Apr 20, 2023
2 parents 79cec4c + 31a8fd7 commit 426cec5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions liconic_client/liconic_client/liconic_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def actionCallback(self, request, response):
response.action_msg = "Error: cannot load liconic. No plate on transfer station"
else:
self.liconic.plate_handler.move_plate_from_transfer_station_to_slot(stacker, slot)
sleep(20) # wait for action to finish
response.action_response = 0
response.action_msg = "Plate loaded into liconic stack " + str(stacker) + ", slot " + str(slot)
except Exception as error_msg:
Expand Down Expand Up @@ -292,6 +293,7 @@ def actionCallback(self, request, response):
if not self.liconic.plate_handler.transfer_station_occupied:
# complete action
self.liconic.plate_handler.move_plate_from_slot_to_transfer_station(stacker, slot)
sleep(18) # wait for plate to unload
# log if plate is now on transfer station
if self.liconic.plate_handler.transfer_station_occupied:
self.get_logger().info("Liconic transfer station occupied")
Expand Down

0 comments on commit 426cec5

Please sign in to comment.