Is there a formula to compute the field of view of a robot when it is obstructed by other objects like in this picture

When it is a full circle it should be FoV = (x-c1)² + (y-c2)² < r² Where (c1,c2) are the coordinates of the robot and r is the range of the sensor.

Thank you!


Yes, you "simply" geometrically substract those objects and everything behind them from your FoV.

But it make not much sense to create such formula, as its precise formulation would be dependent on position of the robot (and you pictured it with wheels, so it will be probably moving) and on position of all those obstacles (which in real world you would not know, as anything can change anytime (for example another robot came to range and its shape will be highly irregular, somebody came and move chair or anything else)

It would probably help much more, if you say, for which use you want to know such formula - if you know, where some objects are and want place robot to specified place, or if you want your robot to sense objects around with sensors and then decide, how to avoid them (or hit them, or create map, or so)

Ususally you do not need formula for sensor range, as you can just use your sensors, look around and see, how far you can see. And maybe save it in some array as vectors with direction and distance free in that direction and then either use it directly to find free way, or indirectly to calculate some parts of borders of obstacles around you, then move a little, do it again and get better idea, what kind of obstacles are there (eg. if the blue walls are cubes, or just plates, or long prism pointing away your initial position.)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.