-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrej Orsula <[email protected]>
- Loading branch information
0 parents
commit dd2412d
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Colcon | ||
**/build | ||
**/install | ||
**/log | ||
|
||
# Python | ||
**/__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# pymoveit2 | ||
|
||
Basic Python interface for MoveIt 2 built on top of ROS 2 actions and services. | ||
|
||
## Instructions | ||
|
||
### Requirements | ||
|
||
- **OS:** Ubuntu 20.04 (Focal) | ||
- Other distributions might work (not tested). | ||
|
||
### Dependencies | ||
|
||
These are the primary dependencies required to use this project. | ||
|
||
- ROS 2 [Rolling](https://docs.ros.org/en/rolling/Installation.html) | ||
- [Foxy](https://docs.ros.org/en/galactic/Installation.html) and [Galactic](https://docs.ros.org/en/galactic/Installation.html) might work too (not tested). | ||
- [MoveIt 2](https://moveit.ros.org/install-moveit2/binary) | ||
- Install/build a version based on the selected ROS 2 release | ||
- [Python 3](https://www.python.org/downloads) (tested with `3.8`) | ||
|
||
### Building | ||
|
||
Clone this repository, install dependencies with [rosdep](https://github.com/ros-infrastructure/rosdep), and build with [colcon](https://colcon.readthedocs.io). | ||
|
||
```bash | ||
# Clone this repository into your favourite ROS 2 workspace | ||
git clone https://github.com/AndrejOrsula/pymoveit2.git | ||
# Install dependencies | ||
rosdep install -r --from-paths . --ignore-src --rosdistro ${ROS_DISTRO} | ||
# Build | ||
colcon build --merge-install --symlink-install --cmake-args "-DCMAKE_BUILD_TYPE=Release" | ||
``` | ||
|
||
### Sourcing | ||
|
||
Before utilising this package, remember to source the ROS 2 workspace overlay. | ||
|
||
```bash | ||
source ${PYMOVEIT2_WS_DIR}/install/local_setup.bash | ||
``` | ||
|
||
This enables importing of `pymoveit2` module from external workspaces. |