필터 지우기
필터 지우기

Unrecognized field name ptCloudData

조회 수: 2 (최근 30일)
Pavan Kumar B N
Pavan Kumar B N 2021년 6월 10일
편집: Pavan Kumar B N 2021년 6월 11일
When I try to run this example openExample('shared_driving_fusion_lidar/DetectClassifyAndTrackOrientedBoundingBoxInLidarExample'),
it is giving "Unrecognized field name "ptCloudData"". Though I have required toolboxes.
Please help to fix this problem.

채택된 답변

Elad Kivelevitch
Elad Kivelevitch 2021년 6월 10일
편집: Elad Kivelevitch 2021년 6월 10일
Have you used the supporting function to download the supporting data?
The first line of the example is:
[ptClouds,pretrainedModel] = helperDownloadData;
  댓글 수: 1
Pavan Kumar B N
Pavan Kumar B N 2021년 6월 11일
편집: Pavan Kumar B N 2021년 6월 11일
Thank you it fixed the problem. However if I use like below, still it is giving the same error.
% First way
dataFile = 'lidarData_1.mat';
data = load(dataFile);
ptClouds = data.ptCloudData;
ptCloud = ptClouds{1};
% ----------------------
% as per the documentation even if use like this still it is giving error
% Second way
[ptClouds] = helperDownloadData;
ptCloud = ptClouds{1};
function [lidarData] = helperDownloadData
dataFile = 'lidarData_1.mat';
data1 = load(dataFile);
lidarData = data1.ptCloudData;

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Point Cloud Processing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by