0
2
si
θ
≤≤
and
2
fi
π
π
≤≤
Case b: The initial pose belongs to quadrant 1 and
the final pose belongs to quadrant 3:
0
2
si
θ
≤≤
and
3
2
fi
πθ
≤≤
Case c: The initial pose belongs to quadrant 1 and
the final pose belongs to quadrant 4:
0
2
si
θ
≤≤
and
32
2
fi
π
π
≤≤
Case d: The initial pose belongs to quadrant 2 and
the final pose belongs to quadrant 3:
2
si
π
π
≤≤
and
3
2
fi
πθ
≤≤
Case e: The initial pose belongs to quadrant 2 and
the final pose belongs to quadrant 4:
2
si
π
π
≤≤
and
32
2
fi
π
π
≤≤
Case f: The initial pose belongs to quadrant 3 and
the final pose belongs to quadrant 4:
3
2
si
πθ
≤≤
and
3
2
fi
π
π
≤≤
Case g: both the initial pose and the final pose
belong to quadrant 1:
0,
2
si fi
θθ
≤≤
Case h: both the initial pose and the final pose
belong to quadrant 2:
,
2
si fi
π
θπ
≤≤
Case i: both the initial pose and the final pose belong
to quadrant 3:
,3
2
si fi
πθθ
≤≤
Case j: both the initial pose and the final pose belong
to quadrant 4:
3,2
2
si fi
π
θπ
≤≤
Now cases a, b, e and f are safe as shown by figure 1
and figure 2 in the introduction section.
Cases c, d, g, h, i and j have the possibility to give
paths of unacceptably higher bending energy when
manipulated to avoid obstacles. Therefore they
needed some method such that safe and flyable paths
are produced.
The method to avoid the obstacle in the case of c,
d, g, h, i and j (unsafe cases) comprise of introducing
an intermediate waypoint (pose) somewhere
between the initial and final pose such that the first
and second pose, and, second and third pose can be
connected by two PH quintic curves. Each of these
two individual PH component becomes like one of
the case a, b, e or f.
Since pose is a combination of position and
direction, therefore the position and direction of the
inserted intermediate pose must be determined. The
following paragraphs describe the determination of
the position and direction.
4.1 Position of the Intermediate Pose
Referring to the figure 6, if (, )
cen cen
xy are the
coordinates of the centre of the obstacle,
d
r is the
radius of the circle enclosing the obstacle, then the
coordinates of the points of the circle enclosing the
obstacle are (x, y) given by the following equations:
cos
cen d
xx r
+
sin
cen d
yy r
=+
Where
[0 2 ]
π
The position
(, )
iwp iwp
xy corresponding to the new
waypoint is given by:
cos
iwp saf cn d
xdxr
++
sin
iwp saf cn d
ydyr
++
2
ξ
, if the UAV is approaching from the bottom
of the obstacle.
π
, if the UAV is approaching from the right.
3
2
ξ
=
,if the UAV is approaching from the top.
0
,if the UAV is approaching from the left.
saf
d
is the safety distance.
Figure 6: Position specification of the intermediate
waypoint.
4.2 Direction of the Intermediate Pose
The intermediate waypoint is inserted between the
initial and final poses. The direction of the
intermediate waypoint
iwp
θ
is such that when the two
consecutive poses are connected via PH quintic in
case of c, d, g, h, i and j each individual PH segment
becomes like one of the cases a, b, d or e. We
consider each individual case separately.
Case g, i: If both the directions of initial and final
poses belong to quadrant 1 or quadrant 3 then the
Initial pp
Final pose
Intermediate
pose
Alternative path
Figure 7: Direction of intermediate waypoint for cases g
and i.
Position
OBSTACLES AVOIDANCE IN THE FRAME WORK OF PYTHAGOREAN HODOGRAPH BASED PATH
PLANNING.
337