Robot exploration algorithm

后端 未结 8 1758
情书的邮戳
情书的邮戳 2021-02-01 05:48

I\'m trying to devise an algorithm for a robot trying to find the flag(positioned at unknown location), which is located in a world containing obstacles. Robot\'s mission is to

8条回答
  •  醉梦人生
    2021-02-01 06:21

    Part of it will be pathfinding, for example with the A* algorithm.

    Part of it will be exploring. Any cell with an unknown neighbour is worth exploring. The best cells to explore are those closest to the robot and with the largest unexplored neighbourhood.

    If the robot sees through walls some exploration candidates might be inaccessible and exploration might be required even if the flag is already visible.

    It may be worthwhile to reevaluate the current target every time a new cell is revealed. As long as this is only done when new cells are revealed, progress will always be made.

提交回复
热议问题