1 год назад
История
README.md
Aurora OS Application
The project provides an example of using device sensors
The main purpose is to show the work with device sensors: displaying available sensors, activate/desactivate them, getting data from them. This application handles and displays sensors readings below:
- Accelerometr
- Ambient Light Sensor
- Compass
- Gyroscope
- Light Sensor
- Magnetometer
- Orientation Sensor
- Proximity Sensor
- Rotation Sensor
- Accelerometr True Acceleration
Application accepts different kind averaging filters for high rate data handling such as:
- moving averaging filter
- Haar’s wavelet filter
Сalculation of true accelerometer accelerations uses filter that considers gravity acceleration.
The source code of the project is provided under the license, that allows it to be used in third-party applications.
Project Structure
The project has a common 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 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 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. It is generated from ru.auroraos.SensorInspector.yaml file.
- 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.
Конвейеры
0 успешных
0 с ошибкой