Grip is a prototyping toolbox for manipulation research.
Project description
Grip
Grip is a prototyping toolbox for robot manipulation research powered by Bullet3. It contains a collection of tools for creating robot manipulation environments, loading arbitrary robot arms and grippers through URDF, as well as handling and acquiring data from simulated and real RGBD cameras. It also supports ROS2 allowing created environments or applications to be easily integrated with the ROS2 ecosystem.
Installation
Pure python installation through pip
- Install
pip3 install git+https://github.com/dyson-ai/grip.git
- Run simple example (pure-python)
python3 -m grip_examples.environments.ex01_pick_and_place
This will run a basic pick and place demo. You should see the robot picking and placing a an object on the table (see below).
- Another example: loading a Franka Panda robot (pure-python)
python3 -m grip_examples.robot.ex02_robots
This will spawn a Franka Panda robot that can be controlled through joint sliders. See more examples at grip_examples.
Development setup
Development with vscode and running more examples:
-
Clone this repository
git clone https://github.com/dyson-ai/grip.git
-
Run vscode:
code grip
-
F1 -> "dev containers: Reopen in Container"
-
Build repo with colcon:
colcon build
ROS2 examples
A few basic ROS2 examples are showcased below.
Basic ROS2 example
Launch file:
ros2 launch grip ros_arm.launch.py
You should be able to see a simulation of a panda arm, and a pre-configured rviz displaying the robot model, state, and point cloud as below. The main node for this example is located at grip/grip_examples/robot/ex04_ros_robot.py
. For more examples see grip/grip_examples
and grip/launch
.
Moveit demo
Launch file:
ros2 launch grip moveit_demo.launch.py
You should be able to see a simulation of a panda arm, and a pre-configured rviz displaying the robot model, state, and point cloud, and moveit planning scene as below. The main node for this example is located at grip/grip_examples/robot/ex05_ros_robot_moveit.py
. For more examples see grip/grip_examples
and grip/launch
.
Topics, services and actions of simulated ROS robot
The provided ROS2 interfaces should allow for ROS standard communication (e.g. if you want to connect the robot to moveit, or subscribe to its topics, tf, services, actions, sensors, etc)
Happy coding!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gripx-0.0.19.tar.gz
.
File metadata
- Download URL: gripx-0.0.19.tar.gz
- Upload date:
- Size: 9.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
02bfdf0f88f84658a934f1aa8905ac3da071ec3856d520113d6e2355eb744651
|
|
MD5 |
35bddf017ee0ffe01becf26af58aa9cd
|
|
BLAKE2b-256 |
232d065a93260efe42829adef19b0984bf2487e01651633692862fff16bfd1e7
|
File details
Details for the file gripx-0.0.19-py3-none-any.whl
.
File metadata
- Download URL: gripx-0.0.19-py3-none-any.whl
- Upload date:
- Size: 9.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
92fa8dcdecab8da6cef5325f2548f56f1db646d5561c8c28e50236e17c1c260e
|
|
MD5 |
3e8a7e9948813cb9b3debcdf206210d4
|
|
BLAKE2b-256 |
2f671fb5607c4026c10574f02243a30d72dd032524a2a0012a6cb1812a57b09c
|