|
Algorithm 6 Wheel. |
Input:δt Result: Update of wheels and steering wheel
-
1:
UpdateSteering
-
2:
for all Wheels w
do
-
3:
sign
-
4:
if
w is a front wheel then
-
5:
sign
-
6:
end if
-
7:
Rotate w by roundsPerMinute(w)·sign.
-
8:
end for
-
9:
for all Front wheels w
do
-
10:
Adjust angle by steering wheel angle
-
11:
end for
-
12:
Adjust steering wheel according to front wheel
|