To estimate the position of the object placed in a given environment and estimate the distance between them. The flooring scheme is used where the distance between the object is determined using the co-ordinates of the floor. The proposed system analyses the position of an object using the sensor (SICK LMS) and the object can be tracked and the distance between them can be measured by projecting the infrared light. The light is projected in the surrounding which track the vehicles and hence calculate distance between them so as to avoid the collision. This method is more precise in the indoor environment as limited area is to be scanned therefore the intensity of infrared can be strong which will be weaker in outdoor environment. The accuracy is higher in the indoor environment and hence it is very effective. This can be implemented in the area where GPS facilities are out of hand.