14.11.2012 Views

Submitted version of the thesis - Airlab, the Artificial Intelligence ...

Submitted version of the thesis - Airlab, the Artificial Intelligence ...

Submitted version of the thesis - Airlab, the Artificial Intelligence ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.2. Matlab Script 45<br />

Mixed Angular and Linear Movement<br />

Thisis<strong>the</strong>casewhere<strong>the</strong>movement <strong>of</strong><strong>the</strong>robotiscomposed<strong>of</strong> both<strong>the</strong><br />

angular and linear movement. In o<strong>the</strong>r words, <strong>the</strong> robot goes to <strong>the</strong> specified<br />

target while it is also rotating. The calculation made by <strong>the</strong> s<strong>of</strong>tware<br />

simulator uses all <strong>the</strong> parameters (frontal speed, lateral speed and angular<br />

movement). The calculation <strong>of</strong> <strong>the</strong> frontal and lateral speed is found by subtracting<br />

<strong>the</strong> desired position <strong>of</strong> <strong>the</strong> robot from <strong>the</strong> initial position (Figure<br />

4.4).<br />

200<br />

150<br />

100<br />

50<br />

0<br />

−50<br />

−100<br />

−150<br />

−200<br />

v n2<br />

v t2<br />

v : 3500 mm/s<br />

F<br />

v : −350 mm/s<br />

L<br />

ω : −0.099669 rad/s<br />

R<br />

−250<br />

v<br />

t3<br />

−300 −200 −100 0 100 200 300<br />

v L<br />

v F<br />

ω<br />

v n3<br />

v t1<br />

v n1<br />

v : −3181.1718 mm/s<br />

t1<br />

v : 1446.8911 mm/s<br />

n1<br />

v : 2881.0061 mm/s<br />

t2<br />

v : 2053.1089 mm/s<br />

n2<br />

v : 374.9172 mm/s<br />

t3<br />

v : −3500 mm/s<br />

n3<br />

ω : −129.3159 rad/s<br />

1<br />

ω : 117.1141 rad/s<br />

2<br />

ω : 15.2405 rad/s<br />

3<br />

Figure 4.4: The mixed angular and linear movement calculated by simulator<br />

InFigure 4.4, <strong>the</strong> resultingmotion is not only a linear movement towards<br />

<strong>the</strong> direction which is <strong>the</strong> composition <strong>of</strong> VF and VL, but also an angular<br />

movement in clockwise direction with an angular speed <strong>of</strong> -0.099669 rad/s.<br />

All <strong>the</strong>se three different configurations are used in <strong>the</strong> implementation<br />

<strong>of</strong> <strong>the</strong> robot. The whole script is found in Motion Simulator in Appendix

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!