Git Product home page Git Product logo

sapien_vacuum_suction_example's Introduction

Suction Gripper Simulation in SAPIEN

This repository contains an implementation of a suction gripper simulation in SAPIEN, available in a single file. The simulation utilizes the robot model of XArm6 + XArm vacuum gripper to achieve pick and place tasks. The only dependency required is pip3 install sapien.

A gif showing the suction gripper in action

The main code for the suction gripper is shown below:

# Do something before suction

# Suction
suction_drive = scene.create_drive(ee_link, Pose(), grasped_box, Pose())
suction_drive.set_x_properties(1e4, 1e2, 1e2)
suction_drive.set_y_properties(1e4, 1e2, 1e2)
suction_drive.set_z_properties(1e4, 1e2, 1e2)

# Do something after suction

# Release suction
suction_drive.set_x_properties(0, 0, 0)
suction_drive.set_y_properties(0, 0, 0)
suction_drive.set_z_properties(0, 0, 0)

sapien_vacuum_suction_example's People

Contributors

yzqin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

sapien_vacuum_suction_example's Issues

End effector orientation

Hi, I would like to ask how to force the end effector's orientation to be aligned with a certain vector, say [1,0,0]? In your repo, I see the robot facing downward to touch the top surface of the boxes, but are there any ways to touch them from other sides?

Bug of the suction

Hi,
I've found that regardless of the relative positions of the suction gripper and the cube (even when they are far apart), the suction cup can still successfully lift the cube. Could you advise on how to address this issue? Additionally, I was wondering if there are any plans to include the SRDF file for the robotic arm?

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.