Skip to content

Commit 7f16064

Browse files
committed
Update readme
Signed-off-by: Alberto Tudela <[email protected]>
1 parent ea9397d commit 7f16064

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# depth_anything_v2_ros2
2-
![ROS2](https://img.shields.io/badge/ros2-humble-blue?logo=ros&logoColor=white)
2+
![ROS2](https://img.shields.io/badge/ros2-jazzy-blue?logo=ros&logoColor=white)
33
[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)
44
[![Build](https://github.com/grupo-avispa/depth_anything_v2_ros2/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/grupo-avispa/depth_anything_v2_ros2/actions/workflows/build.yml)
55

@@ -11,14 +11,14 @@ This package is a ROS2 wrapper for the [depth_anything_v2](https://github.com/De
1111
| ![RGB](doc/raw.png) | ![Depth](doc/depth.png) |
1212

1313

14-
The depth_anything_v2_ros2 package has been tested under [ROS2] Humble on [Ubuntu] 22.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.
14+
The depth_anything_v2_ros2 package has been tested under [ROS2] jazzy on [Ubuntu] 22.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.
1515

1616
## Installation
1717
### Building from Source
1818

1919
#### Dependencies
2020

21-
- [Robot Operating System (ROS) 2](https://docs.ros.org/en/humble/) (middleware for robotics),
21+
- [Robot Operating System (ROS) 2](https://docs.ros.org/en/jazzy/) (middleware for robotics),
2222
- [depth_anything_v2](https://github.com/DepthAnything/Depth-Anything-V2) (library for depth estimation),
2323
- [torch](https://pytorch.org/) (deep learning framework)
2424

@@ -27,19 +27,15 @@ The depth_anything_v2_ros2 package has been tested under [ROS2] Humble on [Ubunt
2727
To build from source, clone the latest version from the main repository into your colcon workspace and install the python dependencies by running the following commands:
2828
```bash
2929
cd colcon_workspace/src
30-
git clone https://github.com/grupo-avispa/depth_anything_v2_ros2.git -b main
31-
cd depth_anything_v2_ros2
32-
git submodule init
33-
git submodule update
34-
cd ..
30+
git clone --recurse-submodules https://github.com/grupo-avispa/depth_anything_v2_ros2.git -b main
3531
pip3 install -r requirements.txt
3632
```
3733
Before building, make sure to download the depth_anything_v2 model weights and place them in the `models` directory. You can download them [here](https://huggingface.co/depth-anything).
3834

3935
Then, install the ROS2 dependencies using rosdep and build the package using:
4036
```bash
4137
cd colcon_workspace
42-
rosdep install -i --from-path src --rosdistro humble -y
38+
rosdep install -i --from-path src --rosdistro jazzy -y
4339
colcon build --symlink-install
4440
```
4541

@@ -92,5 +88,5 @@ This node subscribes to a camera topic and publishes the depth map of the scene.
9288

9389

9490
[Ubuntu]: https://ubuntu.com/
95-
[ROS2]: https://docs.ros.org/en/humble/
96-
[sensor_msgs/Image]: https://docs.ros2.org/humble/api/sensor_msgs/msg/Image.html
91+
[ROS2]: https://docs.ros.org/en/jazzy/
92+
[sensor_msgs/Image]: https://docs.ros2.org/jazzy/api/sensor_msgs/msg/Image.html

0 commit comments

Comments
 (0)