Данный проект используется для тестирования aurora_psdk docker image
портированно с https://gitlab.com/omprussia/demos/SensorInspector
Sensor Inspector
The project provides an example of using device sensors.
The main purpose is to show the work with device sensors: displaying the available sensors, activate/deactivate them, getting data from sensors. This application handles and displays sensors readings below:
- Accelerometer
- Ambient Light Sensor
- Compass
- Gyroscope
- Light Sensor
- Magnetometer
- Orientation Sensor
- Proximity Sensor
- Rotation Sensor
- Accelerometer True Acceleration
The application accepts different kind averaging filters for processing high-frequency data received from:
- moving averaging filter
- Haar’s wavelet filter
The application calculates true accelerations using a filter that considers the effect of gravity acceleration.
Build status: 1. example - 2. dev -
Terms of Use and Participation
The source code of the project is provided under the license, which allows it to be used in third-party applications.
The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.
Information about the contributors is specified in the AUTHORS file.
Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.
Project Structure
The project has a standard structure of an application based on C++ and QML for Aurora OS.
- ru.auroraos.SensorInspector.pro file describes the project structure for the qmake build system.
- icons directory contains the application icons for different screen resolutions.
- qml directory contains the QML source code and the UI resources.
- cover directory contains the application cover implementations.
- icons directory contains the additional custom UI icons.
- pages directory contains the application pages.
- SensorInspector.qml file provides the application window implementation.
- rpm directory contains the rpm-package build settings.
- ru.auroraos.SensorInspector.spec file is used by rpmbuild tool.
- src directory contains the C++ source code.
- main.cpp file is the application entry point.
- translations directory contains the UI translation files.
- ru.auroraos.SensorInspector.desktop file defines the display and parameters for launching the application.
Compatibility
- example: the main branch corresponding to the OS version higher than 4.0.2.173
Screenshots
This document in Russian / Перевод этого документа на русский язык
Описание
The project provides an example of using device sensors