Download A Modular ROS package for Linear Temporal Logic based Motion

Transcript
3.4 Visibility graph generation and Dijkstra algorithm
Visibility graph is constructed for set of points and obstacles in Euclidean plane (Berg,
Cheong, Kreveld, & Overmars, 2008). Generation of the visibility graph between
centroids of the triangle is done by taking pairs of centroids in the same polygon and
verifying their line of sight with respect to each centroid against any obstacles. Obstacles
in this case are defined as any object or line segment that could block a clear line of sight
between two centroids, it could either be an opaque polygon that lies within the parent
polygon containing triangles of interest or it could be an edge of the parent polygon itself
which is intersecting the line of sight for the current pair of centroids. In either case an
obstacle if found implies a direct line segment cannot connect the pair of centroids. The
steps for calculating the visibility are shown in Figure 13 : Algorithm for constructing
visibility graph..
36