|
Algorithm 2 Transformation from workspace to C-space. |
|
| 1: functionC-space(, , ) |
|
| 2:
|
▹ Temporary variables |
| 3: for do
|
|
| 4:
|
▹ Start position in C-space. |
| 5:
|
▹ Goal position in C-space. |
| 6: end for
|
|
| 7: for do
|
▹ Calculation of the value of . |
| 8: for do
|
|
| 9:
|
|
| 10: end for
|
|
| 11:
|
|
| 12: end for
|
|
| 13: return
|
▹ Returns the values from the C-space |
| 14: end function
|
|