Read the live mission-elapsed-time register written by the control loop.
(api_client)
| 23 | |
| 24 | |
| 25 | def _mission_clock(api_client) -> float: |
| 26 | """Read the live mission-elapsed-time register written by the control loop.""" |
| 27 | result = api_client.command( |
| 28 | "project.dataTable.getValue", {"table": "Flight", "name": "met"} |
| 29 | ) |
| 30 | return float(result["value"]) |
| 31 | |
| 32 | |
| 33 | def _start_demo_and_wait(api_client, timeout: float = 15.0) -> float: |
no test coverage detected