Skip to content

Lakshadeep/pre-grasp-approaching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-grasp approaching

Code repository for our paper "Pre-grasp approaching on mobile robots: a pre-active layered approach" by Lakshadeep Naik, Sinan Kalkan and Norbert Kruger published in IEEE Robotics and Automation Letters (RA-L)

Paper pre-print Project webpage Supplementary video

Pre-requisites

Our code uses NVIDIA Isaac Sim for simulation. Installation instructions can be found here. This code has been tested with Isaac Sim version 'isaac_sim-2022.2.0'

Further, following python packages should be installed in the Isaac sim python environment:

omegaconf, hydra, hydra-core, tqdm, opencv-python,  mushroom-rl (local), shapely

'local' - local installation of the package is required

Installing new python packages in Isaac

./python.sh -m pip install {name of the package}  --global-option=build_ext --global-option=build_ext  --global-option="-I{Isaac install path}/ov/pkg/isaac_sim-2022.2.0/kit/python/include/python3.7m"

Installing local python package in Isaac (for mushoorm-rl and this package)

./python.sh -m pip install -e {package path}/  --global-option=build_ext --global-option=build_ext  --global-option="-I{Isaac install pathj}/ov/pkg/isaac_sim-2022.2.0/kit/python/include/python3.7m"

NOTES:

  • Before trying to run the code, please change relative paths in all the config files in 'conf' folder.

To run the scripts

First open {Isaac install path}/ov/pkg/isaac_sim-2022.2.0 in terminal and run the following command:

./python.sh {package path}/{script name}.py 

Training

Layer 1: base motion

./python.sh {package path}/pre-grasp-approaching/train/base_motion.py 

Layer 2: grasp decision

./python.sh {package path}/pre-grasp-approaching/train/grasp_decision.py 

BP-Net

First, save data for training BP-Net

./python.sh {package path}/pre-grasp-approaching/test/grasp_decision.py 

Then use this data to train BP-Net

./python.sh {package path}/pre-grasp-approaching/train/state_prediction.py 

Layer 3: arm motion

./python.sh {package path}/pre-grasp-approaching/train/arm_motion.py 

If you found our work useful, consider citing our paper:

Naik, L., Kalkan, S., & Krüger, N. (2024). Pre-grasp approaching on mobile robots: a pre-active layered approach. IEEE Robotics and Automation Letters.

@article{naik2024pre,
  title={Pre-grasp approaching on mobile robots: a pre-active layered approach},
  author={Naik, Lakshadeep and Kalkan, Sinan and Kr{\"u}ger, Norbert},
  journal={IEEE Robotics and Automation Letters},
  year={2024},
  publisher={IEEE}
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages