Code Monkey home page Code Monkey logo

grip's Introduction

Build and Test (humble)

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

  1. Install
pip3 install git+https://github.com/dyson-ai/grip.git
  1. 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).

Simple python demo

  1. 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:

  1. Clone this repository git clone https://github.com/dyson-ai/grip.git

  2. Run vscode: code grip

  3. F1 -> "dev containers: Reopen in Container"

  4. 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.

Basic ROS2 demo

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.

Basic ROS2 demo

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!

grip's People

Contributors

eaa3 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

eaa3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.