2024-11-05 10:58:22 -06:00
# Roadmap
* Majority Vote
* Initial Poses for Manual Scenes
2024-10-05 21:40:55 -05:00
# Updated installation steps fo my PC environment
2024-11-03 04:11:36 -06:00
## Prerequisites
* `Ubuntu 20.04`
* `CUDA 12.1`
* `ROS Noetic` . Recommended installation method: [小鱼一键安装 ](https://fishros.org.cn/forum/topic/20/%E5%B0%8F%E9%B1%BC%E7%9A%84%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E7%B3%BB%E5%88%97/1?lang=en-US )
* `GS-Net` : My [GS-net repo ](https://github.com/0nhc/GS-Net ). Run: `python flask_server.py`
2024-10-05 21:40:55 -05:00
2024-11-03 04:11:36 -06:00
## Installation
2024-10-05 21:36:04 -05:00
```sh
2024-10-12 21:23:56 -05:00
# Install Active Grasp
2024-10-05 21:36:04 -05:00
sudo apt install liborocos-kdl-dev
mkdir -p ws/src & & cd ws/src
git clone https://github.com/0nhc/active_grasp.git
conda create -n active_grasp python=3.8
cd active_grasp & & conda activate active_grasp
pip install -r requirements.txt
conda install libffi==3.3
conda install conda-forge::python-orocos-kdl
cd ..
2024-10-05 21:40:55 -05:00
git clone https://github.com/0nhc/vgn.git -b devel
2024-10-05 21:36:04 -05:00
cd vgn
pip install -r requirements.txt
cd ..
2024-10-05 21:40:55 -05:00
git clone https://github.com/0nhc/robot_helpers.git
2024-10-05 21:36:04 -05:00
cd ..
rosdep install --from-paths src --ignore-src -r -y
catkin build
2024-10-12 21:23:56 -05:00
# Install Active Perception
2024-11-03 04:11:36 -06:00
cd ws/src/active_grasp/src/active_grasp/active_perception/modules/module_lib/pointnet2_utils/pointnet2
2024-10-12 21:23:56 -05:00
pip install -e .
2024-10-05 21:36:04 -05:00
```
2024-11-03 04:11:36 -06:00
## Quick Start
```sh
# Terminal 1
conda activate active_grasp
cd ws
source devel/setup.bash
roslaunch active_grasp env.launch sim:=true
# Terminal 2
conda activate active_grasp
cd ws
source devel/setup.bash
cd src/active_grasp
python3 scripts/run.py ap-single-view
```
2024-10-13 00:37:45 -05:00
2024-11-03 04:11:36 -06:00
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
< / br >
2024-10-13 00:37:45 -05:00
2022-07-21 12:48:13 +02:00
# Closed-Loop Next-Best-View Planning for Target-Driven Grasping
2021-12-22 12:30:05 +01:00
2022-07-22 08:38:04 +02:00
This repository contains the implementation of our IROS 2022 submission, _"Closed-Loop Next-Best-View Planning for Target-Driven Grasping"_ . [[Paper ](http://arxiv.org/abs/2207.10543 )][[Video ](https://youtu.be/67W_VbSsAMQ )]
2022-03-01 14:45:06 +01:00
2021-12-22 12:30:05 +01:00
## Setup
2022-07-21 12:48:13 +02:00
The experiments were conducted with a Franka Emika Panda arm and a Realsense D435 attached to the wrist of the robot. The code was developed and tested on Ubuntu 20.04 with ROS Noetic. It depends on the following external packages:
2021-12-22 12:30:05 +01:00
2022-02-18 16:01:37 +01:00
- [MoveIt ](https://github.com/ros-planning/panda_moveit_config )
- [robot_helpers ](https://github.com/mbreyer/robot_helpers )
2021-12-22 12:30:05 +01:00
- [TRAC-IK ](http://wiki.ros.org/trac_ik )
2022-02-18 16:01:37 +01:00
- [VGN ](https://github.com/ethz-asl/vgn/tree/devel )
- franka_ros and realsense2_camera (only required for hardware experiments)
2021-12-22 12:30:05 +01:00
Additional Python dependencies can be installed with
```
pip install -r requirements.txt
```
2022-07-21 12:48:13 +02:00
Run `catkin build active_grasp` to build the package.
2022-02-18 16:01:37 +01:00
2022-12-15 13:07:18 +01:00
Finally, download the [assets folder ](https://drive.google.com/file/d/1xJF9Cd82ybCH3nCdXtQRktTr4swDcNFD/view ) and extract it inside the repository.
2021-12-22 12:30:05 +01:00
## Experiments
Start a roscore.
```
roscore
```
2022-01-16 14:26:48 +01:00
To run simulation experiments.
2021-12-22 12:30:05 +01:00
```
2022-01-16 14:26:48 +01:00
roslaunch active_grasp env.launch sim:=true
2021-12-22 12:30:05 +01:00
python3 scripts/run.py nbv
```
2022-07-21 12:48:13 +02:00
To run real-world experiments.
2021-12-22 12:30:05 +01:00
```
2022-01-16 14:26:48 +01:00
roslaunch active_grasp hw.launch
roslaunch active_grasp env.launch sim:=false
2021-12-22 12:30:05 +01:00
python3 scripts/run.py nbv --wait-for-input
```