Skip to content

v0.12.0

Choose a tag to compare

@Jepson2k Jepson2k released this 04 Sep 02:20
· 124 commits to main since this release
60e96e7

Everything since v0.6.2, the last release. Six minor versions landed as tags without notes; this collects them. Pre-1.0, so every breaking change is a minor bump.

Breaking changes

  • The Plane shape is gone (v0.12.0). A half-space is the one collision primitive coal cannot prune against a link's mesh hierarchy, so a single check cost roughly 35 ms against 25 us for a box, and backends converted it to a bounded box anyway. Nothing physical is unbounded. The vocabulary is now box, sphere, cylinder, capsule, cone and ellipsoid. Drop Plane imports; a persisted plane now raises on load.
  • shape_from_wire refuses an unknown kind with ValueError (v0.12.0) instead of leaking KeyError. Decoding is where version-skewed data arrives, and callers already guard it that way for every other malformed-wire case.
  • halt and resume became stop, estop and reset on the client abstract base class (v0.7.0), and safety_stop() was dropped (v0.9.0).
  • Freedrive is the contract, not gravity compensation (v0.9.0). StatusBuffer.freedrive is a read-only property, as mode is, so a backend can derive it from its own state instead of storing it. min_clearance_m went unconsumed and was removed, and torques are named for what they are.
  • Sync tool wrappers are composition, not inheritance (v0.11.0). Every tool is wrapped now, a metadata-only spec included, and an async verb the wrapper has never heard of still runs through the caller's loop instead of coming back as an un-awaited coroutine. v0.11.1 restored the typed SyncGripperTool, SyncPneumaticGripperTool and SyncElectricGripperTool declarations on top, so the surface stays statically typed; v0.12.0 added stop and release to them.

Status surface

  • Controller state, warnings, bus health, homing and torques joined StatusBuffer (v0.9.0), with homed declared on the contract earlier (v0.7.0) and drive and loop health added in v0.12.0.
  • mode is a read-only property so a backend's own enum subclass satisfies the protocol, which a plain attribute could not.

Payload

  • set_payload, payload and estimate_payload on the client abstract base class (v0.11.0). Estimation is categorised as motion, because it swings the wrist. It was briefly named identify_payload.

Errors

  • RobotError is shared across backends (v0.11.1), so a frontend represents a refusal the same way whichever arm raised it. It serialises back to the wire and survives pickling (v0.11.2), which a dataclass replace on an exception does not.

Also

  • home(calibrate=) declared on the client, and py.typed shipped (v0.10.0).
  • Panel metadata separates declared size from resize-ability (v0.8.0).
  • DryRunClient.flush is covariant in its result type (v0.9.0).
  • build/ untracked; it had been shipping stale code to every consumer (v0.9.0).