Set color of STL file using rigidBodyTree and addVisual

22 Ansichten (letzte 30 Tage)
Kilian
Kilian am 1 Nov. 2024 um 21:15
Kommentiert: Kilian am 5 Nov. 2024 um 17:48
When a robot is built and visualized using rigidBodyTree and addVisual functions all used STL files occure in a grey color. Is there an way to color single STL files in another color?
Many thanks in advance!

Antworten (1)

Subhajyoti
Subhajyoti am 2 Nov. 2024 um 14:20
The workflow for coloring complex geometries from STL files has been extensively discussed in the community. You may go through the following discussion where you can find valuable insights and potential solutions.
Additionally, you can refer to the following resources to know more about creatin patches of colored polygons using the 'patch' function in MATLAB:
  1 Kommentar
Kilian
Kilian am 5 Nov. 2024 um 17:48
Thank you for your reply. These resources may work for visualising STL files in a defined color, but unfortunately not for my problem with the addVisual and rigidBodyTree functionality.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Robotics finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by