Skip to content
A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.
Branch: master
Clone or download
Latest commit ea8e09f Jun 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android Update build.gradle Mar 7, 2019
build - radians instead of degrees Oct 4, 2018
example
ios roll calculation for iOS was updated , now it's using the gravity Oct 26, 2018
lib - radians instead of degrees Oct 4, 2018
test - radians instead of degrees Oct 4, 2018
.packages doc updated Jun 7, 2019
CHANGELOG.md doc updated Jun 7, 2019
LICENSE Description was added Sep 28, 2018
README.md doc updated Jun 7, 2019
aeyrium_sensor.iml
aeyrium_sensor_android.iml First commit for Aeyrium sensor native plugin Sep 28, 2018
pubspec.lock authors updated Jun 7, 2019
pubspec.yaml doc updated Jun 7, 2019

README.md

Flutter Aeyrium Sensor Plugin

Aeyrium Sensor Plugin

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices. It was made using TYPE_ROTATION_VECTOR sensor on Android and DeviceMotion on iOS.

Import

To use this plugin, add aeyrium_sensor as a dependency in your pubspec.yaml file. For example:

dependencies:
  aeyrium_sensor: ^1.0.7

Usage

import 'package:aeyrium_sensor/aeyrium_sensor.dart';

AeyriumSensor.sensorEvents.listen((SensorEvent event) {
      //do something with the event , values expressed in radians
      print("Pitch ${event.pitch} and Roll ${event.roll}")
      
    });

Real Demo

We developed this plugin to use it on our Attitude indicator screen. Aeyrium Sensor

Issues

Please file any issues, bugs or feature request as an issue on our GitHub page.

Author

This Aeyrium Sensor plugin for Flutter is developed by Aeyrium Inc

You can’t perform that action at this time.