vision sensors

Typically: "How do I... ", "How can I... " questions
Post Reply
spirit
Posts: 10
Joined: 22 Sep 2013, 11:30

vision sensors

Post by spirit »

Hi,

I have recently started studying v-rep and I wrote a short code which makes a robot bypass obstacles using the tutorial about vision sensors.
The program works only for obstacles that are duplicated from the original obstacle of the tutorial, but when I add a new obstacle to the scene without duplicating the obstacle from the tutorial, the vision sensors don't "see" the obstacle and the robot just hit it.
Do you have any idea what could be the problem? something in the code? sensor properties?

Thanks!

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: vision sensors

Post by coppelia »

Hello,

make sure that your objects are renderable (i.e. can be seen by vision sensors), and that their renderable flag is set.

Cheers

Post Reply