Client part of robot telemetry based on TRIK controller | Статья в журнале «Молодой ученый»

Отправьте статью сегодня! Журнал выйдет 30 ноября, печатный экземпляр отправим 4 декабря.

Опубликовать статью в журнале

Авторы: ,

Рубрика: Технические науки

Опубликовано в Молодой учёный №33 (428) август 2022 г.

Дата публикации: 20.08.2022

Статья просмотрена: 21 раз

Библиографическое описание:

Пиккио, Полина Феличе. Client part of robot telemetry based on TRIK controller / Полина Феличе Пиккио, И. Э. Железняков. — Текст : непосредственный // Молодой ученый. — 2022. — № 33 (428). — С. 14-17. — URL: https://moluch.ru/archive/428/94500/ (дата обращения: 19.11.2024).



The paper describes the design and implementation of the client part of robot telemetry based on the TRIK controller.

Keywords: TRIK, telemetry, client part, Linux, controller, sensors.

Currently, the field of robotics is actively developing. Robots are used in many industries, the number of robotics competitions increases every year, and relevant circles are opened at schools. At the same time, the number of cybernetic designers is growing.

One of them is TRIK. TRIK is a cybernetic construction set with ARM-based CPU and Linux-based operating system. The TRIK controller is a multifunctional device allowing to program robot models assembled on the basis of the TRIK cybernetic constructor. The controller allows to process information from digital and analog sensors and to transmit data via WiFi.

Actually, one of the most important tasks in working with robots is telemetry. Analysis and processing of readings of sensors from the robot is a very important process, and to make this process as successful as possible, it is necessary to provide the user with the appropriate program and equip it with the necessary functionality and a convenient user interface.

Obtaining information about the values of variable sensor data is widespread not only in robotics, but also in many other areas.

There are all kinds of clients for different telemetry systems:

– Google Analytics, a service provided by Google to create detailed statistics of website visitors;

– WEBTLM Remote Monitoring System — technological solution created on the basis of modern technologies and designed to monitor and control distributed objects via the Internet, allowing to solve the tasks of monitoring and management of distributed objects in real time.

It is possible to note simplicity of use, contrasting design, easy-to-read text, availability of different ways of data displaying. Most of such systems are web utilities, this article describes how to adopt the concepts and create a desktop application for telemetry.

Fig. 1. Prototype of the client part of TRIK telemetry

The Composite pattern was used to support the creation of your own dependent values (expressions) in the architecture of the client (Appendix 2) part. The classes that store the sensor readings are divided into two groups: elementaryDataSource (to store the sensor readings from the robot) and compositeDataSource (to store information about those sensors whose readings are used in the expression, and, actually, the result of the expression itself).

Fig. 2. The architecture of the client part

The objects of the compositeDataSource class use a system of signals and slots to subscribe to updates of sensor readings in the objects of the elementaryDataSource classes, that is, the value of the dependent quantity is updated when new data included in the expression arrives.

For direct processing of the expression we use the scripting language QtScript with javascript syntax.

QtScript is a module of the Qt library which is an environment that provides built-in scripting support for applications written in C++ using Qt. It consists of the C++ classes which, in fact, allow Qt programs to script, and the QtScript interpreter.

All possible QtScript computations are assigned to the QScriptEngine class. The variables are QScriptValue instances, each with a set of named editable properties. To set a evaluated expression, we use the QScriptEngine::evaluate method, which accepts a string (an expression) and returns the evaluated result.

Filters are implemented in a similar way. The only difference between them and expressions is that the user does not set them; he can only enable or disable filters that already exist in the client.

When deciding which file format to export the sensor readings, I chose csv — a text format for tabular data representation. It is very simple: each line of the file is a table line, the values of individual columns are separated by a separating symbol.

Also csv was chosen due to the fact that files of this format are opened by many spreadsheet editors (for example, by the same Excel). The user can enable or disable data export. When enabled, the appropriate signal is sent to the Export class object, which begins requesting this data from Parser class, then it processes and saves them into file.

The client also implements warning prototype of critical sensor readings. When the limit values entered by the user are reached, a window appears with a corresponding message, providing more detailed information about reaching the critical readings. Also all warnings are displayed on the same pop-up window, if it has not been closed.

Thus, the client part was created (Appendix 3), which in addition to the basic functionality has the ability to set and track its own dependent values (expressions), has implemented filters, data export, warning system.

Fig. 3. The client part

References:

  1. TRIK project home page, URL: http://www.trikset.com/
  2. Google Analytics project home page, URL: http://analytics.blogspot.ru/
  3. WEBTLM project home page, URL: http://webtelemetry.ru/
  4. TrikRuntime runtime documentation, URL: https://github.com/trikset/trikRuntime/wiki
  5. Qt library, URL: http://qt.io
  6. Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Design Patterns: Elements of Reusable ObjectOriented Software, 416 pp., Addison Wesley, 1994
  7. Max Schlee, «Qt 4.8. Professional C++ Programming», 2012.
  8. QtScript documentation, URL: http://doc.qt.io/qt5/qtscriptindex.html
Основные термины (генерируются автоматически): TRIK, URL, WEBTLM, CPU.


Ключевые слова

TRIK, telemetry, client part, Linux, controller, sensors

Похожие статьи

Application OFDM signal in the physical layer network WiMax

This article presents the use OFDM signals in the physical layer WiMax network. Using OFDM signal with a large number of subcarriers allows WiMax systems to effectively serve users in a direct line of sight, as well as moving subscribers.

On the issue of introducing Scrum into the walls of the university

This article discusses the implementation of SCRUM technology into the work of the department of automated information systems of VSTU, for example, the automation of activities through the software product 1C: University PROF. This process was divid...

To the question of practical use of ''Smart home'' system

The article focuses on the design and creation process of the automated integrated system for monitoring and control of home appliances and other things used in a person's everyday life. The following advantages of the system are taken into considera...

Design of a Smart Shopping Cart Management System using Machine Vision

The article endeavors to redefine the shopping cart paradigm and investigate the possibilities of machine vision by creating, implementing, and assessing a Smart Shopping Cart Management System. It aims to improve the product recognition process of s...

Excel-application «Select switches»

Modern electric power systems are a combination of complex objects with various factors of mutual influence, and therefore, to solve any issues relating to the design and subsequent operation of these objects, the development and use of specialized s...

Mathematical Simulation of Industrial Waste Processing

The article is devoted to technological and environmental problems in the food industry. Authors suggested a cluster model to serve as a basis for the software, useful at the initial design stage, when it is important to determine the optimal set and...

Сrypto labels system and blockchain as a service for pharma industry

The article examines breakthrough technologies: SMA PROGRESS/Central Research Institute “WAVE” crypto labels label system and blockchain as a service (BaaS) for pharma industry.

Using English teaching applications in an EFL classroom for primary and secondary schoolchildren

This article discusses the idea of using English mobile and web applications in an EFL classroom to aid pupils to increase their productivity and learning process. Various applications to use in the learning process and at home as a self-instrument f...

Использование современных компьютерных технологий в системе музыкального образования

In the article we are talking about the use of ICT in the process of learning music. According to the author, information and communication technologies in the educational process are a reflection of the further improvement of the system of music edu...

Designing a structured cabling system in a building

This article presents the concept of a structured cabling system, as well as its implementation through an existing network. The following questions should be considered: choice of technology and structure of the cable system, topology definition, op...

Похожие статьи

Application OFDM signal in the physical layer network WiMax

This article presents the use OFDM signals in the physical layer WiMax network. Using OFDM signal with a large number of subcarriers allows WiMax systems to effectively serve users in a direct line of sight, as well as moving subscribers.

On the issue of introducing Scrum into the walls of the university

This article discusses the implementation of SCRUM technology into the work of the department of automated information systems of VSTU, for example, the automation of activities through the software product 1C: University PROF. This process was divid...

To the question of practical use of ''Smart home'' system

The article focuses on the design and creation process of the automated integrated system for monitoring and control of home appliances and other things used in a person's everyday life. The following advantages of the system are taken into considera...

Design of a Smart Shopping Cart Management System using Machine Vision

The article endeavors to redefine the shopping cart paradigm and investigate the possibilities of machine vision by creating, implementing, and assessing a Smart Shopping Cart Management System. It aims to improve the product recognition process of s...

Excel-application «Select switches»

Modern electric power systems are a combination of complex objects with various factors of mutual influence, and therefore, to solve any issues relating to the design and subsequent operation of these objects, the development and use of specialized s...

Mathematical Simulation of Industrial Waste Processing

The article is devoted to technological and environmental problems in the food industry. Authors suggested a cluster model to serve as a basis for the software, useful at the initial design stage, when it is important to determine the optimal set and...

Сrypto labels system and blockchain as a service for pharma industry

The article examines breakthrough technologies: SMA PROGRESS/Central Research Institute “WAVE” crypto labels label system and blockchain as a service (BaaS) for pharma industry.

Using English teaching applications in an EFL classroom for primary and secondary schoolchildren

This article discusses the idea of using English mobile and web applications in an EFL classroom to aid pupils to increase their productivity and learning process. Various applications to use in the learning process and at home as a self-instrument f...

Использование современных компьютерных технологий в системе музыкального образования

In the article we are talking about the use of ICT in the process of learning music. According to the author, information and communication technologies in the educational process are a reflection of the further improvement of the system of music edu...

Designing a structured cabling system in a building

This article presents the concept of a structured cabling system, as well as its implementation through an existing network. The following questions should be considered: choice of technology and structure of the cable system, topology definition, op...

Задать вопрос