Skip to content

ROS packages and models for learning to grasp in NRP using shadow hand and UR10

Notifications You must be signed in to change notification settings

Roboy/NRP_grasping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRP_grasping

ROS packages and models for learning to grasp in NRP using shadow hand and UR10

Prerequisites

sudo apt install ros-kinetic-controller-manager ros-kinetic-ros-controllers ros-kinetic-moveit
pip2.7 install tensorflow keras h5py sklearn bokeh bayesian-optimization pandas

Setup & compile

cd NRP_grasping
git submodule init
git submodule update --recursive
cp GazeboRosPackages/* $HBP/GazeboRosPackages/src -a
cp Models/* $HBP/Models/ -a # add folder names in models.txt if needed
cp Experiments/* $HBP/Experiments -a
cd $HBP/Models
./create-symlinks.sh
cd $HBP/GazeboRosPackages
catkin_make

Adjust GAZEBO_MODEL_PATH and MESH_WORKSPACE_PATH in smart_grasping_sandbox/launch/smart_grasping_sandbox.launch

Run

  1. Starte the Neurorobotics Platform
cle-start
cle-frontend
  1. Load robot description, start moveit and gazebo2moveit nodes
roslaunch smart_grasping_sandbox smart_grasping_sandbox.launch
  1. Open the shadow experiment (do not start the simulation yet)
  2. Load controllers
roslaunch fh_desc controllers.launch
  1. Start simulation in NRP
  2. Fire up python sample RL python script
roscd smart_grasping_sandbox/scripts
python RL-hand.py

About

ROS packages and models for learning to grasp in NRP using shadow hand and UR10

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published