Das Problem mit der Erreichbarkeit der HS-Koblenz ist behoben. Es können sich wieder alle anmelden.

Commit 08cdc9ff authored by Patrik Schmidt's avatar Patrik Schmidt 🤖
Browse files

init first tutorial

parent 40d2b790
......@@ -7,6 +7,7 @@
.idea/**/usage.statistics.xml
.idea/**/dictionaries
.idea/**/shelf
.idea
# Generated files
.idea/**/contentModel.xml
......@@ -32,6 +33,7 @@
# .idea/*.iml
# .idea/modules
# CMake
cmake-build-*/
......
cmake_minimum_required(VERSION 3.12)
project(pcl_tutorial)
find_package(PCL REQUIRED)
include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINTIONS})
set(CMAKE_CXX_STANDARD 14)
add_executable(pcl_tutorial main.cpp)
#target_link_libraries(pcl_tutorial ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})
target_link_libraries(pcl_tutorial ${PCL_LIBRARIES})
#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>
int
main (int argc, char** argv)
{
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>);
pcl::io::loadPCDFile ("../room_scan1.pcd", *cloud);
pcl::visualization::CloudViewer viewer ("Demo Viewer");
viewer.showCloud(cloud);
while(!viewer.wasStopped()){
}
return (0);
}
\ No newline at end of file
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment