Skip to content

v0.15.0

Choose a tag to compare

@Jepson2k Jepson2k released this 27 Sep 01:27
· 9 commits to main since this release
bd52fea

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_s and move_p take duration: float = 0.0, speed: float = 0.5, accel: float = 0.5. A duration above 0 times the move and speed is not used; otherwise speed does, so every move has a timing. Negative, NaN or infinite values, and speed/accel outside (0, 1], raise ValueError before anything is sent. For Cartesian moves speed also 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, open and close are now abstract and take speed and current as fractions in [0, 1], with current spanning current_range; both default to 0.5. default_current is gone. GripperSettings.current is a percent (default 50), and adjust_step is in percent points.
  • Joint speeds are deg/s, like joint angles (StatusBuffer.speeds, Joints.speeds).
  • motion_profiles is exactly what select_profile accepts, spelled the way it takes them. The base default is now ("LINEAR",).

Shared contract

  • Return codes follow the @command marker, not the palette category. write_io, tool_action, checkpoint, delay, select_tool and set_tcp_offset return queue indices, jogs and servo streams return 1 once sent, and estimate_payload returns its estimate. An unknown keyword raises TypeError, with or without wait.
  • Cancellation has a name. MOTN_CANCELLED and MOTN_NOT_HOMED are exported. stop, estop, teleport and reset_state discard the queue, and every command they discard fails with MOTN_CANCELLED. wait_command raises a RobotError whose new cancelled property tells a halt apart from a refusal. SYSTEM commands may now be marked cancels.
  • 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 following move_l/move_c.
  • Homing. teleport marks the arm homed. Only jog_j, home and teleport move an unhomed arm.
  • Status. IO.estop reports the physical safety chain only: a software estop() never sets it. action_current is the snake_case method name, empty when idle. status().tool_status is never None, and TOPPRA is the startup profile.