Skip to content

Commit

Permalink
fixing precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
tginsbu1 committed Aug 8, 2024
1 parent 6f41807 commit e250d0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sciclops_rest_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ def sciclops_startup(state: State):
print("SCICLOPS online")
state.status = ModuleStatus.IDLE


@rest_module.action(name="status")
def status(state: State):
"""Action that forces the sciclops to check its status."""
sciclops: SCICLOPS = state.sciclops
sciclops.get_status()
return StepResponse.step_succeeded(action_msg="Succesfully got status")


@rest_module.action()
def home(state: State):
"""Homes the sciclops"""
Expand Down

0 comments on commit e250d0d

Please sign in to comment.