[Ros]3 Linux Programming exercises

Source: Internet
Author: User

Do It Together Rgb-slam (2) experiment

Second speaking from the image to the point cloud

Http://www.cnblogs.com/gaoxiang12/p/4652478.html

1[Email protected]:~$ cd Codelearn2[Email protected]:~/codelearn$ CD Depth2pointcloud3[Email protected]:~/codelearn/depth2pointcloud$ mkdir bin include Lib Src build4[Email protected]:~/codelearn/depth2pointcloud$ Touch CMakeLists.txt5[Email protected]:~/codelearn/depth2pointcloud$ Touch src/GeneratePointCloud.cpp6[Email protected]:~/codelearn/depth2pointcloud$ Touch src/CMakeLists.txt7[Email protected]:~/codelearn/depth2pointcloud$ CD Build8[Email protected]:~/codelearn/depth2pointcloud/build$ CMake.9--The C compiler identification isGNUTen--The CXX compiler identification isGNU One--Check forWorking C Compiler:/usr/bin/GCC A--Check forWorking C Compiler:/USR/BIN/GCC--Works ---detecting C Compiler ABI Info ---Detecting C compiler ABI Info- Done the--Check forWorking CXX Compiler:/usr/bin/c++ ---Check forWorking CXX Compiler:/usr/bin/c++--Works ---detecting CXX Compiler ABI Info ---Detecting CXX compiler ABI Info- Done +--checking forModule'Eigen3' ---Found Eigen3, version3.2.7 +--Found Eigen:/usr/include/Eigen3 A--Boost version:1.46.1 at--Found The following Boost libraries: ---system ---filesystem ---Thread ---Date_time ---IOStreams in--Serialization ---checking forModule'Openni-dev' to--Package'Openni-dev'Not found +--Found Openni:/usr/lib/libopenni.so ---Found libusb-1.0:/usr/include the--looking forPcl_common *--Found Pcl_common:/usr/lib/libpcl_common.so $--looking forPcl_octreePanax Notoginseng--Found Pcl_octree:/usr/lib/libpcl_octree.so ---looking forPcl_io the--Found Pcl_io:/usr/lib/libpcl_io.so +--Found PCL:/usr/lib/libboost_system-mt.so;/usr/lib/libboost_filesystem-mt.so;/usr/lib/libboost_thread-mt.so; Pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/libboost_iostreams-mt.so;/usr/lib/libboost_ serialization-mt.so;optimized;/usr/lib/libpcl_common.so;debug;/usr/lib/libpcl_common.so;optimized;/usr/lib/ Libpcl_octree.so;debug;/usr/lib/libpcl_octree.so;/usr/lib/libopenni.so;vtkcommon;vtkrendering;vtkhybrid; vtkcharts;optimized;/usr/lib/libpcl_io.so;debug;/usr/lib/libpcl_io.so;/usr/lib/libboost_system-mt.so;/usr/lib/ libboost_filesystem-mt.so;/usr/lib/libboost_thread-mt.so;pthread;/usr/lib/libboost_date_time-mt.so;/usr/lib/ libboost_iostreams-mt.so;/usr/lib/libboost_serialization-mt.so;/usr/lib/Libopenni.so;vtkcommon;vtkrendering;vtkhybrid;vtkcharts A--Configuring Done theWarning:target"Generate_pointcloud"Requests linking to Directory"/usr/lib".  Targets may link is only to libraries. CMake isdropping the item. +--Generating Done ---Build files has been written to:/home/exbot/codelearn/depth2pointcloud/Build $[Email protected]:~/codelearn/depth2pointcloud/build$ Make $ scanning dependencies of target Generate_pointcloud -[ -%] Building CXXObjectsrc/cmakefiles/generate_pointcloud.dir/GENERATEPOINTCLOUD.CPP.O -Linking CXX executable. /.. /bin/Generate_pointcloud the[ -%] Built target Generate_pointcloud -[Email protected]:~/codelearn/depth2pointcloud/build$'/home/exbot/codelearn/depth2pointcloud/bin/generate_pointcloud' WuyiPoint cloud size =0 theTerminate called after throwing an instance of'pcl::ioexception' -What ():: [PCL::P Cdwriter::writeascii] Input point Cloud have no data! Wu aborted (core dumped) -[Email protected]:~/codelearn/depth2pointcloud/build$ CD,,/ AboutBASH:CD:,,/: No Such file or directory $[Email protected]:~/codelearn/depth2pointcloud/build$ CD. / -[Email protected]:~/codelearn/depth2pointcloud$ bin/Generate_pointcloud -Point cloud size =204186 - Point Cloud saved. A[Email protected]:~/codelearn/depth2pointcloud$ pcl_viewer data/POINTCLOUD.PCD +The viewer window provides interactive commands; forHelp, press'h'Or'H'  fromwithin the window. the> Loading data/pointcloud.pcd [Done,3750Ms:204186points] -Available dimensions:x y z rgba

[Ros]3 Linux Programming exercises

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.