Skip to content

v0.5.3

Choose a tag to compare

@github-actions github-actions released this 18 Nov 09:36
· 3 commits to main since this release

Lockwire 0.5.3 is the public launch release. It checks more kinds of robot, says more when it cannot check something, and the desktop app has one Assistant panel in place of two. It includes everything built since 0.5.1.

Before you upgrade

  • An accepted closed-loop holding-torque finding must be accepted again: the refined search changes its pose and wording, so the old accept row no longer matches it.
  • The verdict line and each finding now use a colon where they used a long dash. A failing check now prints NO-GO: 2 violation(s), 2 warning(s), and a passing one prints for example GO: records agree (10 scored); 12 check(s) not scored. Anything that parses the old line, such as a script or a test, must change. The JSON output keeps every field it had and gains new ones (for example missing_inputs, and advice in the counts); the verdict words and the exit codes are unchanged. The scored line is reworded (see Check a robot). Other printed output no longer uses long dashes either.
  • The verdict line now counts advice, a finding whose limit is not yet sourced and stays outside the verdict, for example GO: records agree (1 scored), 1 advice (not yet sourced, outside the verdict) or GO with notes: 1 warning(s) · 1 advice (not yet sourced, outside the verdict). The verdict word and the exit code do not change, but a script that reads the line must allow the new part.
  • A lock that uses a per-part mass tolerance, or a robot with meshes in a sibling ROS package, cannot be read by Lockwire 0.5.1 or earlier. They stop with "unknown key" and exit 2. Upgrade every place that reads the lock (teammates, CI) first. A lock without these is unchanged.
  • lockwire what-if now exits 1 when the answer after the change is NO-GO, and prints a short before-and-after answer. For the full JSON use --json -.
  • A legged robot now gets a standing-load check when its feet are found, either by a collision named foot or by links named foot or toe. A robot that was GO can show more warnings (ANYmal D stays GO and shows 6 warnings instead of 3). It becomes NO-GO only when a joint is over its limit at the drawn pose with all feet down. The peak holding torque of a closed-loop joint can print higher, because the search now refines around the worst pose. A pass can become a violation.
  • A model file that is a pipe or a device now refuses with exit 2 at check, check-sim, start and describe instead of hanging. A model file that exists but cannot be read refuses with exit 2.
  • A lock made by Lockwire 0.5.1 or earlier from an SDF file with a posed joint is a NO-GO until you re-lock it: the links below that joint now read as changed. check says so and prints the re-lock command. A lock of a URDF with a follower (mimic) joint should be re-locked once too.
  • Lockwire now needs numpy 2.4.6 or newer, where it needed 2.5.1. Nothing else about installing changes.
  • The old Agent tab is gone. The side drawer has the Assistant and a Terminal. The token and dollar count and the app's own grouping of findings by cause in "Review my robot" went with it; the Assistant now groups by cause itself.
  • If you ran lockwire agent-setup with an earlier version, your .pre-commit-config.yaml still pins an old Lockwire that may not read new lockfiles. Change its rev: to v0.5.3. Running lockwire agent-setup again names that line and the new value; it does not edit the file.
  • An accept written by 0.5.3 is not recognised by 0.5.1 or earlier: lockwire check there reopens the finding. Upgrade every place that reads the lockfile (teammates, CI, pre-commit pins) before you accept with 0.5.3.
  • lockwire agent-setup --claude now writes its edit hook to .claude/settings.local.json, the settings file for this machine only, not the committed .claude/settings.json. Running it again moves a hook an earlier version left in .claude/settings.json and leaves the rest of that file as it was, unless that file was edited by hand: then it names the entry to delete. Add .claude/settings.local.json to .gitignore.

Check a robot

  • Legged robots get a standing-load check: foot forces with all feet down, a diagonal pair and one leg, and joint torques over each leg's poses. Feet are found by a collision named foot or by links named foot or toe, and the warnings come grouped, one for each kind of stance.
  • Each link and device can carry a mass tolerance (a percent, a plus-or-minus mass, or a min and max). check passes a mass inside the band, describe shows it, and declare can write it.
  • check --mass now counts its mass comparisons on the scored line: a mass that matches the sheet adds to "add up", and one that does not adds to "do not".
  • The scored line adds up to its total, with a scored comparison that warns counted as "warn", and names every warning and violation outside it at its end, for example "2 other violation(s) · 1 other warning(s)". Its warnings and violations together match the verdict's counts.
  • lockwire start <name> takes a robot_descriptions name, for example ur5e or go2, and needs lockwire[robots]. It copies the robot's model file and meshes into the current folder, and the lockfile holds no path from your machine. The names lockwire catalog robots lists (such as turtlebot3-burger) are datasheet records, not models: start refuses them and says which names work.
  • Witness levels print as words, for example "none named (declared, not measured)", in place of codes like w0.
  • A witness name is refused when it is written if it spans more than one line, holds < or >, or runs past 80 characters. A lock that already holds such a name still opens.
  • A --note can span more than one line, and the lockfile stays valid.
  • --source must be one line: a line break in it is refused when it is written. A lock that already holds one still opens.
  • check --all says how far a value is off and what limit it is held to in plain words, for example "off by +17.10 W, +114%", "1.8 times that" and "the safe current for this wire".
  • describe names each family as "Name (id)" and says "no source recorded" where a value has none. blame names each row in words, marks a change not yet in git "not committed yet", and outside git says in one line that no row names a commit.
  • Identical accepted findings print as one line with a count, for example "accepted: 6 checks (first: devices/dev.servo.left-hip-yaw/power/rail; --all lists each): ..." in the humanoid example, where 0.5.1 printed each one; check --all and --json still list each.
  • describe writes a rail line as "rail.5v capacity: ..." where it wrote "rail rail.5v capacity: ...", and the wires table in SYSTEM.md gets a "between" column and says the run in words ("in free air").
  • A lockfile that does not load names the field as a path and says what is wrong, for example topology/rails/0/capacity is missing.
  • lockwire agent-setup pins the pre-commit hook to the Lockwire that runs it, and names an older pin it finds without editing it.
  • lockwire what-if prints the verdict before and after, one row per quantity that changed, and the change you asked about.
  • One "what is missing" summary lists the inputs a check could not use, each with an instruction that works when followed.
  • Meshes in a sibling ROS package are recorded and compared, and a mesh that cannot be found says which folder layout it expected.
  • A payload that no joint's holding torque carries gets one note line.
  • Closed-loop mechanisms: the worst pose is found by refining the grid, check --all lists every pose that got no number with a reason, and every limit of the support refuses in plain words, with a guide.
  • check-sim honours a part's mass tolerance.
  • add battery --chemistry records the chemistry in the lock. A value that is not li-ion, lipo, lifepo4, nimh or lead-acid is refused.
  • export --format urdf writes a recorded mimic relation and names revolute and prismatic joints that have no effort or velocity limits.
  • The brown-out check reads wire resistance without copying the parts catalog many times, so it runs faster.
  • The edit hook uses a lockwire only if it runs, so a stale launcher left by an old install is skipped for the next one that works.
  • The parts catalog has the Espressif ESP32-DevKitC (espressif.esp32-devkitc), with its 5 V supply and minimum supply current from Espressif's own documents; catalog parts esp32 and add device --part find it.
  • One word for a check that had nothing to compare: "not scored". check heads its list "Not scored (N):" where it printed "Not compared yet (N):", and check-sim, the CI job summary, --format github and the HTML report say "not scored" too.
  • lockwire what-if no longer needs --witness: a what-if writes nothing. A name you do give is still checked.

Reports

  • The exported PDF is a real report: the verdict and counts, the findings with their fixes, what is not scored, and no machine path. It used to hold only the wiring drawing and the connection graph.
  • --redact-paths leaves no folder or user name in a shared report, including encoded paths.
  • The report's Power tab is left out when the robot declares no power.
  • lockwire report with no --out writes <lockfile name>-report.html beside the lockfile and says whether it wrote or replaced it.
  • (Pro) File, Export has plate drawings in SVG and DXF.

The Assistant

  • One panel. It shows the check's verdict with a count of violations, a list of findings with a button to show each on the robot, and one Apply button. Answers are plain text.
  • It reaches much more of the engine: part swap, catalog search, the parts-list matcher, system and device descriptions, the robot graph, and files inside the robot's folder (a PDF is read as a document).
  • The verdict it quotes is the engine's, asked fresh every turn, or "unknown". Numbers that no tool returned are marked.
  • Every proposal card shows the engine's before and after. You press Apply to write. If the model file changed since the card was made, the card is re-checked first, and nothing is written until you sign again.
  • It can search for fixes: for a failing finding it tries stronger servos, thicker wires, fuse sizes, regulators and packs, proves each on a copy, and offers only fixes that clear the finding with nothing new and nothing worse.
  • It can build a part from a datasheet PDF with page and quote, a power tree from catalog parts, and a robot from a template. Each ends in a card held for Apply.
  • It can show things on screen: select a part, show only what a finding involves, switch to the connections view, open the graph. It never changes the file by itself.
  • File tools read only inside the robot's folder and are off in very wide folders. Nothing sent to the model carries this machine's home folder, and a path inside the robot's folder is sent as a relative path.
  • (Pro) The Assistant reads the power sheet, bring-up sheet, tolerance corners, tip sweep and reach envelope, and runs the go/no-go gate and the baseline check on a recording that already exists. It cannot start anything on a live robot. The tolerance corners and Monte Carlo now score closed-loop joints.

The app

  • The Check screen shows the passed joint torques.
  • The Check screen's violation, warning and not-scored counts are the same as the command line's, and the "Not scored" list adds up to its count. Advice not yet sourced is counted apart, carries a quiet "i" mark ("Advice, not yet sourced") and has its own Advice filter, and the placement check, which lockwire check does not run, is listed under "Not part of the check".
  • A changed joint limit reads "The model file differs from the lock".
  • The question box is one growing line with a round send button.
  • The 3D view recovers after a graphics restart, and robots with mesh shapes open.
  • A robot opened without its mesh files draws a thin rod from a last link's joint to its centre of mass. The gripper marker appears only on a real free end or on a gripper's fingers, not on a foot or a wheel.
  • The report the app exports as a PDF prints its findings, budgets and what adds up.

Fixed

  • A model file under a folder path with spaces is checked in full again.
  • A mesh recorded in the lock that now resolves outside the robot's package folder, for example through a link, is a violation. A mesh that is already outside the folder when you lock is not recorded: check says it was not inside the robot's package folder at lock and its bytes are not compared, and its action says where the file is.
  • A MuJoCo model whose joints are tied by equality no longer prints a wrong torque.
  • An SDF joint with its own pose no longer misplaces the child link's centre of mass, inertia and shapes.
  • A joint-effort warning no longer fires on a passive pin of a solved closed loop.
  • describe no longer marks the total mass incomplete because of a joint.
  • A check, plan or report that crashes inside Lockwire now always exits 2 with no verdict and says it is a bug in Lockwire.
  • Drift messages say "model file" where they said "URDF".
  • An edited mesh or MJCF file is never shown from a stale cache, even when it is rewritten at the same size within the same instant.