> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rua.hud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Mobile manipulator

> A wheeled base, a torso lift, an arm and a gripper, moved together.

> [!NOTE]
>
> **Class** `mobile_manipulator` · **Parts** `base`, `torso`, `arm`, `gripper` · **Env** `robocasa` (PandaOmron, kitchen tasks)

The agent drives, lifts and reaches in one keyframe. The arm's targets are in the base frame, so the hand rides with the base and holds while the torso lifts.

## What `move` takes

| Part | Space | Dimensions and range |
| - | - | - |
| `base` | `base_vel` | `vx`, `vy` ±0.75 m/s, `wz` ±76 deg/s |
| `torso` | `joint_abs` | `lift` 0 to 0.34 m |
| `arm` | `ee_abs` | `x`, `y`, `z` up to 0.6 m/s, `roll`, `pitch`, `yaw` up to 60 deg/s, in the base frame |
| `gripper` | `grip` | a bare number, 0 open to 1 closed |

## Example spec

The full reference, `base_vel + ee_abs`:

```python Spec theme={"dark"}
import math

from rua.direct import Dim, Part, RobotSpec

DEG = math.pi / 180

SPEC = RobotSpec(
    "mobile_manipulator",
    "base_vel + ee_abs",
    (
        Part(
            "base",
            "base_vel",
            (
                Dim("vx", "m/s", -0.75, 0.75, max_accel=2.0),
                Dim("vy", "m/s", -0.75, 0.75, max_accel=2.0),
                Dim("wz", "rad/s", -76 * DEG, 76 * DEG, max_accel=240 * DEG),
            ),
        ),
        Part("torso", "joint_abs", (Dim("lift", "m", 0.0, 0.34, max_speed=0.6),)),
        Part(
            "arm",
            "ee_abs",
            (
                Dim("x", "m", 0.1, 1.2, max_speed=0.6),
                Dim("y", "m", -0.9, 0.9, max_speed=0.6),
                Dim("z", "m", 0.4, 1.9, max_speed=0.6),
                *(
                    Dim(axis, "rad", -math.pi, math.pi, max_speed=60 * DEG, wraps=True)
                    for axis in ("roll", "pitch", "yaw")
                ),
            ),
        ),
        Part("gripper", "grip", (Dim("grip", "1", 0.0, 1.0, max_speed=2.0),)),
    ),
)
```

## Example calls

One keyframe names all four parts: drive 0.3 m forward, lift, move the hand and close. Then stop the base.

```json move theme={"dark"}
{
  "keyframes": [
    {"t": 2.0, "base": {"vx": 0.15}, "torso": {"lift": 0.15}, "arm": {"x": 0.5, "y": 0.0, "z": 1.25}, "gripper": 1.0},
    {"t": 4.0, "base": {"vx": 0.0}}
  ]
}
```

```json done theme={"dark"}
{"reason": "The dish is in the cupboard."}
```

The env can also serve only the `arm` and `gripper`, or only the `base`, with the rest holding.

## What comes back

Each part's state, the base pose and the hand pose in the odom frame, and the cameras.

## Limits

* Vetoes a hand path that would hit the wheeled base or the torso column, and the usual speed and acceleration limits. The base holds its last commanded velocity after the call until a later call changes it.
* Limits are what the controllers track, below the hardware's rating.
* Needs a GPU.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.