当前位置:网站首页>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;
}边栏推荐
- How to retrieve the password for opening Excel files
- What are the six steps of the software development process? How to draw software development flow chart?
- Is the fund of futures account safe? How to open an account?
- Check log4j problems using stain analysis
- Android development interview was badly hit in 3 years, and now the recruitment technical requirements are so high?
- On the language internationalization of Yongzhong Office
- EasyCVR通过国标GB28181协议接入设备,出现设备自动拉流是什么原因?
- Countdownlatch blocking wait for multithreading concurrency
- Flex layout
- 期货账户的资金安全吗?怎么开户?
猜你喜欢

The method of real-time tracking the current price of London Silver

Mujoco XML modeling

Nearly 60% of the employees strongly support Ctrip's "3+2" working mode, and work at home for two days a week

Common design parameters of solid rocket motor

Android development interview was badly hit in 3 years, and now the recruitment technical requirements are so high?

How to write good code - Defensive Programming Guide

transform. Forward and vector3 Differences in the use of forward

New 95 community system whole station source code

SQL injection vulnerability (MySQL and MSSQL features)

An example of data analysis of an old swatch and an old hard disk disassembly and assembly combined with the sensor of an electromagnetic press
随机推荐
Review Net 20th anniversary development and 51aspx growth
Session layer of csframework, server and client (1)
Leetcode 1380. Lucky numbers in the matrix (save the minimum number of each row and the maximum number of each column)
D @ safety and dip1000
Vue uses keep alive to cache page optimization projects
Countdownlatch blocking wait for multithreading concurrency
LeetCode 148. Sort linked list
L'ouverture d'un compte d'actions en ligne est - elle sécurisée? Fiable?
February 16, 2022 Daily: graph neural network self training method under distribution and migration
Blackwich: the roadmap of decarbonization is the first step to realize the equitable energy transformation in Asia
An example of data analysis of an old swatch and an old hard disk disassembly and assembly combined with the sensor of an electromagnetic press
Oracle TRUNC function processing date format
Is Huishang futures a regular futures platform? Is it safe to open an account in Huishang futures?
Set the style of QT property sheet control
At present, where is the most formal and safe account opening for futures speculation? How to open a futures account?
[2. Basics of Delphi grammar] 4 Object Pascal operators and expressions
Mujoco's biped robot Darwin model
Smart factory digital management system software platform
股票万1免5证券开户是合理安全的吗,怎么讲
Replace UUID, nanoid is faster and safer!