A new Python library for MoveIt is now available in ROS 2 Rolling. The new Python library binds core components of the MoveIt C++ API and exposes the functionalities of these components through a Python API.
Python Library Features
The Python library can be found under the folder moveit_py in the MoveIt 2 repository root directory. An outline of the codebase structure is provided within the package README.md, below we provide a high-level overview of the structure of the Python library,
coremodule that provides Python bindings for packages available in
planningmodule that provides Python bindings for a subset of the functionalities within
servomodule that enables users to integrate new teleoperation devices in Python
Getting Started In order to help new users get started with the library we have curated the following set of tutorials,
API documentation is also available for the library here.
There are many additional features, enhancements and tutorials that can be made available for the existing Python library. Below are some features, enhancements and tutorials that should be addressed in the near future:
- Implement interface for interacting with grippers
- Implement utilities for deploying learnt policies with MoveIt Servo
- Establish feature parity with existing C++ API
- Real-world data collection for imitation learning
- Setting up real-world reinforcement learning experiments
- Deploying policies learnt in Isaac-Sim on real robots
New contributors to the MoveIt project are highly encouraged to get involved in development of the Python library. See the Contribution Guides for further details.
This article was originally published by Peter David Fagan on moveit.ros.org.