Robotics StackExchange | Archived questions

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 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.

Asked by RoboTN on 2014-09-11 10:23:21 UTC

Comments

Answers