Skip to content

v0.14.0

Choose a tag to compare

@Jepson2k Jepson2k released this 18 Sep 03:10
· 14 commits to main since this release
fc65cbb

Everything since v0.13.1: PRs #26–#35, the shared contracts behind Python skills, named setup data, TCP and camera calibration, named signals, execution speed, demonstration recording and held-object geometry. PAROL6 v0.8.0 and the matching Commander changes target this release. Pre-1.0, so the minor bump covers the required-method additions below.

Breaking changes

  • New required client methods. set_tcp_transform and tcp_transform (#29), and execution speed selection and readback with explicit pause() and resume() (#32), are abstract on the client base class, so every backend must implement them. The existing XYZ TCP setter now clears user rotation (#29).

Skills

  • Composable Python skills (#26). @skill gives one implementation a typed sync facade, skill(rbt, ...), and an explicit async entry point, await skill.async_call(rbt, ...); connection ownership stays with the supplied client. Capability checks run before the body, nested invocations publish lifecycle and progress events with parent ids, and cancellation requests a bounded backend stop and blocks further calls from the cancelled invocation. Optional waldoctl.skills entry points discover plugins; broken plugins are diagnosed and duplicate ids exclude every conflicting provider.
  • API compatibility diagnostics (#28). Plugins declare the runtime API they require (default 1). Discovery reports incompatible or broken plugins while unrelated skills stay available, and direct invocation refuses an incompatible API before entering the body.
  • Opt-in argument, result and invocation-context capture (#35). Bounded snapshots for execution observers, with invocation ids exposing the parent skill. Opaque objects, oversized values, non-finite numbers and credential fields get bounded representations.

Named setup data

  • Immutable frames, poses and parameters (#27). Define a fixture once, teach poses relative to it and resolve them to WRF targets; updating the fixture produces a new snapshot whose descendant poses move together. Millimetres and intrinsic XYZ degrees, with a versioned JSON-compatible representation. Cycles, missing references, invalid rigid transforms, non-finite values and deletion of referenced frames are refused.
  • Full TCP calibration (#29). Full TCP transform contracts and setup snapshots that keep tool/variant bindings and measurement provenance. Queued application and readback are explicit; physical geometry stays on the registered tool links.
  • Named digital signals and bounded I/O (#30). A signal binds a logical input or output to backend, channel bank, index, layout and polarity, and snapshots refuse invalid channels or mismatched layouts. Digital reads and writes take optional deadlines; backends advertise io.digital once they honour them, and preview clients advertise execution.preview.
  • Typed camera calibration (#31). Pinhole intrinsics, measurement quality and provenance as immutable setup data. Tool-mounted cameras bind to the backend, tool variant and TCP transform, fixed cameras to a static setup frame; validation refuses changed acquisition or setup bindings before resolving a camera pose.

Execution and observation

  • Execution speed and explicit pause (#32). Queued trajectories slow from 100% to 10%; selecting a speed preserves pause and zero is rejected. ExecutionSpeed distinguishes the selected resume value, the requested target and the applied value, and a pause can be acknowledged before the controller has decelerated to a hold.
  • Timed observations and demonstration recordings (#33). Status carries a session identity and source timestamps, so an application can record cadence, detect missing publications and tell a restarted controller apart. Immutable demonstration, joint/tool sample and gap types; span selection keeps original timestamps and discontinuous recordings are refused for replay.
  • Held-object geometry (#34). Immutable flange-relative attachments with explicit context tokens and exact allowed-contact names. Shape readback reports the current attachment context and whether every declaration still matches it; saved world documents keep declarations without restoring a controller context. Attached geometry must collide and cannot declare physical-body simulation. Existing unattached shapes are unchanged.