Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump main to sensors 10.0.0~pre1 #476

Merged
merged 2 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
#============================================================================
# Initialize the project
#============================================================================
project(gz-sensors9 VERSION 9.0.0)
project(gz-sensors10 VERSION 10.0.0)

#============================================================================
# Find gz-cmake
Expand All @@ -16,7 +16,7 @@ find_package(gz-cmake4 REQUIRED)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

gz_configure_project(VERSION_SUFFIX)
gz_configure_project(VERSION_SUFFIX pre1)

#============================================================================
# Set project-specific options
Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Gazebo Sensors 10

### Gazebo Sensors 10.0.0 (20XX-XX-XX)

## Gazebo Sensors 9

### Gazebo Sensors 9.0.0 (2024-09-25)
Expand Down
4 changes: 2 additions & 2 deletions examples/custom_sensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
project(odometer)

find_package(gz-cmake4 REQUIRED)
find_package(gz-sensors9 REQUIRED)
find_package(gz-sensors10 REQUIRED)

add_library(${PROJECT_NAME} SHARED Odometer.cc)
target_link_libraries(${PROJECT_NAME}
PUBLIC gz-sensors9::gz-sensors9)
PUBLIC gz-sensors10::gz-sensors10)
4 changes: 2 additions & 2 deletions examples/imu_noise/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(gz-sensors-noise-demo)

# Find the Gazebo Libraries used directly by the example
find_package(gz-sensors9 REQUIRED)
find_package(gz-sensors10 REQUIRED)

add_executable(sensor_noise main.cc)
target_link_libraries(sensor_noise PUBLIC gz-sensors9)
target_link_libraries(sensor_noise PUBLIC gz-sensors10)
6 changes: 3 additions & 3 deletions examples/loop_sensor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(loop_sensor)

find_package(gz-sensors9 REQUIRED
find_package(gz-sensors10 REQUIRED
# Find built-in sensors
COMPONENTS
altimeter
Expand All @@ -12,10 +12,10 @@ add_subdirectory(../custom_sensor odometer)

add_executable(${PROJECT_NAME} main.cc)
target_link_libraries(${PROJECT_NAME} PUBLIC
gz-sensors9::gz-sensors9
gz-sensors10::gz-sensors10

# Link to custom sensors
odometer

# Link to built-in sensors
gz-sensors9::altimeter)
gz-sensors10::altimeter)
4 changes: 2 additions & 2 deletions examples/save_image/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(gz-sensors-camera-demo)

# Find the Gazebo Libraries used directly by the example
find_package(gz-rendering9 REQUIRED OPTIONAL_COMPONENTS ogre ogre2)
find_package(gz-sensors9 REQUIRED COMPONENTS rendering camera)
find_package(gz-sensors10 REQUIRED COMPONENTS rendering camera)

if (TARGET gz-rendering9::ogre)
add_definitions(-DWITH_OGRE)
Expand All @@ -14,4 +14,4 @@ endif()

add_executable(save_image main.cc)
target_link_libraries(save_image PUBLIC
gz-sensors9::camera)
gz-sensors10::camera)
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format2.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="2">
<name>gz-sensors9</name>
<version>9.0.0</version>
<name>gz-sensors10</name>
<version>10.0.0</version>
<description>Gazebo Sensors : Sensor models for simulation</description>
<maintainer email="[email protected]">Ian Chen</maintainer>
<license>Apache License 2.0</license>
Expand Down
Loading