Gazebo | Ignition | Community
Ask Your Question
0

How do you edit the collison like this?

asked 2021-08-06 13:36:50 -0600

kakcalu13 gravatar image

Here is the picture: image description

I edited the code many time:

  <link name='head'>
  <visual name='visual'>
    <pose>0.090 0 0.16 0 0 0</pose>
    <geometry>
      <cylinder>
        <radius>0.01</radius>
        <length>0.02</length>
      </cylinder>
    </geometry>
  </visual>
   <collision name='collision'>
    <laser_retro>0</laser_retro>
    <pose >0.090 0 0.16 0 0 0</pose>
    <geometry>
      <cylinder>
        <radius>0.01</radius>
        <length>0.02</length>
      </cylinder>
    </geometry>
  </collision>
</link>

I edited the pose under collision code yet nothing change. Do you know why?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-08-06 15:05:44 -0600

kakcalu13 gravatar image

FOund the issue.

This is the correct:

  <link name="head">
  <pose >0.090 0 0.16 0 0 0</pose>
  <collision name="collision">
    <pose >0 0 0 0 0 0</pose>
    <geometry>
      <cylinder>
        <radius>0.01</radius>
        <length>0.02</length>
      </cylinder>
    </geometry>
  </collision>
  <visual name="visual">
    <pose>0 0 0 0 0 0</pose>
    <geometry>
      <cylinder>
        <radius>0.01</radius>
        <length>0.02</length>
      </cylinder>
    </geometry>
  </visual>
</link>

Closing this one

P.S. all of my posts required moderation to approve. Not sure why.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2021-08-06 13:36:50 -0600

Seen: 29 times

Last updated: Aug 06