Repository navigation
Releases
v0.16.0
v0.15.0
Everything since v0.14.0: PR #37, which spells out the behaviour every backend must share, so parol6 and par6 answer the same call the same way. PAROL6 PR #52 targets this release. Pre-1.0, so the minor bump covers the changed defaults and units below.
Breaking changes
- Planned moves default to half speed.
move_j,move_l,move_c,move_sandmove_ptakeduration: float = 0.0, speed: float = 0.5, accel: float = 0.5. Adurationabove 0 times the move andspeedis not used; otherwisespeeddoes, so every move has a timing. Negative, NaN or infinite values, andspeed/acceloutside(0, 1], raiseValueErrorbefore anything is sent. For Cartesian movesspeedalso caps TCP linear speed. Servo streams default to half speed and half accel, jogs to half accel. - Electric grip current is a fraction.
ElectricGripperTool.set_position,openandcloseare now abstract and takespeedandcurrentas fractions in[0, 1], withcurrentspanningcurrent_range; both default to 0.5.default_currentis gone.GripperSettings.currentis a percent (default 50), andadjust_stepis in percent points. - Joint speeds are deg/s, like joint angles (
StatusBuffer.speeds,Joints.speeds). motion_profilesis exactly whatselect_profileaccepts, spelled the way it takes them. The base default is now("LINEAR",).
Shared contract
- Return codes follow the
@commandmarker, not the palette category.write_io,tool_action,checkpoint,delay,select_toolandset_tcp_offsetreturn queue indices, jogs and servo streams return 1 once sent, andestimate_payloadreturns its estimate. An unknown keyword raisesTypeError, with or withoutwait. - Cancellation has a name.
MOTN_CANCELLEDandMOTN_NOT_HOMEDare exported.stop,estop,teleportandreset_statediscard the queue, and every command they discard fails withMOTN_CANCELLED.wait_commandraises aRobotErrorwhose newcancelledproperty tells a halt apart from a refusal. SYSTEM commands may now be markedcancels. - Stop and reset.
stop()brakes to a held pose.reset_state()leaves the e-stop latch, the homed state and the outputs alone, and restores the default motion profile and execution speed. - Frames and blending. TRF poses are always tool-frame offsets, and a WRF relative rotation turns the tool about the TCP.
move_c's blend radius rounds into a followingmove_l/move_c. - Homing.
teleportmarks the arm homed. Onlyjog_j,homeandteleportmove an unhomed arm. - Status.
IO.estopreports the physical safety chain only: a softwareestop()never sets it.action_currentis the snake_case method name, empty when idle.status().tool_statusis neverNone, and TOPPRA is the startup profile.
v0.14.0
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_transformandtcp_transform(#29), and execution speed selection and readback with explicitpause()andresume()(#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).
@skillgives 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. Optionalwaldoctl.skillsentry 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.digitalonce they honour them, and preview clients advertiseexecution.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.
ExecutionSpeeddistinguishes 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.
v0.12.0
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
Planeshape 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. DropPlaneimports; a persisted plane now raises on load. shape_from_wirerefuses an unknown kind withValueError(v0.12.0) instead of leakingKeyError. Decoding is where version-skewed data arrives, and callers already guard it that way for every other malformed-wire case.haltandresumebecamestop,estopandreseton the client abstract base class (v0.7.0), andsafety_stop()was dropped (v0.9.0).- Freedrive is the contract, not gravity compensation (v0.9.0).
StatusBuffer.freedriveis a read-only property, asmodeis, so a backend can derive it from its own state instead of storing it.min_clearance_mwent 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,SyncPneumaticGripperToolandSyncElectricGripperTooldeclarations on top, so the surface stays statically typed; v0.12.0 addedstopandreleaseto them.
Status surface
- Controller state, warnings, bus health, homing and torques joined
StatusBuffer(v0.9.0), withhomeddeclared on the contract earlier (v0.7.0) and drive and loop health added in v0.12.0. modeis a read-only property so a backend's own enum subclass satisfies the protocol, which a plain attribute could not.
Payload
set_payload,payloadandestimate_payloadon the client abstract base class (v0.11.0). Estimation is categorised as motion, because it swings the wrist. It was briefly namedidentify_payload.
Errors
RobotErroris 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 dataclassreplaceon an exception does not.
Also
home(calibrate=)declared on the client, andpy.typedshipped (v0.10.0).- Panel metadata separates declared size from resize-ability (v0.8.0).
DryRunClient.flushis covariant in its result type (v0.9.0).build/untracked; it had been shipping stale code to every consumer (v0.9.0).
v0.6.2
v0.6.1
v0.6.0
v0.5.0
v0.3.0: Merge pull request #3 from Jepson2k/refactor/commander-public-api
introduce Commander locator + public state API