Textures and colors displayed wrongly
Hi all! Sometimes I run my world and I have the wrong textures and/or colors. Take a look:
I didn't modify the models of camera and person standing, found in gazebo models.gazebosim.com, except from making the camera static and adding a plugin to it.
XML part of the person:
<model name='person_standing'>
<pose>1.81967 3.47341 -0 1e-06 1e-06 0.000287</pose>
<scale>1 1 1</scale>
<link name='link'>
<pose>1.81967 3.47341 -0 1e-06 1e-06 0.000287</pose>
<velocity>0 0 0 0 -0 0</velocity>
<acceleration>1.65099 -1.16221 -1.3618 -1.94548 1.45786 -3.08341</acceleration>
<wrench>132.079 -92.9767 -108.944 0 -0 0</wrench>
</link>
</model>
XML part of camera:
<model name='camera'>
<static> true </static>
<pose>1.11775 0.77007 0.05 0 -0 0</pose>
<link name='link'>
<inertial>
<mass>0.1</mass>
<inertia>
<ixx>0.000166667</ixx>
<iyy>0.000166667</iyy>
<izz>0.000166667</izz>
<ixy>0</ixy>
<ixz>0</ixz>
<iyz>0</iyz>
</inertia>
<pose>0 0 0 0 -0 0</pose>
</inertial>
<collision name='collision'>
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<torsional>
<ode/>
</torsional>
<ode/>
</friction>
</surface>
</collision>
<visual name='visual'>
<geometry>
<box>
<size>0.1 0.1 0.1</size>
</box>
</geometry>
</visual>
<sensor name='camera' type='camera'>
<plugin name='light_sensor' filename='liblight_sensor.so'>
<alwaysOn>true</alwaysOn>
<updateRate>10.0</updateRate>
<imageTopicName>rgb/image_raw</imageTopicName>
</plugin>
<camera>
<horizontal_fov>1.047</horizontal_fov>
<image>
<width>320</width>
<height>240</height>
</image>
<clip>
<near>0.1</near>
<far>100</far>
</clip>
</camera>
<always_on>1</always_on>
<update_rate>30</update_rate>
<visualize>1</visualize>
</sensor>
<self_collide>0</self_collide>
<enable_wind>0</enable_wind>
<kinematic>0</kinematic>
</link>
</model>
Does anyone have any idea??
Thank you!
Asked by lauracorssac on 2022-02-10 08:26:00 UTC
Comments