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 Center および File ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by