From 4733b94d76b9d9413b7a9fc607ea269e1c1944e3 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Sat, 11 Feb 2023 00:43:05 +0000 Subject: [PATCH] bump transport and msgs Signed-off-by: Ian Chen --- .github/ci/packages.apt | 4 ++-- CMakeLists.txt | 8 ++++---- tutorials/thermal_camera.md | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/ci/packages.apt b/.github/ci/packages.apt index ef89ab5e..ed5a999d 100644 --- a/.github/ci/packages.apt +++ b/.github/ci/packages.apt @@ -1,9 +1,9 @@ libgz-cmake3-dev libgz-common5-dev libgz-math7-dev -libgz-msgs9-dev +libgz-msgs10-dev libgz-rendering8-dev libgz-tools2-dev -libgz-transport12-dev +libgz-transport13-dev libsdformat13-dev xvfb diff --git a/CMakeLists.txt b/CMakeLists.txt index 27549de1..0a8792cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,8 +58,8 @@ set(GZ_COMMON_VER ${gz-common5_VERSION_MAJOR}) #-------------------------------------- # Find gz-transport -gz_find_package(gz-transport12 REQUIRED) -set(GZ_TRANSPORT_VER ${gz-transport12_VERSION_MAJOR}) +gz_find_package(gz-transport13 REQUIRED) +set(GZ_TRANSPORT_VER ${gz-transport13_VERSION_MAJOR}) #-------------------------------------- # Find gz-rendering @@ -84,8 +84,8 @@ endif() #-------------------------------------- # Find gz-msgs -gz_find_package(gz-msgs9 REQUIRED) -set(GZ_MSGS_VER ${gz-msgs9_VERSION_MAJOR}) +gz_find_package(gz-msgs10 REQUIRED) +set(GZ_MSGS_VER ${gz-msgs10_VERSION_MAJOR}) #-------------------------------------- # Find SDFormat diff --git a/tutorials/thermal_camera.md b/tutorials/thermal_camera.md index 37097981..889737ff 100644 --- a/tutorials/thermal_camera.md +++ b/tutorials/thermal_camera.md @@ -353,12 +353,12 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(image-listener) # Find the Gazebo Libraries used directly by the example -find_package(gz-msgs9 REQUIRED) -find_package(gz-transport12 REQUIRED) +find_package(gz-msgs10 REQUIRED) +find_package(gz-transport13 REQUIRED) add_executable(${PROJECT_NAME} main.cpp) -target_link_libraries(${PROJECT_NAME} PUBLIC gz-msgs9 gz-transport12) -target_include_directories(${PROJECT_NAME} PUBLIC ${gz_msgs9_INCLUDE_DIRS}) +target_link_libraries(${PROJECT_NAME} PUBLIC gz-msgs10 gz-transport13) +target_include_directories(${PROJECT_NAME} PUBLIC ${gz_msgs10_INCLUDE_DIRS}) ``` Although most of the code above is described in the comments, let's go over the key points again: