Gazebo | Ignition | Community
Ask Your Question

Unable to rotate ground_plane

asked 2018-11-05 12:39:03 -0500

sapanostic gravatar image

updated 2018-11-05 12:39:31 -0500

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

edit retag flag offensive close merge delete


Mind sharing a minimum SDF file which reproduces the problem?

chapulina gravatar imagechapulina ( 2018-11-05 12:47:30 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-11-07 09:50:52 -0500

azeey gravatar image

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'>
  <pose>0 0 0 0 0.2 0</pose>
  <link name='link'>
    <collision name='collision'>
          <normal>0.199 0 0.98</normal>
          <size>100 100</size>
    <visual name='visual'>
          <normal>0.199 0 0.98</normal>
          <size>100 100</size>
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-11-05 12:39:03 -0500

Seen: 401 times

Last updated: Nov 07 '18