当前位置:网站首页>Opencv map reading test -- error resolution
Opencv map reading test -- error resolution
2022-07-01 18:19:00 【Super__ Idol】
01. The test program :
#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>);
//* Open the point cloud file
if (pcl::io::loadPCDFile<pcl::PointXYZ>("rabbit.pcd", *cloud) == -1) {
PCL_ERROR("Couldn't read file rabbit.pcd\n");
return(-1);
}
std::cout << cloud->points.size() << std::endl;
pcl::visualization::CloudViewer viewer("cloud viewer");
viewer.showCloud(cloud);
while (!viewer.wasStopped())
{
}
system("pause");
return 0;
}
边栏推荐
- Single element of an ordered array
- Nearly 60% of the employees strongly support Ctrip's "3+2" working mode, and work at home for two days a week
- Is online stock account opening safe? Is it reliable?
- APK签名流程介绍[通俗易懂]
- Redis -- data type and operation
- (6) VIM editor MV cat redirection standard input and output more pipe symbols head tail
- Batch export all pictures in PPT in one second
- What are the six steps of the software development process? How to draw software development flow chart?
- MySQL -- explain performance optimization
- Enter wechat applet
猜你喜欢
Android development interview was badly hit in 3 years, and now the recruitment technical requirements are so high?
Htt [ripro network disk link detection plug-in] currently supports four common network disks
The difference and relationship between iteratible objects, iterators and generators
Leetcode problem solving series -- continuous positive sequence with sum as s (sliding window)
[beauty detection artifact] come on, please show your unique skill (is this beauty worthy of the audience?)
Set the style of QT property sheet control
Flex layout
Bug of QQ browser article comment: the commentator is wrong
From comedians to NBA Zhan Huang, check the encrypted advertisements during this super bowl
Thinkphp6 - CMS multi wechat management system source code
随机推荐
Apk signature process introduction [easy to understand]
ISO 27001 Information Security Management System Certification
Happy new year | 202112 monthly summary
From comedians to NBA Zhan Huang, check the encrypted advertisements during this super bowl
The latest intelligent factory MES management system software solution
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
At present, where is the most formal and safe account opening for futures speculation? How to open a futures account?
L'ouverture d'un compte d'actions en ligne est - elle sécurisée? Fiable?
How to write good code - Defensive Programming Guide
Nearly 60% of the employees strongly support Ctrip's "3+2" working mode, and work at home for two days a week
Highly reliable program storage and startup control system based on anti fuse FPGA and QSPI flash
Penetration practice vulnhub range Keyring
What are the legal risks of NFT brought by stars such as curry and O'Neill?
Slider verification code identification gadget display
Length of learning and changing
js如何将带有分割符的字符串转化成一个n维数组
transform. Forward and vector3 Differences in the use of forward
Zabbix报警执行远程命令
Win10+vs2019 Community Edition compiling OpenSSL
Yuancosmos game farmersworld farmers world - core content of the second conference in China!