Remote Gesture Controller With Mqtt

About the project

Wouldn’t be nice to control a robotic arm on the other side of the world and make it follow your gestures in the most natural manner?

Project info

Difficulty: Easy

Platforms: The TactigonMQTT

Estimated time: 1 hour

License: MIT license (MIT)

Items used in this project

Hardware components

Tactigon SKIN SDK Tactigon SKIN SDK x 1

Software apps and online services

MQTT MQTT

Story

Wouldn’t be nice to control a robotic arm on the other side of the world and make it follow your gestures in the most natural manner?

With our Tactigon Skin and recently developed SDK this can be achieved with very few lines of code. In this article we will show how to use the T-Skin to recognize gestures in conjunction with our AI-based SDK and the MQTT protocol allowing to send messages wherever we want. The python code illustrated below is importing modules from our SDK which are in charge of BLE data collection from one or two T-SKIN (Tactigon_BLE) and gesture recognition (Tactigon_Gesture).

Thanks to those modules, recognized gestures are pushed in a pipe which can be pulled by the application process (Application_MQTT) and published on an MQTT server. Gestures to be recognized,

MQTT server details and topic names can all be customized by using our SDK configuration files.

T-Gear SDK is use for collecting new raw data, send the data to server, ask server to train a model using the raw data, and download the model from server and finally use the model for testing real-time gesture recognition.

The T-Gear SDK includes several end applications that can be customized using config files or used as reference for development.

Code

Application_Gesture_to_MQTT.py

Credits

Photo of The Tactigon

The Tactigon

The Tactigon is a brand of Next Industries Milano. Next Industries is a born of a passion to develop devices and sensors fit for Iot Technology. Our team is made of incredible experts in movement detection for big structural monitoring systems, software development and wearable device.

   

Leave your feedback...