GithubHelp home page GithubHelp logo

ew2024-qtface's Introduction

Qt-face

This project is part of Toradex Self-balancing bot demo (LINKPLACEHOLDER) presented at Embedded World 2024.

It consists of 2 parts, a front-end and a back-end.

Front End

The front end is a Qt aplication with a the robot face and some simple expressions

Back End

The back end is a Qt websocket server, that receives data from a controller (to move the robot manually) and from a gyro+accel device (for the feedback controle).

There's a simple logic example implemented to control the robot face given the velocity reading.

face example

How to Run

  1. Get the docker-compose file

    wget https://raw.githubusercontent.com/Allan-Kamimura/EW2024-qtface/main/face.yml
    
  2. Run main

    docker compose -f qt-face.yml up -d
    
  3. (optional) Run with parameters, those are the default values

    ADDRESS=0.0.0.0:8000 v1=-7 v2=-3 v3=0 v4=3 v5=7 stepsIn10s=10 delaytime=8000 docker-compose -f face.yml up -d
    

    The "v" stands for velocity thresholds: v1 < v2 < v3 < v4 < v5 -> sets the default expression

    v0 v1 v2 v3 v4 v5 v6
    maluco sad happy sapecao angry maluco

Logs

The container mounts ~/:~/ and logs are saved to ~/

ew2024-qtface's People

Contributors

allankamimura avatar allan-kamimura avatar gabrielhafs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.