gazebosim / garden-tutorial-party

1 stars 0 forks source link

gz-sensors: Segmentation Camera in Gazebo #563

Open audrow opened 2 years ago

audrow commented 2 years ago

Setup

Links

Checks


You can find the code used to generate this test case here

tejalbarnwal commented 1 year ago

Hey, the instructions work fine! The images also do match the ones given on the live link image

image

Though I do get these errors regarding the texture images when I do gz sim segmentation_camera.sdf

[Err] [SystemPaths.cc:519] Could not resolve file [hatchback.png]
[Err] [SystemPaths.cc:419] Unable to find file with URI [model://hatchback/materials/textures/wheels3.png]
[Err] [SystemPaths.cc:519] Could not resolve file [model://hatchback/materials/textures/wheels3.png]
[Err] [Material.cc:176] Unable to find texture [model://hatchback/materials/textures/wheels3.png] as a locally cached texture or in path [/home/devank/.gz/fuel/fuel.ignitionrobotics.org/openrobotics/models/hatchback blue/2/meshes]
[Err] [SystemPaths.cc:519] Could not resolve file [pickup_diffuse.jpg]
[Err] [SystemPaths.cc:519] Could not resolve file [wheels2.jpg]
[Err] [SystemPaths.cc:519] Could not resolve file [suv.png]
[Err] [SystemPaths.cc:519] Could not resolve file [wheels_01.png]
[Err] [SystemPaths.cc:519] Could not resolve file [collapsed_house_diffuse.jpg]

Also, regarding the warning for assigning the label of the model by adding the label plugin to the model's <visual> tag, it disappears when I attach the plugin to the <model> tag. I get the following warning

Warning [Utils.cc:129] [/sdf/plugin[@name="gz::sim::systems::Label"]:<data-string>:L1]: XML Element[plugin], child of element[sdf], not defined in SDF. Copying[plugin] as children of [sdf].