How to simulate Temperature and create an office room
1)i want to create a room from a greyscale image, i have seen two methods using gazebo: with the tag <heightmap> but with this i can't apply a texture to the side of the wall, but only from the hight, and with the tag <image> but this doesn't work, and i don't undertand why, the sdf file is:
<?xml version="1.0" ?>
<sdf version="1.4"> <world name="default">
<!-- A global light source -->
<include>
<uri>model://sun</uri>
<pos>0 0 20</pos>
</include>
<include> <uri>model://ground_plane</uri> </include>
<!-- a box to undertand if the world open something-->
<model name="box1">
<pose>0 0 1 0 0 0</pose>
<link name="link">
<collision name="collision">
<geometry> <box> <size>2 2 2</size> </box> </geometry>
</collision>
<visual name="visual">
<geometry> <box> <size>2 2 2</size> </box> </geometry>
<material>
<ambient>1 0 0 1</ambient>
<diffuse>1 0 0 1</diffuse>
</material>
</visual>
</link>
</model>
<!-- -->
<model name="image_map">
<static>true</static>
<pose> 0 0 0 0 0 0</pose>
<link name="link">
<collision name="collision">
<geometry>
<image>
<uri>file://media/materials/textures/room4.jpg</uri>
<scale>20</scale>
<threshold>200</threshold>
<height>3</height>
<granularity>1</granularity>
</image>
</geometry>
</collision>
<visual name="visual">
<geometry>
<image>
<uri>file://media/materials/textures/room4.jpg</uri>
<scale>20</scale>
<threshold>200</threshold>
<height>3</height>
<granularity>1</granularity>
</image>
</geometry>
</visual>
</link>
</model>
</world> </sdf>
2) i want to simulate a physics element like the temperature in environment and to relevate it with a sensor, is this thing possible to do? are there any projects available?
thank you for your answer