Code Monkey home page Code Monkey logo

grasp_learning's Introduction

grasp_learning

Learning to grasp MVBBs with Soft-Hands

Creating poses

From the python folder, you can execute python grasp_boxes_batch.py db_file.csv to create an output database file db_file_simulated.csv with all successful and unsuccessful grasps, given a database db_file.csv containing box dimensions for a given box, and desired o_T_p pose which describes the palm pose in the object frame of reference. The box frame of reference is placed at the center of its axis, and is axis-aligned. The data format for the file is:

box_x_dim, box_y_dim, box_z_dim, p_x, p_y, p_z, q_x, q_y, q_z, q_w

With [p_x, p_y, p_z] the translation part of the p_T_h transform, and [q_x, q_y, q_z, q_w] the unitary quaternion representing the rotational part of p_T_h

The script simple_batch_splitter.py can be also called in the same form, python grasp_boxes_batch.py db_file.csv and will parallelize the computation over all available cores in the machine. The obtained simulated database can then be analyzed with the view_boxes_grasps.py script.

For instance, the pipeline would look something like:

cd python;
python simple_batch_splitter.py ../db/box_db_test_only_successful.csv
python view_bozes_grasps.py ../db/box_db_test_only_successful.csv

grasp_learning's People

Contributors

lia2790 avatar arocchi avatar manuelbonilla avatar

Stargazers

陈渝兮 avatar Fengyi Wang avatar  avatar Hao Tian avatar  avatar Hao Tian avatar Jack Liu avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

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.