Skip to content

Commit

Permalink
Merge pull request #10 from AD-SDL/rest_improvements
Browse files Browse the repository at this point in the history
Rest improvements
  • Loading branch information
tginsbu1 authored Aug 10, 2024
2 parents 1de24d8 + e250d0d commit 0722b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sciclops_rest_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def status(state: State):
def home(state: State):
"""Homes the sciclops"""
state.sciclops.home()
return StepResponse.step_succeeded(action_msg="Succesfully Homed Robot")
return StepResponse.step_succeeded()


@rest_module.action(name="get_plate")
Expand All @@ -67,7 +67,7 @@ def get_plate(
):
"""Get a plate from a stack position and move it to transfer point (or trash)"""
state.sciclops.get_plate(pos, lid, trash)
return StepResponse.step_succeeded(action_msg="Succesfully got plate")
return StepResponse.step_succeeded()


rest_module.start()

0 comments on commit 0722b7a

Please sign in to comment.