nx_moonraker_motion_parse_test.nx
buildroot/runtime/nx_moonraker_motion_parse_test.nx
about
nx_moonraker_motion_parse_test.nx -- motion_report -> Q14 fields.
Closed-form invariants:
(a) Bad inputs -> BAD_INPUT
(b) No motion_report -> NO_OBJECT, outputs untouched
(c) Canonical motion_report -> OK, all 5 outputs populated
(d) Float-to-Q14 precision: 120.5 -> 1974272
(e) live_extruder_position overrides position[3]
(f) Negative position handled (e.g. retracted extruder)
(g) Integer-only number (no fraction) handled
(h) Three-digit fractional precision (0.125 -> 2048)
expect_exit: 0
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_moonraker_telemetry_parse.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 19 | const Q14: i64 = 16384 |
functions
| 21 | func cstr_len(s: *u8) -> i64 called by 1: main |
| 27 | func mk_box() -> *i64 |
| 33 | func main() -> i64 |