-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: methylDragon <[email protected]>
- Loading branch information
1 parent
b28c237
commit 13c80b6
Showing
8 changed files
with
64 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
project(ignition-sensors-noise-demo) | ||
project(gz-sensors-noise-demo) | ||
|
||
# Find the Gazebo Libraries used directly by the example | ||
find_package(ignition-sensors7 REQUIRED) | ||
find_package(gz-sensors7 REQUIRED) | ||
|
||
add_executable(sensor_noise main.cc) | ||
target_link_libraries(sensor_noise PUBLIC ignition-sensors7) | ||
target_link_libraries(sensor_noise PUBLIC gz-sensors7) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
project(ignition-sensors-camera-demo) | ||
project(gz-sensors-camera-demo) | ||
|
||
# Find the Gazebo Libraries used directly by the example | ||
find_package(ignition-rendering7 REQUIRED OPTIONAL_COMPONENTS ogre ogre2) | ||
find_package(ignition-sensors7 REQUIRED COMPONENTS rendering camera) | ||
find_package(gz-rendering7 REQUIRED OPTIONAL_COMPONENTS ogre ogre2) | ||
find_package(gz-sensors7 REQUIRED COMPONENTS rendering camera) | ||
|
||
if (TARGET ignition-rendering7::ogre) | ||
if (TARGET gz-rendering7::ogre) | ||
add_definitions(-DWITH_OGRE) | ||
endif() | ||
if (TARGET ignition-rendering7::ogre2) | ||
if (TARGET gz-rendering7::ogre2) | ||
add_definitions(-DWITH_OGRE2) | ||
endif() | ||
|
||
add_executable(save_image main.cc) | ||
target_link_libraries(save_image PUBLIC | ||
ignition-sensors7::camera) | ||
gz-sensors7::camera) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters