Workspace-scoped Python dependency manager for ROS2.
Petal keeps ROS Python environments coherent: it resolves Ubuntu/ROS packages first, falls back to PyPI only when needed, installs PyPI packages into workspace-local state, and writes petal.lock for reproducibility.
uv tool install petal-ros
petal init
petal sync
petal shellpetal shell opens bash or zsh with ROS and the workspace venv ready; type exit to leave.
For a single command, skip activation entirely:
petal run ros2 launch my_package launch.py
petal run colcon build