Skip to content

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.

License

Notifications You must be signed in to change notification settings

jidesoft/aeyrium-sensor

 
 

Repository files navigation

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.5

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

About

A Flutter sensor plugin which provide easy access to the Pitch and Roll on Android and iOS devices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 32.7%
  • Dart 26.2%
  • Objective-C 25.9%
  • Ruby 15.2%