在ubuntu下安装pcl点云库时,网上给出的教程,大多是分了几个步骤,安装pcl和其依赖库,未免过于麻烦,其实有很简单的方法,一行就可以搞定。
sudo apt-get install libpcl-dev
这样,对应的依赖项和pcl库都被安装编译好了,然后使用pcl_viewer测试下吧!
where options are:
-bc r,g,b = background color
-fc r,g,b = foreground color
-ps X = point size (1..64)
-opaque X = rendered point cloud opacity (0..1)
-shading X = rendered surface shading ('flat' (default), 'gouraud', 'phong')
-position x,y,z = absolute point cloud position in metres
-orientation r,p,y = absolute point cloud orientation (roll, pitch, yaw) in radians
-ax n = enable on-screen display of XYZ axes and scale them to n
-ax_pos X,Y,Z = if axes are enabled, set their X,Y,Z position in space (default 0,0,0)
-cam (*) = use given camera settings as initial view
(*) [Clipping Range / Focal Point / Position / ViewUp / Distance / Field of View Y / Window Size / Window Pos] or use a <filename.cam> that contains the same information.
-multiview 0/1 = enabl