Skip to content

Commit

Permalink
compilation issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
randaz81 committed Aug 18, 2023
1 parent 52d5a55 commit c5466de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/devices/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# SPDX-FileCopyrightText: 2023 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

# Library
add_subdirectory(RGBDRosConversionUtils)

# Devices
add_subdirectory(ControlBoard_nws_ros)
add_subdirectory(FrameGrabber_nws_ros)
add_subdirectory(frameTransformGet_nwc_ros)
Expand All @@ -12,7 +16,6 @@ add_subdirectory(mobileBaseVelocityControl_nws_ros)
add_subdirectory(multipleAnalogSensorsRosPublishers)
add_subdirectory(odometry2D_nws_ros)
add_subdirectory(Rangefinder2D_nws_ros)
add_subdirectory(RGBDRosConversionUtils)
add_subdirectory(RGBDSensor_nws_ros)
add_subdirectory(RGBDSensorFromRosTopic)
add_subdirectory(RGBDToPointCloudSensor_nws_ros)
4 changes: 0 additions & 4 deletions src/devices/RGBDRosConversionUtils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# SPDX-FileCopyrightText: 2006-2023 Istituto Italiano di Tecnologia (IIT)
# SPDX-License-Identifier: BSD-3-Clause

if(NOT YARP_COMPILE_DEVICE_PLUGINS)
return()
endif()

add_library(RGBDRosConversionUtils OBJECT)

target_sources(RGBDRosConversionUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ bool RGBDToPointCloudSensor_nws_ros::open(yarp::os::Searchable &config)
yCError(RGBDTOPOINTCLOUDSENSORNWSROS) << "Unable to publish data on " << pointCloudTopicName.c_str() << " topic, check your yarp-ROS network configuration";
return false;
}

return true;
}

bool RGBDToPointCloudSensor_nws_ros::close()
Expand Down

0 comments on commit c5466de

Please sign in to comment.