Skip to content

Commit

Permalink
fixing thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dozgulbas committed Aug 6, 2024
1 parent 427bfe8 commit c3d59b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sciclops_rest_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ def sciclops_startup(state: State):

@rest_module.action(name="status", description="force sciclops to check its status")
def status(state: State, action: ActionRequest):
return StepResponse.step_succeeded(action_msg="Succesfully got status")
return StepResponse.step_succeeded()



@rest_module.action(name="home", description="force sciclops to check its status")
def home(state: State, action: ActionRequest):
state.sciclops.home()
return StepResponse.step_succeeded(action_msg="Succesfully Homed Robot")
return StepResponse.step_succeeded()



Expand All @@ -66,7 +66,7 @@ def get_plate(
):
print(state._state)
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 c3d59b0

Please sign in to comment.