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

# AngularVelocity

> A class to represent 3D angular velocity, in radians per second

```python theme={null}
from grid_types import AngularVelocity
```

A class to represent 3D angular velocity, in radians per second.

The rotation rate about the x, y and z axes. Supports mathematical
operations and conversions to/from various formats. A linear velocity is a
`Velocity`. The two types do not add or subtract:
`AngularVelocity + Velocity` raises `TypeError`. A calculation that needs
both reads the fields, for example
`linear.x + angular.z * half_track`.

## Fields

**x** `float`

rotation rate about the x axis (rad/s)

**y** `float`

rotation rate about the y axis (rad/s)

**z** `float`

rotation rate about the z axis (rad/s)

## Constructor

```python Signature theme={null}
AngularVelocity(x: float, y: float, z: float)
```

Initialize an AngularVelocity object.

**x** *required*

rotation rate about the x axis in radians per second

**y** *required*

rotation rate about the y axis in radians per second

**z** *required*

rotation rate about the z axis in radians per second

## Properties

**x\_vel** `float`

**y\_vel** `float`

**z\_vel** `float`

## Methods

### `from_dict()`

```python Signature theme={null}
from_dict(data: dict) -> AngularVelocity
```

Deserialize from dictionary; JSON-shaped values such as `"1.5"` are converted

### `to_dict()`

```python Signature theme={null}
to_dict() -> dict
```

Serialize to dictionary for JSON transfer: `&#123;"x", "y", "z"&#125;`


## Related topics

- [Velocity](https://docs.generalrobotics.dev/python-api/grid-types/velocity.md)
- [grid-types](https://docs.generalrobotics.dev/python-api/grid-types/overview.md)
- [Ghost Robotics Vision60 + Ghost Arm](https://docs.generalrobotics.dev/python-api/vision60-arm/vision60witharm.md)
- [Ghost Robotics Vision60](https://docs.generalrobotics.dev/python-api/vision60/vision60.md)
- [Galaxea R1 Pro Mobile Manipulator (2026)](https://docs.generalrobotics.dev/python-api/r1pro-2026/galaxear1pro2026.md)


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