Gazebo | Ignition | Community
Ask Your Question
0

How to: Set collision for ray sensor, but not for chassis

asked 2015-02-19 03:11:07 -0500

tik0 gravatar image

Hi,

I would like to define models, which can be sensed by the ray sensor, but can not collide with each other.

A simple example is attached. Here I want to sense permanently the corner of the red Object, while I am driving through the object. Now the problem appears, if I set the collision parameter of the red object. If they are <pose>0 0 0 0 0 0</pose>, the robot can drive through the object, but the ray sensor can not sense it. On the other hand, if I set the collision to the same values as the visual parameters, the ray sensor can sense to corners, but the robot can not drive through.

Corners can be detected Robot can drive through, but corners can not be detected

How can I set the right parameters, to sense the corners and dirve through an object?

Kind regards, tik0

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-02-19 06:57:45 -0500

AndreiHaidu gravatar image

Hi,

there is a tag called <collide_without_contact> , set it to true for your collision.

Cheers, Andrei

edit flag offensive delete link more

Comments

You made my day! It works like a charm. In addition, I had to set the model parameter of the red box to <static>true</static>.

tik0 gravatar imagetik0 ( 2015-02-19 10:36:11 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-02-19 03:11:07 -0500

Seen: 158 times

Last updated: Feb 19 '15