In this section, the theory and technique presented in the preceding sections will be applied to two motion planning problems. One is the planning for a planar rod moving among obstacles. The other is the planning for a multi-joint arm (
Zhang and Zhang, 1982a, 1982b, 1988b, 1990a).
The main point for using the theory to a real motion planning problem is how to decompose the domain into homotopically equivalent classes. There are three kinds of boundaries which are used for the decomposition. Namely, the original boundaries of the obstacles, the r-growing boundaries of the obstacles, and some specific curves called the disappearance curves arising in the regions cluttered up with the obstacles.
5.5.3. The Applications of Multi-Granular Computing
In motion planning for a multi-joint arm, the concept of multi-granular computing has been used for solving several problems.
Figure 5.39 Motion Planning of a 3D Manipulator In the construction of characteristic network
, we regard
as a subset of the product set
. To find a connected path from the initial state
to the final state
in
, a connected path from
to
in
is found first, then a connected path from
to
in
is found such that the path merged from these two is a connected path from
to
in the product space
. The process continues until a connected path from
to
is found, or the existence of collision-free paths is disproved.
This is a typical application based on multi-granular computing. Since
is the projection of
, however, ‘projection’ is one of the multi-granular computing approaches as mentioned in the above chapters.
The dimension reduction method itself is an application based on the multi-granular computing technique as well. The original problem of finding the connected structure of a
set
is transformed to that of finding the connected structure of
and
,
, where
F is a mapping corresponding to
E. Since
and
both are the projections of
E on different spaces, the multi-granular computing technique underlies the dimension reduction method.
In the proceeding applications, the multi-granular computing technique is used mainly through the projection method. Next, other methods are discussed.
The Hierarchical Planning of a Multi-Joint Arm
R is a multi-joint planar manipulator composed of
m arms. To find a collision-free path from state
to state
among the obstacles, the motion planning can be made in the following way. First, a primary plan is found by some heuristic knowledge. Then, the plan is refined.
As shown in
Fig. 5.40,
R is a multi-joint arm moving among the planar environment consisting of obstacles
.
and
are the initial and final positions of
R, respectively.
To plan the primary path, we compose a loop from
along the direction
. i.e.,
, then from
to
, finally from
along the direction
back to
. i.e.,
. If there is no obstacle inside the loop, then the manipulator can ‘move’ from
to
directly without collision. Therefore, in this case only a limited portion of
N(
r) needs searching in order to find the path.
If there are obstacles inside the loop, as shown in
Fig. 5.40, obstacles
and
are inside the loop. Then, to move the manipulator around the obstacles, the initial positions of end points
of each arm must first move from
to the left of obstacle
. In other words, from a high abstraction level, we first estimate the primary moving path of
R by ignoring the interconnection between arms. Namely, the end point
of arm 7 first moves along the direction
from
to the left of obstacle
, i.e., point
, then moves to
, finally moves to
along the direction
.End points
move in a similar way.
Figure 5.40 Motion Planning of a Multi-Joint Arm Figure 5.41 A Rod Moves Around an Obstacle If the end point
of arm
needs to move from one side of obstacle
B to the other (
Fig. 5.41), then the end point
Ai−1 must move from the inside of the
r-growing boundary to the outside of the boundary and then back to the inside of
B. Namely, the moving trajectory of point
is constrained by the trajectory of point
.
By using these kinds of heuristic information, the primary moving path of R can be worked out. Then under the guidance of the primary path, a final path can be found.
In three-dimensional case, some proper sections can be used. The two-dimensional characteristic networks can be constructed on these sections. By using the neighboring relationship between the nodes on the neighboring two-dimensional characteristic networks, the characteristic network of the three-dimensional case can be constructed.
As shown in
Fig. 5.42(a), we construct the sections
. Let
be the two-dimensional characteristic network on section
.
If
on
is a connected network,
is said to be a connected section. Therefore, when net
is a connected one, section
does not intersect with any obstacle.
Assume that
and
are two neighboring sections of
. If one of
and
is a connected section, then when finding a connected path from state
to
on
, we first
transform the state
to a state
on
, then on
move state
to state
. Finally,
is transformed to state
on
.
Figure 5.42 Three-Dimensional Characteristic Network Thus, the three-dimensional case can be handled in the similar way as in the two- dimensional case.
5.5.4. The Estimation of the Computational Complexity
Schwartz and Shatic (1983a) presented a topologic algorithm for two-dimensional path planning. Its computational complexity is
, where
n is the number of edges of polygonal obstacles. Schwartz and Shatic (1983b) also presented a topologic algorithm for solving ‘piano-mover’. Its computational complexity is
, where
n is the number of obstacles and
d is the degree of freedom of moving object.
Reif (1979) and
Reif and Sharir (1985) presented a revised algorithm. Its complexity is
, and proved that the general ‘piano-mover’ is a PSPACE-hard problem, i.e., NP-hard problem at least.
In a word, the complexity of collision-free paths planning increases with d exponentially even though by using topologic approaches.
Next, we estimate the complexity of the dimension reduction method by taking motion planning for a planar rod as an example.
Fig. 5.42(a) shows a rod
AT and its environment. When the end point
A of rod
AT moves from the initial state
, there are three possible moving directions, i.e.,
and
, or (8, 4), (4, 7) and (7, 8) for short, as shown in
Fig. 5.42(b). There is no path along the direction (7, 8). Along the direction (8, 4), from point 1 there are two possible moving direction (8, 1) and (1, 4). Along direction (1, 4), from point 2 there also exist two possible moving directions (1, 2) and (2, 4). But direction (2, 4) is a blind alley, etc. We finally have a network shown in
Fig. 5.42 (c). It is called a characteristic network of point
A denoted by
.
Network
represents the connected structure of the domain of point
A. Each edge
represents an area surrounded by obstacles
and
.
Based on network
, the movement of rod
AT among obstacles can be planned.
Although point
A can move freely along each edge of
, rod
AT may not. For example, when
AT moves from point 1 to 3 through point 2, i.e., turns from direction
to direction
, if we consider the entire rod movement, the movement may not be possible at the intersecting point. Therefore, we must consider the movement at each intersecting point.
Figure 5.43 Path Planning of a Planar Rod Whether rod
AT can turn from one direction to the other may be judged by finding the boundary of the shaded area, presented in the above sections. In the example, the boundaries of each shaded area are shown in
Fig. 5.43(d) by the dotted lines.
From
Fig. 5.43(d), we can see that turning from direction (4, 7) to (2, 6), from (8, 3) to (5, 3), or from (3, 2) to (6, 2) is impossible. The others are possible. The characteristic network is shown in
Fig. 5.43(e).
Given the initial state corresponding to direction (8,4) and goal state corresponding to direction (6,2), we now plan a collision-free path. From (8,4) we search the collision-free paths as shown below.
Finally, we have a collision-free path from
S to
G (
Fig. 5.44):
Figure 5.44 A Collision-Free Path From S to G Next, we estimate its computational complexity.
Assume there are
n convex polygons. By using the concept of dual network and the Euler formula concerning the relationship between points and edges of a planar network, it can be proved that the number of edges in network
is less than or equal to
cn, where
c is a constant.
Each edge in
represents a direction
, or a ‘channel’ surrounded by obstacles
and
. Strictly speaking, if
and
are
r-growing areas of obstacles
and
, respectively, then
is the channel surrounded by
and
.
To make the turn from the channel
to channel
possible, the necessary condition is that
must intersect the
r-growing area of
or
, i.e., the channel corresponding to edge
on
intersects
, where
is an edge of
N (
A),
is the
r-growing boundary of
. If the complexity of each judgment is regarded as 1, we have the following proposition.
Proposition 5.12
If the environment consists of
n convex polygons, the computational complexity for planning the motion of two-dimensional moving rod is
, if using the above hierarchical planning method.
Certainly, this is just a rough estimation. It is shown that the multi-granular computing strategy has a potential in reducing the computational complexity.