Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Retrieve data from ContactSensor to perform tasks

Dear all, I have built a ContactSensor to detect the collision btw 2 object --ContactSensor built by following this tutorial-- Now i want to use the collision detected from this Sensor to perform task like:

If Object1 collides Object2
  perform task1.

What command should I use to program it? Thanks so much.

Retrieve data from ContactSensor to perform tasks

Dear all, I have built a ContactSensor to detect the collision btw 2 object --ContactSensor built by following this tutorial-- Now i want to use the collision detected from this Sensor to perform task like:

If Object1 collides Object2
  perform task1.

What Now, i have 2 plugins, one for ContactSensor, one for control model. I dont know how to retrieve the detection from ContactSensor to control, what command should I use to program it. Any advice for it? Thanks so much.

Retrieve data from ContactSensor to perform tasks

Dear all, I have built a ContactSensor to detect the collision btw 2 object --ContactSensor built by following this tutorial-- Now i want to use the collision detected from this Sensor to perform task like:

If Object1 collides Object2
  perform task1.

Now, i have 2 plugins, one for ContactSensor, one for control model. I dont know how to retrieve the detection from ContactSensor to control, what command I should I use to program it. Any advice for it? Thanks so much.

Retrieve data from ContactSensor to perform tasks

Dear all, I have built a ContactSensor to detect the collision btw 2 object --ContactSensor built by following this tutorial-- Now i want to use the collision detected from this Sensor to perform task like:

If Object1 collides Object2
  perform task1.

Now, i have 2 plugins, one for ContactSensor, one for control model. I dont know how to retrieve the detection from ContactSensor to control, what command I should use to program it. it.

Any advice for it? Thanks so much.

Retrieve data from ContactSensor to perform tasks

Dear all, I have built a ContactSensor to detect the collision btw 2 object --ContactSensor built by following this tutorial-- Now i want to use the collision detected from this Sensor to perform task like:

If Object1 collides Object2
  perform task1.

Now, i have 2 plugins, one for ContactSensor, one for control controlling model. I dont know how to retrieve the detection from ContactSensor to control, what command I should use to program it.

Any advice for it? Thanks so much.