Unable to rotate ground_plane
I wish to pitch the ground plane. I tried adding "pose 0 0 0 0 0.2 0" to the ground plane model as well as the link model but to no success. Visually as well as collision plane appears to be tilted but the model passes trough the plane and collides with some other plane in the environment.C:\fakepath\Screenshot from 2018-11-05 00-29-20.png
Asked by sapanostic on 2018-11-05 13:39:03 UTC
Answers
I believe this is a bug in Gazebo regarding the way planes are specified. A way around it for now is to set the normal vector as well as the pose. So for your example, the model will be:
<model name='ground_plane'>
<static>1</static>
<pose>0 0 0 0 0.2 0</pose>
<link name='link'>
<collision name='collision'>
<geometry>
<plane>
<normal>0.199 0 0.98</normal>
<size>100 100</size>
</plane>
</geometry>
</collision>
<visual name='visual'>
<geometry>
<plane>
<normal>0.199 0 0.98</normal>
<size>100 100</size>
</plane>
</geometry>
</visual>
</link>
</model>
Asked by azeey on 2018-11-07 10:50:28 UTC
Comments
Mind sharing a minimum SDF file which reproduces the problem?
Asked by chapulina on 2018-11-05 13:47:30 UTC