Open duyminh1998 opened 9 months ago
This is important because currently CMOEnv::step
is slow because of the repeated calls to window_exists(window_name="Incoming message")
to check when the scenario has paused after we stepped the environment forwards. If we can implement a quicker check then this will improve the speed that pyCMO
can control the game.
Why
As a
user of
pyCMO
I want
to be able to check when a scenario is running or paused
So that
I can make decisions to either resume or pause the scenario. In addition, the
pyCMO
environment would also benefit from knowing this information more explicitly.Acceptance Criteria
Given
we currently do not check when a scenario is running or paused (we make certain assumptions about the state). The closest we get is the script to check if the "Incoming message" window exists, which implies the scenario is paused.
When
we implement a check for whether the scenario is running or paused
Then
we will improve the reliability of the
pyCMO
environmentNotes