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

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

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

Авторы: ,

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

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

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

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

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

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

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

Анализ системы мониторинга NetXMS | Статья в журнале...

URL: https://moluch.ru/archive/158/44638/ (дата обращения: 16.08.2022).  Перед любым системным администратором всегда стоит вопрос контроля инфраструктуры сети. С этой задачей позволяет справиться использования средств мониторинга, а именно систем...

Прогноз макроэкономических показателей экономики России на...

URL: https://moluch.ru/archive/413/91077/ (дата обращения: 21.08.2022).  Ключевые слова : российской предпринимательство, экономические санкции, макроэкономические факторы. Факторы макросреды всегда оказывали влияние на деятельность коммерческих предприятий...

Обзор методов интеграции информационных систем, их...

— С. 176-177. — URL: https://moluch.ru/archive/209/51296/ (дата обращения: 18.08.2022).  Развитие информационной сферы повлекло за собой информатизацию общества. В настоящее время активно происходит автоматизация процессов в различных видах деятельности.

Боковой амиотрофический склероз: проявление заболевания...

URL: https://moluch.ru/archive/242/56004/ (дата обращения: 19.08.2022).  Боковой амиотрофический склероз (БАС) представляет собой идиопатическое нейродегенеративное заболевание, развивающееся в результате избирательного поражения периферических...

Тестирование графического интерфейса (GUI testing)

URL: https://moluch.ru/th/8/archive/62/2630/ (дата обращения: 17.08.2022).  Что такое GUI? Есть два типа интерфейсов для компьютерных приложений.

Флешмоб в Интернете: новые информационные технологии или?..

В статье представлена информация о новой информационной технологии, распространяемой через сеть Интернет или в ней самой — флешмоб. Представлены характеристики, технологии и разновидности флешмоба, а также его особенности, которые ярко проявились в период...

Разработка 3D-моделей в Blender для интеграции в Unity

Данная статья описывает процесс подготовки объектов в бесплатном программном обеспечении Blender с целью дальнейшей их интеграции в межплатформенную среду разработки Unity с целью дальнейшего использования в моделировании или разработки виртуальных...

Различные способы получения лецитина из продуктов...

В настоящий момент российская пищевая промышленность испытывает потребность в качественных натуральных эмульгаторах, в частности в лецитинах. Создание современных масложировых, кондитерских и хлебопекарных продуктов подразумевает использование...

Социальная сеть: понятие, история возникновения, современное...

Также мы провели рестроспективный и современный анализ социальных сетей. Литература: Главные понятия социальных сетей // URL: http

URL: http://v-school.narod.ru/PAPERS/new-internet.pdf. Леонтьев В. П. Новейшая энциклопедия персонального компьютера.

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

Анализ системы мониторинга NetXMS | Статья в журнале...

URL: https://moluch.ru/archive/158/44638/ (дата обращения: 16.08.2022).  Перед любым системным администратором всегда стоит вопрос контроля инфраструктуры сети. С этой задачей позволяет справиться использования средств мониторинга, а именно систем...

Прогноз макроэкономических показателей экономики России на...

URL: https://moluch.ru/archive/413/91077/ (дата обращения: 21.08.2022).  Ключевые слова : российской предпринимательство, экономические санкции, макроэкономические факторы. Факторы макросреды всегда оказывали влияние на деятельность коммерческих предприятий...

Обзор методов интеграции информационных систем, их...

— С. 176-177. — URL: https://moluch.ru/archive/209/51296/ (дата обращения: 18.08.2022).  Развитие информационной сферы повлекло за собой информатизацию общества. В настоящее время активно происходит автоматизация процессов в различных видах деятельности.

Боковой амиотрофический склероз: проявление заболевания...

URL: https://moluch.ru/archive/242/56004/ (дата обращения: 19.08.2022).  Боковой амиотрофический склероз (БАС) представляет собой идиопатическое нейродегенеративное заболевание, развивающееся в результате избирательного поражения периферических...

Тестирование графического интерфейса (GUI testing)

URL: https://moluch.ru/th/8/archive/62/2630/ (дата обращения: 17.08.2022).  Что такое GUI? Есть два типа интерфейсов для компьютерных приложений.

Флешмоб в Интернете: новые информационные технологии или?..

В статье представлена информация о новой информационной технологии, распространяемой через сеть Интернет или в ней самой — флешмоб. Представлены характеристики, технологии и разновидности флешмоба, а также его особенности, которые ярко проявились в период...

Разработка 3D-моделей в Blender для интеграции в Unity

Данная статья описывает процесс подготовки объектов в бесплатном программном обеспечении Blender с целью дальнейшей их интеграции в межплатформенную среду разработки Unity с целью дальнейшего использования в моделировании или разработки виртуальных...

Различные способы получения лецитина из продуктов...

В настоящий момент российская пищевая промышленность испытывает потребность в качественных натуральных эмульгаторах, в частности в лецитинах. Создание современных масложировых, кондитерских и хлебопекарных продуктов подразумевает использование...

Социальная сеть: понятие, история возникновения, современное...

Также мы провели рестроспективный и современный анализ социальных сетей. Литература: Главные понятия социальных сетей // URL: http

URL: http://v-school.narod.ru/PAPERS/new-internet.pdf. Леонтьев В. П. Новейшая энциклопедия персонального компьютера.

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