Skip to content
Snippets Groups Projects
Commit d1a046d8 authored by Drew Devereux's avatar Drew Devereux
Browse files

0.6.5 observation state machine fix

parent d6363294
No related branches found
No related tags found
No related merge requests found
release=0.6.4 release=0.6.5
tag=lmcbaseclasses-0.6.4 tag=lmcbaseclasses-0.6.5
...@@ -25,6 +25,10 @@ The lmc-base-classe repository contains set of eight classes as mentioned in SKA ...@@ -25,6 +25,10 @@ The lmc-base-classe repository contains set of eight classes as mentioned in SKA
## Version History ## Version History
#### 0.6.5
- Fix to observation state machine: allow Abort() from RESETTING observation
state
#### 0.6.4 #### 0.6.4
- Refactor state machine to use pytransitions library. - Refactor state machine to use pytransitions library.
- Minor behavioural change: Off() command is accepted in every obsState, rather - Minor behavioural change: Off() command is accepted in every obsState, rather
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"""Release information for lmc-base-classes Python Package""" """Release information for lmc-base-classes Python Package"""
name = """lmcbaseclasses""" name = """lmcbaseclasses"""
version = "0.6.4" version = "0.6.5"
version_info = version.split(".") version_info = version.split(".")
description = """A set of generic base devices for SKA Telescope.""" description = """A set of generic base devices for SKA Telescope."""
author = "SKA India and SARAO and CSIRO" author = "SKA India and SARAO and CSIRO"
......
...@@ -404,6 +404,7 @@ class ObservationStateMachine(Machine): ...@@ -404,6 +404,7 @@ class ObservationStateMachine(Machine):
"source": [ "source": [
ObsState.IDLE.name, ObsState.CONFIGURING.name, ObsState.IDLE.name, ObsState.CONFIGURING.name,
ObsState.READY.name, ObsState.SCANNING.name, ObsState.READY.name, ObsState.SCANNING.name,
ObsState.RESETTING.name,
], ],
"trigger": "abort_started", "trigger": "abort_started",
"dest": ObsState.ABORTING.name, "dest": ObsState.ABORTING.name,
......
...@@ -189,6 +189,11 @@ ...@@ -189,6 +189,11 @@
"obs_reset_failed", "obs_reset_failed",
"FAULT" "FAULT"
], ],
[
"RESETTING",
"abort_started",
"ABORTING"
],
[ [
"RESETTING", "RESETTING",
"fatal_error", "fatal_error",
......
...@@ -494,6 +494,11 @@ ...@@ -494,6 +494,11 @@
"obs_reset_failed", "obs_reset_failed",
"FAULT" "FAULT"
], ],
[
"RESETTING",
"abort_started",
"ABORTING"
],
[ [
"RESETTING", "RESETTING",
"fatal_error", "fatal_error",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment