Comments (1)
修改CMakeLists.txt
如下
cmake_minimum_required(VERSION 2.8.11)
project(rviz_cloud_annotation)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
interactive_markers
pcl_conversions
roscpp
tf
visualization_msgs
geometry_msgs
eigen_conversions
cmake_modules
std_msgs
rviz
pcl_ros
)
find_package(OpenCV)
find_package(Eigen3 REQUIRED)
find_package(Boost REQUIRED)
find_package(PCL )
message(WARNING "PCL 1.8 found")
set(MAYBE_PCL_COMMON_COLORS "")
find_package(PCL REQUIRED)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/pcl_include)
set(MAYBE_PCL_COMMON_COLORS "${CMAKE_CURRENT_SOURCE_DIR}/pcl_include/colors.cpp")
find_package(Qt5Widgets REQUIRED)
set(CMAKE_CXX_STANDARD 11) # C++11...
set(CMAKE_AUTOMOC ON)
add_definitions(-DQT_NO_KEYWORDS)
add_definitions(${PCL_DEFINITIONS})
link_directories(${PCL_LIBRARY_DIRS})
################################################
Declare ROS messages, services and actions
################################################
add_message_files(
FILES
UndoRedoState.msg
RectangleSelectionViewport.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)
###################################
catkin specific configuration
###################################
include_directories(
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${Eigen3_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
add_executable(rviz_cloud_annotation_node
src/rviz_cloud_annotation.cpp
${MAYBE_PCL_COMMON_COLORS}
)
add_dependencies(rviz_cloud_annotation_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(
rviz_cloud_annotation_node
rviz_cloud_annotation_com
${PCL_LIBRARIES}
${Boost_LIBRARIES}
${Eigen3_LIBRARIES}
${catkin_LIBRARIES}
)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
add_library(rviz_cloud_annotation_plugin
src/rviz_cloud_annotation_plugin.cpp
src/rviz_select_tool.cpp
${MAYBE_PCL_COMMON_COLORS}
)
add_dependencies(rviz_cloud_annotation_plugin ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(rviz_cloud_annotation_plugin
${PCL_LIBRARIES}
${Boost_LIBRARIES}
${Eigen3_LIBRARIES}
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
Qt5::Widgets
)
add_library(rviz_cloud_annotation_com
src/rviz_cloud_annotation_points.cpp
src/rviz_cloud_annotation_points_io.cpp
src/rviz_cloud_annotation_point_plane.cpp
src/rviz_cloud_annotation_class.cpp
src/rviz_cloud_annotation_undo.cpp
src/point_neighborhood.cpp
src/point_neighborhood_search.cpp
src/point_cloud_plane_curves_extract.cpp
src/point_cloud_plane_params.cpp
${MAYBE_PCL_COMMON_COLORS}
)
add_dependencies(rviz_cloud_annotation_com ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(rviz_cloud_annotation_com
${PCL_LIBRARIES}
${Boost_LIBRARIES}
${Eigen3_LIBRARIES}
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
Qt5::Widgets
)
from pcat_open_source.
Related Issues (20)
- 标注的标签
- sh run.sh报错,求指教 HOT 2
- 启动问题 HOT 1
- Does ubuntu18.04 work? HOT 3
- 第二次运行run.sh会报错 HOT 1
- No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so HOT 2
- 可以支持las的文件格式吗 HOT 1
- 为什么只能打开给的示例PCD,自己的PCD文件格式打不开,急求告知!!谢谢 HOT 1
- 请问怎样加快pcd文件读取速度?
- 请问标注时能否保留上一帧的标注结果?
- 能否将标注结果读取到rviz中?
- rviz_cloud_annotation: invalid action 0 for selection. HOT 1
- 您好!我想请教下怎么把pcd 对应的图片显示出来呢?我把图片放到image 文件夹里,但是在标注的时候还是无法同步显示出来 HOT 1
- 我也遇到这个问题ubuntu18.04 ROS-Kinect to ROS-Melodic PClpcl-pcl-1.9.0 HOT 1
- 为什么我选择多边形选择无法自动生成bbox? HOT 2
- 中文乱码
- Some fixing in noetic
- some confusions about Bbox label definition HOT 3
- 为什么不支持Python3? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcat_open_source.