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 the readings of the following sensors:
- Accelerometer
- Ambient Light Sensor
- Compass
- Gyroscope
- Infrared Proximity Sensor
- Light Sensor
- Magnetometer
- Orientation Sensor
- Proximity Sensor
- Rotation Sensor
- Tap 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:
Table of Contents
- Table of Contents
- Compatibility
- Features of use and build
- Branch info
- Install and Run
- Screenshots
- Project Structure
- Terms of Use and Participation in Development
Compatibility
The application works correctly starting with Aurora OS 4.0.2.173 and higher.
Features of use and build
This example being built using the Aurora SDK: Documentation
Branch info
Install and Run
The project being built in the usual way using the Aurora SDK: Documentation.
Screenshots
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.
- assets directory contains user components.
- cover directory contains the application cover implementations.
- graphics directory contains other images used by the application.
- icons directory contains icons for sensors.
- pages directory contains the application pages.
- tabview directory contains a TabView components implimentation.
- 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.
-
ru.auroraos.SensorInspector.spec
-
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.
Terms of Use and Participation in Development
The source code of the project is provided under the license, which allows it to be used in third-party applications.
Contributor License Agreement 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.