I am new to V-REP and currently I am trying to use it to develop a project about swarm robotics.
Could someone please shed some light about reading the value of the proximity sensor? I am using a ray type for the time being. Using the function listed below I am able to detect whether the proximity sensor has detected an object or not (if front_mid is greater than 0).