Reconstructing visibility graphs with simple robots

We consider the problem of finding a minimalistic configuration of sensors that enable a simple robot inside an initially unknown polygon P on n vertices to reconstruct the visibility graph of P. The robot can sense features of its environment through its sensors, and it is allowed to move from vertex to vertex. We aim at understanding which sensorial capabilities are sufficient for the reconstruction of the visibility graph of P. We are able to show that the combinatorial visibilities at every vertex do not contain enough information even when combined with the knowledge of the exact interior angle at each vertex. Using sensors that can put distant vertices into a spatial relation on the other hand can in some cases enable our robot to reconstruct the visibility graph of P. We show that this is true for a sensor that can distinguish whether the angle between the lines toward two visible vertices is convex or reflex, as long as the robot is capable of identifying the vertex it last visited. We also show that measuring angles exactly is enough, if the robot has a compass.