# @foxglove/rosmsg-msgs-common

> Common ROS message definitions using @foxglove/rosmsg

Latest version **3.3.0** (published 2026-09-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @foxglove/rosmsg-msgs-common
pnpm add @foxglove/rosmsg-msgs-common
yarn add @foxglove/rosmsg-msgs-common
bun add @foxglove/rosmsg-msgs-common
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.3.0 |
| Published | 2026-09-28 |
| First published | 2021-07-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 30 |
| Author | Foxglove Technologies Inc |
| Maintainers | foxglovebot, amacneil |
| Keywords | ros, ros2, robot, operating, system, message, definitions, idl, msg, serialization, deserialization, serde, rosbag |

## Links

- npm: https://www.npmjs.com/package/@foxglove/rosmsg-msgs-common
- Repository: https://github.com/foxglove/ros-typescript
- npm.io page: https://npm.io/package/@foxglove/rosmsg-msgs-common

## Dependencies (2)

- [@foxglove/rosmsg](https://npm.io/package/@foxglove/rosmsg.md) ^5.0.5
- [@foxglove/message-definition](https://npm.io/package/@foxglove/message-definition.md) 0.5.0

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 3.3.0 (latest) — 2026-09-28
- 3.2.3 — 2025-10-13
- 3.2.2 — 2025-01-13
- 3.2.1 — 2024-06-05
- 3.2.0 — 2024-04-25
- 3.1.0 — 2023-07-11
- 3.0.0 — 2023-02-28
- 2.1.0 — 2022-09-29
- 2.0.0 — 2022-09-12
- 1.1.1 — 2022-06-06
- 1.1.0 — 2022-03-21
- 1.0.4 — 2021-10-30
- 1.0.3 — 2021-09-08
- 1.0.2 — 2021-08-19
- 1.0.1 — 2021-07-20
- … 1 more at https://npm.io/package/@foxglove/rosmsg-msgs-common/versions

## README

# rosmsg-msgs-common

[![npm version](https://img.shields.io/npm/v/@foxglove/rosmsg-msgs-common.svg?style=flat)](https://www.npmjs.com/package/@foxglove/rosmsg-msgs-common)

This library exports a map of ROS 1 and ROS 2 datatype string keys to [@foxglove/message-definition](https://github.com/foxglove/message-definition) `MessageDefinition` values for most common ROS 1 and ROS 2 message definitions. The ROS 1 message definitions were extracted from the `ros:noetic-robot-focal` Docker container using the `gendeps --cat` command. ROS 2 message definitions were extracted from [rcl_interfaces](https://github.com/ros2/rcl_interfaces), [common_interfaces](https://github.com/ros2/common_interfaces), and [unique_identifier_msgs](https://github.com/ros2/unique_identifier_msgs) repository branches using the [gendeps2](https://github.com/foxglove/rosmsg/blob/main/src/gendeps2.ts) utility.

## License

@foxglove/rosmsg-msgs-common is licensed under the [MIT License](https://opensource.org/licenses/MIT).

## Releasing

1. Run `yarn version --[major|minor|patch]` to bump version
2. Run `git push && git push --tags` to push new tag
3. GitHub Actions will take care of the rest

## Stay in touch

Join our [Discord community](https://foxglove.dev/chat) to ask questions, share feedback, and stay up to date on what our team is working on.

---
_Source: https://npm.io/package/@foxglove/rosmsg-msgs-common · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
