Borrar filtros
Borrar filtros

自分のカメラデバイスでのSLAMについて

1 visualización (últimos 30 días)
圭介 川邉
圭介 川邉 el 15 de Nov. de 2021
Editada: 圭介 川邉 el 17 de Nov. de 2021
私は以下のサイト
参考にしてファイル名「stereoslam.m」として自分の所持しているステレオカメラでSLAMを実行しようと考えています。
Map Initialization」の項目まではエラーが生じませんでしたが「Data Management and Visualization」の項目で以下のエラーが生じます。
エラー: worldpointset
featureIndicesは要素数が 2 である配列にする必要があります。
エラー: worldpointset/checkFeatureIndices (707)
validateattributes(featureIndices, {'numeric'}, ...
エラー: worldpointset/addCorrespondences (298)
checkFeatureIndices(obj, featureIndices, numel(pointIndices));
エラー: stereoslam (74)
mapPointSet = addCorrespondences(mapPointSet, currKeyFrameId,
stereoMapPointsIdx, matchedPairs(:, 1));
上記の「worldpointset.m」関数のコード内の「featureIndices」の要素数を変更することはできるのですか?
自分で「worldpointset.m」に書き込もうとすると「worldpointset.m」の書き込みエラーが表示され、worldpointset.m内にコードを変更することができないです。
このエラーの解決方法をどなたか教えていただけませんか。
  4 comentarios
Atsushi Ueno
Atsushi Ueno el 16 de Nov. de 2021
🤔
圭介 川邉
圭介 川邉 el 17 de Nov. de 2021
Editada: 圭介 川邉 el 17 de Nov. de 2021
本件の質問について返信をしていただきありがとうございました。
helperFindValidFeaturePairs関数を実行した後に
helperReconstructFromStereo関数を実行したところ、indexPairs内の値が空間数にならず、2×2 の uint32 行列が得られ、
xyzPoints=[]の状態に戻しても以下のエラーを解消することができました。
エラー: stereoslam (74)
mapPointSet = addCorrespondences(mapPointSet, currKeyFrameId,
stereoMapPointsIdx, matchedPairs(:, 1));
本件のエラーは自己解決することはできたのですが、新たに別件でエラーが生じたため別で質問してみます。
エラーの原因について回答していただき、ありがとうございました。

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!