Code Monkey home page Code Monkey logo

ur5_rg2_ign's Introduction

ur5_rg2_ign

URDF and SDF descriptions of Universal Robot 5 (UR5) robot with OnRobot RG2 gripper for Ignition and MoveIt2.

ur5_rg2 Inertial properties of all links are estimated with estimate_inertial_properties.py script, while assuming total mass of 18.4 kg (UR5) + 0.78 kg (RG2) and uniform density. This script also redistributes a portion of hand's mass to fingers due to internal mechanical coupling.

The SDF description also contains estimated dynamic parameters for joints. Note that these values are NOT based on real-life robot and should therefore be used with caution.

Kinematic model of gripper is simplified to include only a single actuated revolute joint per finger. The full model would include one actuated and two passive revolute joints, however, I could not achieve stable manipulation with that approach - #1 (contributions are welcome if you figure it out).

Instructions

ROS 2 (Optional)

Build with colcon and source the environment to make URDF discoverable for ROS 2.

Ignition

Export IGN_GAZEBO_RESOURCE_PATH to make SDF discoverable within the context of Ignition Gazebo.

export IGN_GAZEBO_RESOURCE_PATH=${PARENT_DIR}/ur5_rg2_ign:${IGN_GAZEBO_RESOURCE_PATH}

Alternatively, you can just include the model from Ignition Fuel if you do not require the URDF description (or you use it from the official, e.g. from Universal_Robots_ROS2_Driver).

<include>
    <uri>https://fuel.ignitionrobotics.org/1.0/AndrejOrsula/models/ur5_rg2</uri>
</include>

Directory Structure

ur5_rg2_ign
├── ur5_rg2             # Model directory compatible with Ignition Fuel
    ├─ meshes           # Meshes for both SDF and URDF
        ├── collision   # STL files for collision detection
            └─ *.stl
        └── visual      # COLLADA files for visuals
            └─ *.dae
    ├─ thumbnails       # Thumbnails for Fuel
        └─ *.png
    ├── model.config    # Ignition model meta data
    └── model.sdf       # SDF description of the Ignition model
├── urdf
    └── ur5_rg2.urdf    # URDF description of the model for MoveIt2
├── CMakeLists.txt
└── package.xml         # ROS2 ur5_rg2 description package `ur5_rg2_ign`

ur5_rg2_ign's People

Contributors

andrejorsula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ur5_rg2_ign's Issues

Model RG2 gripper properly as four revolute joints for each finger (1 active + 3 passive)

As the title says. Current simplification utilises 1 active revolute joint, therefore, 3 more passive joints need to be added (1 at hand, 2 at fingers). This also means that the mesh needs to be split into 3 sub-meshes (both .stl and .dae now use disconnected pieces, so that's easy to do.)

Maybe a plugin needs to be developed that will be mirroring the joints (instead of simulating the physics behing them).

I tried to achieve it, but I instead created a possessed UR5.

possessed_ur5.mp4

Simplification works for me, so I am freezing this issue for now.

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.