Original title:
Vláček řízený počítačem
Translated title:
Model Train Controlled by Computer
Authors:
Černák, Filip ; Maršík, Lukáš (referee) ; Zemčík, Pavel (advisor) Document type: Bachelor's theses
Year:
2024
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta informačních technologií Abstract:
[cze][eng]
Cílem této práce bylo zjednodušení automatického ovládání modelové železnice pomocí mobilního zařízení. Zvolený problém je vyřešen pomocí programu, který snímá danou železnici. Na snímcích detekuje modelové vláčky a porovnává, zda se nacházejí v uživatelem vyznačených oblastech na nich. Pokud k tomu dojde, program pošle sekvenci příkazů specifických pro daný vlak a oblast zadané příkazové stanici. Vytvořené řešení umožňuje automaticky ovládat výhybky a návěstidla, nastavit rychlost lokomotiv v jednotlivých úsecích tratě a zastavovat vlaky ve stanicích. Řešení dále nedovolí vjezd dvou modelových vlaků do jednoho úseku tratě. Přínosem této práce je jednoduchý způsob automatického ovládání modelového kolejiště pro začínající modeláře. Práce postupně popisuje koncepci řešení, jeho následnou implementaci a výsledky testů, ověřujících splnění zadání.
The aim of this work was to simplify the automatic control of a model railway using a mobile device. The selected problem is solved using a program that scans the given railway. It detects model trains in the images and compares whether they are located in the areas marked by the user on them. If this occurs, the program will send a sequence of train and area specific commands to the specified command station. The created solution makes it possible to control switches and signals automatically, set the speed of locomotives in individual sections of the track and stop trains at stations. Furthermore, the solution will not allow two model trains to enter one section of the track. The benefit of this work is a simple way of automatically controlling a model railway for beginning modelers. The work gradually describes the concept of the solution, its subsequent implementation and the results of tests verifying the fulfillment of the assignment.
Keywords:
DCC; EX-CommandStation; image processing; model railroad; OpenCV; DCC; EX-CommandStation; modelová kolejiště; OpenCV; zpracování obrazu
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: https://hdl.handle.net/11012/247840