Giter VIP home page Giter VIP logo

qvibe-analyser's Introduction

qvibe-analyser

Continuous Integration Code Coverage Code Health readthedocs

An vibration measurement app for the RPI.

recorder setup

Follow https://vibe.readthedocs.io/en/latest/install.html for the rpi setup, i.e. complete these sections up to the vibe-recorder setup

ssh into your rpi and:

$ ssh pi@myrpi
$ sudo apt install python3 python3-venv python3-pip libyaml-dev git
$ mkdir python
$ cd python
$ python3 -m venv qvibe
$ cd qvibe
$ . bin/activate
$ pip install git+https://github.com/3ll3d00d/qvibe-recorder

(Optional) Starting vibe-recorder on bootup

This is optional but recommended, it ensures the recorder app starts automatically whenever the rpi boots up and makes sure it restarts automatically if it ever crashes.

We will achieve this by creating and enabling a `systemd`_ service.

  1. Create a file qvibe.service in the appropriate location for your distro (e.g. /etc/systemd/system/ for debian):

    [Unit]
    Description=qvibe
    After=network.target
    
    [Service]
    Type=simple
    User=myuser
    WorkingDirectory=/home/pi
    ExecStart=/home/pi/python/qvibe/bin/qvibe-recorder
    Restart=always
    RestartSec=1
    
    [Install]
    WantedBy=multi-user.target
    
  2. enable the service and start it up:

    $ sudo systemctl enable qvibe.service
    $ sudo service qvibe start
    $ sudo journalctl -u qvibe.service
    -- Logs begin at Sat 2019-08-17 12:17:02 BST, end at Sun 2019-08-18 21:58:43 BST. --
    Aug 18 21:58:36 swoop systemd[1]: Started qvibe.
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,345 - qvibe.app - WARNING - create_device - Loading smbus 1
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,350 - qvibe.app - WARNING - create_device - Loading mpu6050 mpu6050/500
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,354 - qvibe.mpu6050 - WARNING - set_accelerometer_sensitivity - Set accelerometer sensitivity = 2.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,355 - qvibe.mpu6050 - WARNING - set_gyro_sensitivity - Set gyro sensitivity = 500.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,356 - qvibe.mpu6050 - WARNING - set_sample_rate - Set sample rate = 500.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,893 - qvibe.mpu6050 - WARNING - set_accelerometer_sensitivity - Set accelerometer sensitivity = 2.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,894 - qvibe.mpu6050 - WARNING - set_gyro_sensitivity - Set gyro sensitivity = 500.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,897 - qvibe.accelerometer - WARNING - run - Running
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,907 - qvibe.mpu6050 - WARNING - set_accelerometer_sensitivity - Set accelerometer sensitivity = 2.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,909 - qvibe.mpu6050 - WARNING - set_gyro_sensitivity - Set gyro sensitivity = 500.0
    Aug 18 21:58:37 swoop qvibe-recorder[2224]: 2019-08-18 21:58:37,910 - qvibe.mpu6050 - WARNING - set_sample_rate - Set sample rate = 500.0
    
  3. reboot and repeat step 2 to verify the recorder has automatically started

qvibe-analyser's People

Contributors

3ll3d00d avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

qvibe-analyser's Issues

Qvibe window too wide?

When opening qvibe it fills the whole screen side to side, and i can not drag it more narrow? So i can’t make the window smaller to have more windows(like REW generator and/or Minidsp app) open at the same time.

I could swear this worked on earlier versions?

Spectrogram fails after reset

resetting wipes out the cached imgs but these are only added when a measurement is added, reset does not clear the measurement store so this does not happen and the spectrogram is permanently broken after areset

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.