move_relative
Move a simulated robot end effector by a relative XYZ offset and optional RPY rotation; reports stop reason, achieved displacement, and remaining distance.
Instructions
Move the end effector by delta_xyz meters in the FakeSim world frame (z up, table surface at z=0.80 m), optionally rotating by delta_rpy about the robot base X/Y/Z axes (radians). The server approaches the target step by step with P control and returns only when a definite stop condition triggers, not after a fixed number of steps. action.stop_reason says why the call stopped, one of four:
reached: Within the target tolerance (8 mm in position, 0.02 rad in orientation); the motion is complete.
stalled: Barely moved for 3 consecutive steps (less than 1 mm in total) without reaching the target, which usually means something is blocking it: the table, an object, or a joint limit. Repeating the same command has no effect; change direction, or lift or back off first. This is the main signal of contact.
step_cap: Hit the per-call internal step limit while the end effector was still moving toward the target. Call again with the remaining displacement in the same direction to continue.
budget: The episode's total step budget ran out during the motion; only stop_episode can be called afterwards. Motion is a best-effort approach and may fall short of the requested delta: judge progress by action.achieved_delta_xyz (actual displacement of this call, meters) and action.remaining_distance_m (meters still missing to the requested target), and do not assume the request was achieved. Returns images (two separate PNGs), state (eef_pos_m is the end-effector XYZ position in meters, eef_rpy_rad the RPY orientation in radians, gripper holds command/opening_m), action (the requested delta_xyz/delta_rpy, executed_steps, stop_reason, achieved_delta_xyz, remaining_distance_m), step (simulation steps used after the call), steps_left (simulation steps left) and status (running). When the budget is already 0, returns a step_limit error instead of silently doing nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delta_rpy | No | [droll, dpitch, dyaw], increments about the robot base X/Y/Z axes in radians; omit to keep the current orientation. | |
| delta_xyz | Yes | [dx, dy, dz] in meters. |