albertaloop / GUI

0 stars 0 forks source link

Add state transitions to command test in mockpod_udp.py #2

Open Iyury1 opened 1 year ago

Iyury1 commented 1 year ago

The GUI will not issue commands to the pod unless the pod is in the correct state. See the state machine flow chart for allowable state transitions. image

For a transition to properly occur, certain conditions must be met. In this test, we will assume that the conditions are always met, so transitions requested by GUI commands will immediately occur.

This test must include both command and telemetry functionality, so the GUI can obtain the correct state information from the telemetry message. Change main.py as necessary to detect state changes from telemetry messages.