MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / _mission_clock

Function _mission_clock

tests/integration/test_demo.py:25–30  ·  view source on GitHub ↗

Read the live mission-elapsed-time register written by the control loop.

(api_client)

Source from the content-addressed store, hash-verified

23
24
25def _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
33def _start_demo_and_wait(api_client, timeout: float = 15.0) -> float:

Callers 3

_start_demo_and_waitFunction · 0.85

Calls 1

commandMethod · 0.80

Tested by

no test coverage detected