13.08.2018 Views

[Studies in Computational Intelligence 481] Artur Babiarz, Robert Bieda, Karol Jędrasiak, Aleksander Nawrat (auth.), Aleksander Nawrat, Zygmunt Kuś (eds.) - Vision Based Systemsfor UAV Applications (2013, Sprin

Create successful ePaper yourself

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

A Distributed Control Group of Mobile Robots 165<br />

3.2 Master Control System Structure<br />

The Master Controller is implemented <strong>in</strong> Java programm<strong>in</strong>g language as an application<br />

with graphical user <strong>in</strong>terface. It is called qView and on Figure 9 can be seen<br />

<strong>in</strong> the middle. Control algorithms are constructed <strong>in</strong> its basic layer and graphical<br />

user <strong>in</strong>terface utilizes them on application layer allow<strong>in</strong>g user <strong>in</strong>teraction and<br />

gives the visual feedback. Additional application is the qPhone, that is a midlet<br />

application for cellphones. Utiliz<strong>in</strong>g a bluetooth connection between cellphone<br />

and PC computer with qView application <strong>in</strong>stalled, it transmits the cellphone’s<br />

keypad events to qView control algorithms <strong>in</strong> order to fulfill one of primary goals<br />

- possibility to control a robot with a cellphone. Such construction – only transmission<br />

of events - makes it able to reuse algorithms, without need of implement<strong>in</strong>g<br />

whole new separate controller. However different implementations to plann<strong>in</strong>g<br />

collision free path [17] are possible e.g. us<strong>in</strong>g AI [18], [20].<br />

3.3 Visual Feedback<br />

Fig. 9. Master Control System structure<br />

qView application provides the visual feedback of current state of playground. It<br />

is rendered us<strong>in</strong>g 2D Java graphics library bas<strong>in</strong>g on the coord<strong>in</strong>ates gathered<br />

from the vision server. In case of successful connection to the vision server, feedback<br />

is automatically shown and refreshed at the maximum possible frame rate -<br />

i.e. rate at which vision system is process<strong>in</strong>g data from the camera - about 30<br />

frames per second.<br />

3.4 Field Coord<strong>in</strong>ate System<br />

The coord<strong>in</strong>ate system of objects on the field is different from the coord<strong>in</strong>ate system<br />

of general 2D graphical render<strong>in</strong>g1 on screen. <strong>Vision</strong> system coord<strong>in</strong>ate<br />

system po<strong>in</strong>t of orig<strong>in</strong> is at the center of playground, while the 2D graphical<br />

render<strong>in</strong>g model po<strong>in</strong>t of orig<strong>in</strong> is at the top left po<strong>in</strong>t of screen/frame. Also the

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

Saved successfully!

Ooh no, something went wrong!