rclpy

Package — Robotics/IoTPython 3.7+Advanced

Python client for ROS 2

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
ament-index-python, rpyutils (ROS 2 system install required)
Install
sudo apt install ros-humble-rclpy # or via ROS 2 install

Learn by Difficulty

Quick Example

python
# Install: sudo apt install ros-humble-rclpy  # or via ROS 2 install
import rclpy

# Basic rclpy usage
print(f"Using rclpy")
# See documentation for detailed examples

rclpy is a third-party package. Python client for ROS 2. Install with: sudo apt install ros-humble-rclpy # or via ROS 2 install

Try in Playground

Tags

packageroboticsiothardwareembedded