Coder Social home page Coder Social logo

cdbharath / franka_panda Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 3.0 157.37 MB

Custom Franka Panda packages for pick and place operations

License: BSD 2-Clause "Simplified" License

Dockerfile 0.08% Shell 0.11% CMake 2.29% C++ 15.04% Python 1.35% C 0.06% HTML 0.11% JavaScript 80.91% CSS 0.05%
franka-panda franka-emika pick-and-place rgbd gazebo ros grasping grasp gripper control

franka_panda's Introduction

Franka Panda - Pick and Place

Franka Panda ROS package for pick and place operations. This repo provides high level APIs for executing pick and place of objects. A workaround for grasping is implemented with Grasp Plugin. Includes both overhead and eye-in-hand RGBD sensor.

alt text

How to run the simulation

Clone the repo in your ROS workspace and install libfranka library

mkdir -p panda_ws/src
cd panda_ws/src
git clone [email protected]:cdbharath/franka_panda.git
cd ..
sudo apt install ros-<distro>-libfranka
catkin build
source devel/setup.bash

Use the following commands as per the requirement after building and sourcing the workspace

roslaunch panda_simulation panda_simulation.launch          # For position based joint controllers 
roslaunch panda_simulation panda_simulation_effort.launch   # For effort based joint controllers
roslaunch panda_simulation panda_eye_in_hand.launch         # For effort based joint controllers with eye in hand camera
roslaunch pick_and_place kinect.launch                      # For overhead camera 

How to use pick and place package

from pick_and_place.pick_and_place import PickAndPlace

pick_and_place = PickAndPlace(0.05, 0.5)             # Arguments: gripper z offset, intermediate vertical z stop
    
pick_and_place.setPickPose(0.4, 0.0, 0.1, 0, pi, 0)  # Arguments: x, y, z, roll, pitch, yaw 
pick_and_place.setDropPose(0.0, 0.4, 0.4, 0, pi, 0)  # Arguments: x, y, z, roll, pitch, yaw
pick_and_place.setGripperPose(0.01, 0.01)            # Arguments: finger1 linear movement, finger2 linear movement  
    
pick_and_place.execute_pick_and_place()              # For execution in joint space
pick_and_place.execute_cartesian_pick_and_place()    # For execution in cartesian space

References

  1. Franka ROS
  2. Erdals Blog
  3. Grasp Plugin

franka_panda's People

Contributors

cdbharath avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

franka_panda's Issues

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.