|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| Any | _on_the_line (float|None at) |
| str|None | _reads (Any built) |
| None | test_a_probe_on_a_line_reads_the_end_it_is_clipped_nearer (float at, str end) |
| None | test_a_probe_on_a_line_with_no_position_reads_it () |
| None | test_a_probe_on_a_vehicle_line_stays_with_the_vehicle () |
| None | test_a_probe_on_a_symbol_reads_as_before () |
Variables | |
| str | DRAWING = Path(__file__).resolve().parent / "fixtures" / "le4_rocket_and_gse.json" |
| str | LINE = "node_38-node_36" |
| str | PROBE = "node_30" |
A probe clipped to a line reads the line. pid-designer clips an RTD, a TC or a load cell to a tank, a valve *or a line* (its ``attach.ts``): on a line ``attachedTo`` is the line's id and ``attachedAt`` the fraction of its drawn length from the source end. The twin resolved a clip only against symbols, so a probe on a line read nothing and was reported "not clipped to anything" -- and with the cart cut (``ignore_gse``) it was dropped from the vehicle without a word.
|
protected |
Definition at line 29 of file test_probes_on_lines.py.
Referenced by test_a_probe_on_a_line_reads_the_end_it_is_clipped_nearer(), test_a_probe_on_a_line_with_no_position_reads_it(), and test_a_probe_on_a_vehicle_line_stays_with_the_vehicle().
|
protected |
| None test_probes_on_lines.test_a_probe_on_a_line_reads_the_end_it_is_clipped_nearer | ( | float | at, |
| str | end ) |
Definition at line 45 of file test_probes_on_lines.py.
References _on_the_line(), and _reads().
| None test_probes_on_lines.test_a_probe_on_a_line_with_no_position_reads_it | ( | ) |
Saved before ``attachedAt`` existed: drawn at the line's middle.
Definition at line 54 of file test_probes_on_lines.py.
References _on_the_line(), and _reads().
| None test_probes_on_lines.test_a_probe_on_a_symbol_reads_as_before | ( | ) |
Definition at line 73 of file test_probes_on_lines.py.
References _reads().
| None test_probes_on_lines.test_a_probe_on_a_vehicle_line_stays_with_the_vehicle | ( | ) |
Definition at line 63 of file test_probes_on_lines.py.
References _on_the_line(), and _reads().
| str test_probes_on_lines.DRAWING = Path(__file__).resolve().parent / "fixtures" / "le4_rocket_and_gse.json" |
Definition at line 24 of file test_probes_on_lines.py.
| str test_probes_on_lines.LINE = "node_38-node_36" |
Definition at line 25 of file test_probes_on_lines.py.
| str test_probes_on_lines.PROBE = "node_30" |
Definition at line 26 of file test_probes_on_lines.py.