Giter VIP home page Giter VIP logo

kmr-iiwa-gripkit-cr-plus-l's Introduction

kmr-iiwa-gripkit-cr-plus-l

ROS CMake Python

License: MIT

URDF and MoveIt configuration (ROS1) files of Gripkit-CR-Plus-L and KRM-iiwa 7. Depending on user's inputs (e.g., end_effector, mobile_base, and controllers), the URDF and MoveIt reconfigure themselves. The repository also provides a simple Gazebo environment and Python classes and functions to experiment object grasping.

The project was done while Hojun Lee was working for Barton Research Group (BRG) at the University of Michigan.

Table of Contents


Repository Structure

├── auto_grasp
│   └── src                           # Python source codes
├── gripkit_cr_plus_l_ad_description
├── gripkit_cr_plus_l_ad_description
│   ├── meshes                        # STL files
|   └── urdf                          # URDF description
├── gripkit_cr_plus_l_bb_description
├── gripkit_cr_plus_l_cc_description
├── gripkit_cr_plus_l_dd_description
├── iiwa7_description
├── images              
├── kmp200_description
├── kmriiwa_description  
├── kmriiwa_moveit
│   ├── config                        # config files
│   └── launch                        # ROS-launch files
├── models
│   ├── dict                          # grasp dictionaries
│   ├── marker                        # waypoint marker
│   └── obj_05                        # object folder
└── worlds

Download Process

Note This repository has been tested on ROS Noetic and Ubuntu 20.04. It also depends on numpy, scipy, and tqdm:

cd ~/catkin_ws/src
git clone https://github.com/kidpaul94/kmr-iiwa-gripkit-cr-plus-l.git
cd kmr-iiwa-gripkit-cr-plus-l/
pip3 install -r requirements.txt
cd ~/catkin_ws
catkin_make
source devel/setup.bash

Simulation

Gazebo Only:

Note This launch file is only for model visualization purpose. No ROS controllers will get initialized.

roslaunch kmriiwa_description gazebo.launch robot_name:=(choose iiwa or kmriiwa) hardware_interface:=(choose Position, Velocity, or Effort) ee_type:=(choose ad, bb, cc, or dd)

MoveIt Only:

roslaunch kmriiwa_moveit demo.launch robot_name:=(choose iiwa or kmriiwa) hardware_interface:=(choose Position, Velocity, or Effort) ee_type:=(choose ad, bb, cc, or dd)

MoveIt and Gazebo:

roslaunch kmriiwa_moveit demo_gazebo.launch robot_name:=(choose iiwa or kmriiwa) hardware_interface:=(choose Position, Velocity, or Effort) ee_type:=(choose ad, bb, cc, or dd)

Automated Grasping

How to Run:

Note simulation.py receives several different arguments. Run the --help command to see everything it receives.

cd auto_grasp/src
python3 simulation.py --help

Planning Support:

The current implementation of the reposity supports top-down grasp, cartesian_space, and joint_space planning. The cartesian_space and joint_space plannings receives list of ROS pose message and joint configuration that a robot model needs to follow. For top-down grasp, it only supports grasping center & direction format at the moment. More details about this format is described below.

Grasp Representation:

Note The representation is defined based on a coordinate system of each object 3D model.

The image above shows the grasping center & direction format that the top-down grasp function uses. In simulation.py, we provide a list of this representation as a grasp dictionary associated with a specific object model.

Potential Extensions

To run your own world with other objects, simply put them in the models and worlds folders. You can also swap iiwa 7 with iiwa 14. Let me know if there are additional extensions & features you want to see in this project (e.g., adding more robot models). Contribution is always welcome!

Issues

Warning MoveIt trajectory execution sometimes fails without any error or warning. At the moment, the program skips the trial by checking whether the gripper reaches to a final grasping configuration. More stable trajectory planning/execution can be achieved by swaping KDL Kinematics Solver (default) with IKFast Kinematics Solver or TRAC-IK Kinematics Solver.

ToDo Lists

Model & Controller parameters tuning Progress
Automation of grasping Progress

kmr-iiwa-gripkit-cr-plus-l's People

Contributors

kidpaul94 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

twtoner

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.