|
Algorithm 3 Get the value of (Q, W). |
|
| 1: functionGet Q(,,,,,) |
|
| 2: ,
|
▹ Temporal variables. |
| 3: for do
|
|
| 4: for do
|
|
| 5: for do
|
|
| 6:
|
|
| 7:
|
▹ are the coordinates of each singular point for a given link |
| 8:
|
▹ The equation of the circular obstacle can be replaced by the equation of ellipsoidal obstacle
|
| 9: end for
|
|
| 10:
|
|
| 11: end for
|
|
| 12:
|
▹ Temporal variable is cleared. |
| 13:
|
|
| 14: end for
|
|
| 15: return
|
▹ The value of Q is obtained. |
| 16: end function
|
|