Sensor didn't detect the mesh model
I created the wall of the Occupancy grid map using the map2gazebo and inserted it into the Gazebo. Then I brought a turtlebot near this model and ordered it to move using a teleop node, but it went through the wall. The sensor didn't detect the wall at all. What should I do to make collision between the robot and the model? Is the collision element in the sdf file related to this?
map2gazebo : https://github.com/shilohc/map2gazebo
Here is the sdf file of my model:
<?xml version="1.0" ?>
<sdf version="1.4">
<model name="map">
<static>true</static>
<link name="link">
<collision name="collision">
<geometry>
<mesh>
<uri>model://road/meshes/map.stl</uri>
</mesh>
</geometry>
</collision>
<visual name="visual">
<geometry>
<mesh>
<uri>model://road/meshes/map.stl</uri>
</mesh>
</geometry>
</visual>
</link>
</model>
</sdf>