Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ojh6404 committed Aug 3, 2024
2 parents 70dd01c + b18dd0e commit 0823c3f
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This package is build upon
- ROS1 (Noetic)
- python3.9, python3.9-dev, python3.9-venv
- catkin virtualenv (python>=3.9 used for DEVA)
- Nvidia Driver>=530 (for cuda-12.1)
- (Optional) docker and nvidia-container-toolkit (for environment safety)

### Build package
Expand All @@ -37,6 +38,22 @@ cd deep_vision_ros/deep_vision_ros && ./prepare.sh
cd ~/ros/catkin_ws && catkin b
```

#### using anaconda (Recommended)
You can build ROS package with anaconda environment.
```bash
sudo apt-get install libxml2-dev libxslt-dev libopenblas-dev libspatialindex-dev freeglut3-dev libsuitesparse-dev libblas-dev liblapack-dev libxcb-cursor0
conda create -n ros-env python=3.9 -y
conda activate ros-env
pip install psutil==5.5.1 empy==3.3.2 rospkg gnupg pycryptodomex catkin-tools wheel cython # for ROS build
mkdir -p ~/ros/catkin_ws/src && cd ~/ros/catkin_ws/src
git clone https://github.com/ojh6404/deep_vision_ros.git
wstool init
wstool merge -t . deep_vision_ros/deep_vision_ros/rosinstall.noetic
wstool update -t . # jsk-ros-pkg/jsk_visualization for GUI
cd deep_vision_ros/deep_vision_ros && ./prepare.sh
cd ~/ros/catkin_ws && catkin b
```

#### using docker (Recommended)
Otherwise, you can build only `deep_vision_ros_utils` package for using intractive prompt gui
```bash
Expand All @@ -51,7 +68,7 @@ and build whole package on docker environment.
```bash
source ~/ros/catkin_ws/devel/setup.bash
roscd deep_vision_ros_utils/../deep_vision_ros
docker build --build-arg CUDA_VERSION=11.3 -t deep_vision_ros . # default is 11.3, you can also build with 12.1
docker build -t deep_vision_ros .
```

## How to use
Expand Down

0 comments on commit 0823c3f

Please sign in to comment.