Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro jazzy showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro kilted showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro lyrical showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro github showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro galactic showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro iron showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro melodic showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)
No version for distro noetic showing humble. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/robotiq/robotiq-ros.git
VCS Type git
VCS Version main
Last Updated 2026-11-24
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

ROS packages for Robotiq grippers and sensors.

Packages

Package Description ROS Version
robotiq_tsf TSF-85 tactile sensor driver ROS 2 Humble / Jazzy / Lyrical (main) / ROS 1 Noetic (noetic)
grippers ROS 2 ros2_control driver for Robotiq adaptive grippers (2F-85, 2F-140, Hand-E, Hand-E C10), on the Robotiq C++ grippers SDK ROS 2 Humble / Jazzy / Lyrical
mcp MCP server exposing the Robotiq grippers to LLM agents, on the grippers/ driver (plain Python project, not an ament package) Python 3.12 + a sourced ROS 2 install

Supported ROS 2 distros

main supports the three live LTS distros from one branch — build it on whichever one your robot already runs.

Distro Ubuntu Gripper action gripper_cmd action type
Humble 22.04 Jammy robotiq_controllers/GripperCommandController control_msgs/action/GripperCommand
Jazzy 24.04 Noble robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand
Lyrical 26.04 Resolute robotiq_controllers/GripperActionController control_msgs/action/ParallelGripperCommand

Rolling builds and passes the full suite as well, and CI watches it, but it is not a supported target: it is a moving development branch, so a break there is a heads-up rather than a release blocker. Its job does not gate merges. Kilted and other non-LTS releases are not built.

The action type differs because parallel_gripper_controller does not exist on Humble — ROS itself only gained it in Jazzy, and Humble’s controller extends its predecessor, gripper_controllers, instead. robotiq_control.launch.py picks the matching controller config automatically from $ROS_DISTRO, and everything else (package names, launch files, controller names, the object status parameters, topics, the /robotiq_gripper_controller/gripper_cmd namespace, the xacro macro arguments) is identical across all three. On Humble that makes this repo a drop-in replacement for PickNik’s humble branch — see Migrating from PickNik’s ros2_robotiq_gripper.

The other difference is a gripper that is missing at bringup. On Jazzy and Lyrical ros2_control_node stays up with the hardware component unconfigured, the spawners give up after 15 s at most, and the launch prints the two commands that recover without a relaunch once the gripper is plugged in. Humble’s controller_manager cannot keep the node alive in that state, so there the launch ends and a relaunch is the way back. shutdown_on_failure:=false keeps the launch running in either case, for launch files that include this one next to nodes that should outlive the gripper.

Versioning

The repository is versioned as a whole: every package carries the same version and each release is one tag, v<version>, covering both the gripper and TSF stacks. A release touching only one stack still moves the other’s version.

VERSION at the repo root is the only place the version is set. To bump it, run one command and commit what it changes:

dev/version.py --set 1.4.0  # write VERSION and every copy
dev/version.py              # show the version, report any drift
dev/version.py --check-pins # every SDK pin must be an existing robotiq-sdk release tag

A release pins robotiq-sdk release tags: between releases a PR may pin a robotiq-sdk main commit (see The SDKs), so move every sdk_version to a tag in the bump. The Release workflow runs the same check on the bump’s PR and on the pushed tag.

Never edit the copies by hand. Each package.xml must hold the version as literal text, because ament, rosdep and bloom read it directly and cannot follow a reference to VERSION. So the command writes it into every package.xml, and a bump’s diff touching all of them is the expected output of that command, not duplicated work. A pre-commit hook and CI fail if any copy differs from VERSION. mcp/pyproject.toml holds no copy: it reads VERSION when the package is built.

VERSION also lists every file holding a copy, as a reminder of what a bump touches. --set generates that list and the hook checks it, so adding or removing a package fails until --set is run again.

Tags predating this scheme were per-stack: V1.0.0 released the TSF packages, and 0.0.1 is PickNik’s original gripper release.

Contributing

Bug reports, fixes and features are welcome. Robotiq maintains these packages; contributions come in as pull requests from a fork. See CONTRIBUTING.md for the development setup, the formatting and test requirements, and the distro and PickNik compatibility constraints that shape review.

Legacy

Repository Description ROS Version
robotiq Original ROS 1 Industrial Robotiq packages (archived, 3D CAD models are outdated) ROS 1 Indigo / Kinetic / Melodic

Community & Third-Party

File truncated at 100 lines see the full file

CONTRIBUTING

Contributing

Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other’s commits.

Before you start

  • Small fix or feature? Open the PR directly.
  • Anything larger — a new feature, a change to the launch or action surface, a new package — please open an issue first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see Compatibility below).
  • Bug report? Open an issue — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable.

Getting the source

git clone https://github.com/robotiq/robotiq-ros.git

Replace robotiq with your GitHub user if you are working from a fork.

Clones made before the SDKs became vendor packages still carry extern/grippers and extern/tactile_sensors. Nothing builds from them any more, and they can be deleted.

The container is the fastest way to run the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them:

cd robotiq-ros
./docker/run.sh gripper          # or: sensor, both

For development, work in an ordinary ROS 2 workspace (or build the full-toolchain builder image — see Docker): clone into src/ and follow the Existing ROS 2 workspace steps in the README, skipping the rm -rf lines unless you are actually migrating off the PickNik packages. rosdep install resolves every dependency.

Formatting and linting

One root .pre-commit-config.yaml is the formatting authority — its allow-list covers grippers/, robotiq_tsf/, docker/, .github/ and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit:

pip install pre-commit
pre-commit install
pre-commit run -a        # or run it across the repo by hand

CI runs the same hooks on PRs touching those trees (ci-format.yml), so skipping them locally just means the PR comes back red on formatting.

ament_cpplint, ament_copyright and ament_lint_cmake also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don’t reformat code to satisfy cpplint.

Building and testing

source /opt/ros/jazzy/setup.bash    # or humble / lyrical
colcon build
colcon test
colcon test-result --verbose

Scope to one package with --packages-select <package> on both build and test; Testing in the README covers running a single test binary for --gtest_filter.

New code needs tests. Unit tests live in each package’s test/ (or tests/) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round.

robotiq_hardware_tests is the exception: it registers no ctest tests — it builds full_test, a manual check run against a real gripper with ros2 run robotiq_hardware_tests full_test. If your change touches the driver’s interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved.

The SDKs

robotiq_driver and robotiq_tsf are ROS layers over two C++ SDKs, both in robotiq-sdk: the grippers SDK in grippers/ and the TSF-85 SDK in tsf/. Each SDK reaches ROS through a vendor package in this repository, robotiq_grippers_sdk_vendor and robotiq_tactile_sdk_vendor, which fetches and builds it during colcon build. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out.

Each vendor package pins its SDK in its sdk_version file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change.

The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk main commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk main: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs dev/version.py --check-pins on any PR that changes VERSION and --check-tag on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs --check-pin-format, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its Release pins check is required on main. The tactile pin stays a tag in any case, because tactile_helpers.sh clones it with git clone --branch, which takes a tag or branch but not a commit.

File truncated at 100 lines see the full file

# Contributing Thanks for your interest in improving this repository. Robotiq maintains these packages, and outside contributions are welcome — bug reports, fixes and features all land the same way: as a pull request. Robotiq members have write access and push a branch to this repository; everyone else works from a fork. Please do not fork if you are a member: a fork PR cannot be based on another in-repo branch, so stacked changes end up showing each other's commits. ## Before you start - **Small fix or feature?** Open the PR directly. - **Anything larger** — a new feature, a change to the launch or action surface, a new package — please [open an issue](https://github.com/robotiq/robotiq-ros/issues) first so we can agree on the shape before you spend the time. Some constraints are not obvious from the code (see [Compatibility](#compatibility) below). - **Bug report?** [Open an issue](https://github.com/robotiq/robotiq-ros/issues) — the bug template asks for the ROS distro, hardware, exact launch command and bringup output that make a driver problem placeable. ## Getting the source ```bash git clone https://github.com/robotiq/robotiq-ros.git ``` Replace `robotiq` with your GitHub user if you are working from a fork. Clones made before the SDKs became vendor packages still carry `extern/grippers` and `extern/tactile_sensors`. Nothing builds from them any more, and they can be deleted. The container is the fastest way to *run* the workspace, but its default image is a slim runtime stage — no compiler, no colcon, tests not built — so it is for trying the drivers, not developing them: ```bash cd robotiq-ros ./docker/run.sh gripper # or: sensor, both ``` For development, work in an ordinary ROS 2 workspace (or build the full-toolchain `builder` image — see [Docker](README.md#docker)): clone into `src/` and follow the **Existing ROS 2 workspace** steps in the [README](README.md#migrating-from-pickniks-ros2_robotiq_gripper), skipping the `rm -rf` lines unless you are actually migrating off the PickNik packages. `rosdep install` resolves every dependency. ## Formatting and linting One root [`.pre-commit-config.yaml`](.pre-commit-config.yaml) is the formatting authority — its allow-list covers `grippers/`, `robotiq_tsf/`, `docker/`, `.github/` and the root-level files: clang-format 19 for C++, black and flake8 for Python, codespell, and the usual whitespace and YAML hooks. Install the hook once and it runs on every commit: ```bash pip install pre-commit pre-commit install pre-commit run -a # or run it across the repo by hand ``` CI runs the same hooks on PRs touching those trees ([`ci-format.yml`](.github/workflows/ci-format.yml)), so skipping them locally just means the PR comes back red on formatting. `ament_cpplint`, `ament_copyright` and `ament_lint_cmake` also run on the C++ packages. Where cpplint and clang-format disagree, clang-format wins and the cpplint check is suppressed in CI — don't reformat code to satisfy cpplint. ## Building and testing ```bash source /opt/ros/jazzy/setup.bash # or humble / lyrical colcon build colcon test colcon test-result --verbose ``` Scope to one package with `--packages-select ` on both `build` and `test`; [Testing](README.md#testing) in the README covers running a single test binary for `--gtest_filter`. **New code needs tests.** Unit tests live in each package's `test/` (or `tests/`) directory and must run without hardware. A behavioural change with no test change is the most common reason a PR needs another round. `robotiq_hardware_tests` is the exception: it registers no ctest tests — it builds `full_test`, a manual check run against a real gripper with `ros2 run robotiq_hardware_tests full_test`. If your change touches the driver's interaction with hardware, say in the PR what you tested it on — gripper model, firmware version and how it behaved. ### The SDKs `robotiq_driver` and `robotiq_tsf` are ROS layers over two C++ SDKs, both in [robotiq-sdk](https://github.com/robotiq/robotiq-sdk): the grippers SDK in `grippers/` and the TSF-85 SDK in `tsf/`. Each SDK reaches ROS through a vendor package in this repository, `robotiq_grippers_sdk_vendor` and `robotiq_tactile_sdk_vendor`, which fetches and builds it during `colcon build`. The SDK repositories carry nothing ROS-specific: they are used outside ROS too, so the ROS packaging lives here, as it would for any third-party library. Git submodules would not survive a build-farm release, whose source tarball leaves them out. Each vendor package pins its SDK in its `sdk_version` file, which holds a robotiq-sdk release tag or commit. Moving a pin is a one-line change. The two repositories are often developed in parallel, so ROS work does not wait for an SDK release. A PR that needs SDK changes not yet released pins the robotiq-sdk `main` commit that brings them, by its full SHA, once the SDK PR has merged there; its description says so. Never pin a commit that is not on robotiq-sdk `main`: a feature branch can be rebased or deleted, and the pin would stop resolving. A robotiq-ros release is different: before cutting one, every pin must be a robotiq-sdk release tag, so whoever releases first gets the SDK tagged and moves the pins to it. CI checks it: the Release workflow runs `dev/version.py --check-pins` on any PR that changes `VERSION` and `--check-tag` on a pushed release tag, which also confirm each tag exists in robotiq-sdk; on every other PR it runs `--check-pin-format`, which accepts a release tag or a full 40-character commit SHA. It blocks a merge only once its *Release pins* check is required on `main`. The tactile pin stays a tag in any case, because `tactile_helpers.sh` clones it with `git clone --branch`, which takes a tag or branch but not a commit. File truncated at 100 lines [see the full file](https://github.com/robotiq/robotiq-ros/tree/main/CONTRIBUTING.md)