当前位置:网站首页>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;
}
边栏推荐
- Fresh, 2022 advanced Android interview must know 100 questions (interview questions + answer analysis)
- Extract the compressed package file and retrieve the password
- Length of learning and changing
- Is the software of futures pioneer formal and safe? Which futures company is safer to choose?
- Yolov5 practice: teach object detection by hand
- This is the latest opportunity of the London bank trend
- 【Try to Hack】vulnhub DC4
- People help ant help task platform repair source code
- The difference and relationship between iteratible objects, iterators and generators
- Alibaba cloud Li Feifei: China's cloud database has taken the lead in many mainstream technological innovations abroad
猜你喜欢
Happy new year | 202112 monthly summary
Growing up in the competition -- (Guangyou's most handsome cub) Pikachu walking
Mujoco XML modeling
How to retrieve the password for opening Excel files
Gameframework eating guide
New 95 community system whole station source code
[C supplement] [string] display the schedule of a month by date
【Try to Hack】vulnhub DC4
Penetration practice vulnhub range Nemesis
Rotation order and universal lock of unity panel
随机推荐
Check log4j problems using stain analysis
Penetration practice vulnhub range Nemesis
ISO 27001 Information Security Management System Certification
Small exercise -- subnet division and summary
Intelligent operation and maintenance practice: banking business process and single transaction tracking
Slider verification code identification gadget display
Unity3d extended toolbar
期货先锋这个软件正规吗安全吗?选择哪家期货公司更安全?
Countdownlatch blocking wait for multithreading concurrency
Happy new year | 202112 monthly summary
Oracle TRUNC function processing date format
SCP -i private key usage
Debiasing word embeddings | talking about word embedding and deviation removal # yyds dry goods inventory #
Distributed task queue: Celery usage record
Smart factory digital management system software platform
(6) VIM editor MV cat redirection standard input and output more pipe symbols head tail
Technical secrets of ByteDance data platform: implementation and optimization of complex query based on Clickhouse
Basic usage of shell script
Zabbix报警执行远程命令
The latest software scheme of the intelligent information management system of the armed police force