필터 지우기
필터 지우기

importrobot but can not show visual geometries.

조회 수: 27 (최근 30일)
Chuguang Pan
Chuguang Pan 2022년 3월 10일
답변: Hannes Daepp 2022년 3월 10일
I try to import a robot model by using importrobot function with the input is a Simscape Multibody model. However, when I show the imported rigidBodyTree model, it only shows a skeleton model without any visual geometries. I suspect that visual meshs should be STL format, since that my geometries files are STEP format.

채택된 답변

Hannes Daepp
Hannes Daepp 2022년 3월 10일
Hi Chuguang,
You're correct -- in order for the visuals to appear in the import, they need to be STL or DAE format (DAE format requires R2021b or newer).
If, after converting to either of these formats you still face issues, make sure that importrobot is finding the directory correctly; you can set the directory explicitly via the MeshPath Name-Value pair:
We are aware of the need to support other files and are considering supporting those in the future.
Cheers,
Hannes

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Manipulator Modeling에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by