Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion 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-sensors10 VERSION 10.0.0)
project(gz-sensors VERSION 10.0.0)

#============================================================================
# Find gz-cmake
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-sensors10 REQUIRED)
find_package(gz-sensors REQUIRED)

add_library(${PROJECT_NAME} SHARED Odometer.cc)
target_link_libraries(${PROJECT_NAME}
PUBLIC gz-sensors10::gz-sensors10)
PUBLIC gz-sensors::gz-sensors)
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-sensors10 REQUIRED)
find_package(gz-sensors REQUIRED)

add_executable(sensor_noise main.cc)
target_link_libraries(sensor_noise PUBLIC gz-sensors10)
target_link_libraries(sensor_noise PUBLIC gz-sensors)
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-sensors10 REQUIRED
find_package(gz-sensors 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-sensors10::gz-sensors10
gz-sensors::gz-sensors

# Link to custom sensors
odometer

# Link to built-in sensors
gz-sensors10::altimeter)
gz-sensors::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-sensors10 REQUIRED COMPONENTS rendering camera)
find_package(gz-sensors 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-sensors10::camera)
gz-sensors::camera)
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?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-sensors10</name>
<name>gz-sensors</name>
<version>10.0.0</version>
<description>Gazebo Sensors : Sensor models for simulation</description>
<maintainer email="ichen@openrobotics.org">Ian Chen</maintainer>
Expand Down