|
Algorithm 2 Elevation angle MLE. |
|
Input: Trained surface GP f, a horizontal sonar measure , robot trajectory H and the corresponding curvilinear abscissa , Rotation axis of vertical scan expressed in the vertical sonar frame , Number of samples
|
|
Output: Estimated local maximum elevation angles
|
| 1: |
,
|
| 2: |
for
q
do
|
| 3: |
|
| 4: |
|
▹ Equation (20) |
| 5: |
|
| 6: |
for
do
|
| 7: |
|
▹ Equation (21) |
| 8: |
if
then
|
▹ Equation (22) |
| 9: |
|
| 10: |
end if
|
| 11: |
end for
|
| 12: |
|
| 13: |
|
▹ Maximum likelihood value |
| 14: |
for
do
|
| 15: |
|
| 16: |
|
| 17: |
|
| 18: |
|
▹ Equations (28) and (30) |
| 19: |
|
| 20: |
|
▹ Equation (32) |
| 21: |
|
▹ Equation (31) |
| 22: |
|
▹ Equation (33) |
| 23: |
|
▹ Equation (34) |
| 24: |
|
▹ Equation (36) |
| 25: |
if
then
|
| 26: |
|
| 27: |
|
| 28: |
end if
|
| 29: |
end for
|
| 30: |
if
then
|
▹ , Equation (19) |
| 31: |
|
| 32: |
end if
|
| 33: |
end for
|