From 57da0e8c789fc600bc5886748e835a65a037cf33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20W=C3=BChr?= <155440215+fwuehr1995@users.noreply.github.com> Date: Tue, 9 Apr 2024 08:17:14 +0200 Subject: [PATCH 1/3] Update README.md - Add missing CMake dependency The CMake version shipped from Ubuntu 22.04 (as recommended) is not suitable for this project. As requested there is the need for CMake 3.25.0 or higher. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b5954ed..dfd1e12 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ Dependencies (Recommended: Ubuntu 22.04): * Proj: `sudo apt install libproj-dev` * Protobuf (Map Service): `sudo apt install libprotobuf-dev protobuf-compiler` * Curl (Map Service): `sudo apt install libcurl4-openssl-dev` +* CMake Version 3.25.0 or higher (not standard for Ubuntu 22.04, needs to be installed from source) You should also create the underlay, which is the underlying workspace with ROS2 Tools available. It behaves similarly to a virtual environment and allows having multiple ROS2 versions installed on the system and use a specific one for each project. The underlay can be created automatically for every terminal session or manually at the beginning of a new session like this: ```bash From 955aee9eeede87ad996068039da0ec68dd0d974f Mon Sep 17 00:00:00 2001 From: Leon De Andrade Date: Fri, 12 Apr 2024 14:58:08 +0200 Subject: [PATCH 2/3] Add version specifier --- README.md | 12 ++++++------ src/dsd_rail_horizon/config/parameters.yaml | 8 ++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index dfd1e12..7e2db71 100644 --- a/README.md +++ b/README.md @@ -29,12 +29,12 @@ git submodule update --init --recursive Dependencies (Recommended: Ubuntu 22.04): * [ROS2 Humble](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html) -* Python: `sudo apt install python` -* Boost: `sudo apt install libboost-all-dev` -* Proj: `sudo apt install libproj-dev` -* Protobuf (Map Service): `sudo apt install libprotobuf-dev protobuf-compiler` -* Curl (Map Service): `sudo apt install libcurl4-openssl-dev` -* CMake Version 3.25.0 or higher (not standard for Ubuntu 22.04, needs to be installed from source) +* Python ^3.10: `sudo apt install python` +* Boost ^1.74: `sudo apt install libboost-all-dev` +* Proj ^8.2 : `sudo apt install libproj-dev` +* Protobuf ^3.12 (Map Service): `sudo apt install libprotobuf-dev protobuf-compiler` +* Curl ^7.81 (Map Service): `sudo apt install libcurl4-openssl-dev` +* CMake Version ^3.25: [Install via official Kitware repositories](https://apt.kitware.com/) You should also create the underlay, which is the underlying workspace with ROS2 Tools available. It behaves similarly to a virtual environment and allows having multiple ROS2 versions installed on the system and use a specific one for each project. The underlay can be created automatically for every terminal session or manually at the beginning of a new session like this: ```bash diff --git a/src/dsd_rail_horizon/config/parameters.yaml b/src/dsd_rail_horizon/config/parameters.yaml index 0656567..bbe5dad 100755 --- a/src/dsd_rail_horizon/config/parameters.yaml +++ b/src/dsd_rail_horizon/config/parameters.yaml @@ -1,7 +1,3 @@ ---- -# SPDX-FileCopyrightText: Copyright DB Netz AG -# SPDX-License-Identifier: CC0-1.0 - rail_horizon_publisher: ros__parameters: rail_horizon_namespace: /rail_horizon/ @@ -30,8 +26,8 @@ rail_horizon_publisher: coupled_localization_topic: /coupled_localization coupled_localization_use_geoid: false spoof_gnss_position: true - gnss_position: [10.131524972366783, 53.498649583384044, 63.99] # Mittlerer Landweg - #gnss_position: [10.205911539920013, 53.490093170540035, 63.99] # Bergedorf + # gnss_position: [10.131524972366783, 53.498649583384044, 63.99] # Mittlerer Landweg + gnss_position: [10.205911539920013, 53.490093170540035, 63.99] # Bergedorf gnss_rotation: [0.0, 0.0, 0.0] gnss_swap_lat_lon: false map_roi: [9.991913, 53.477225, 10.237787, 53.567761] # map_roi - region of interest From 786977b523a2af3af5766d067a237735e256eecd Mon Sep 17 00:00:00 2001 From: Leon De Andrade Date: Wed, 17 Apr 2024 14:18:16 +0200 Subject: [PATCH 3/3] Undo changes to config --- src/dsd_rail_horizon/config/parameters.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/dsd_rail_horizon/config/parameters.yaml b/src/dsd_rail_horizon/config/parameters.yaml index bbe5dad..0656567 100755 --- a/src/dsd_rail_horizon/config/parameters.yaml +++ b/src/dsd_rail_horizon/config/parameters.yaml @@ -1,3 +1,7 @@ +--- +# SPDX-FileCopyrightText: Copyright DB Netz AG +# SPDX-License-Identifier: CC0-1.0 + rail_horizon_publisher: ros__parameters: rail_horizon_namespace: /rail_horizon/ @@ -26,8 +30,8 @@ rail_horizon_publisher: coupled_localization_topic: /coupled_localization coupled_localization_use_geoid: false spoof_gnss_position: true - # gnss_position: [10.131524972366783, 53.498649583384044, 63.99] # Mittlerer Landweg - gnss_position: [10.205911539920013, 53.490093170540035, 63.99] # Bergedorf + gnss_position: [10.131524972366783, 53.498649583384044, 63.99] # Mittlerer Landweg + #gnss_position: [10.205911539920013, 53.490093170540035, 63.99] # Bergedorf gnss_rotation: [0.0, 0.0, 0.0] gnss_swap_lat_lon: false map_roi: [9.991913, 53.477225, 10.237787, 53.567761] # map_roi - region of interest