Attitude Heading Reference System(AHRS) display module for Android.
Switch branches/tags
Nothing to show
Clone or download
Latest commit a2888de Dec 10, 2016

README.md

AndroidAHRSView

Attitude Heading Reference System(AHRS) display module for Android.

screenshot

How to use it

Add gradle dependency

  dependencies {
          compile 'me.billhsu.ahrsview:AHRSView:1.0.3'
  }

Add to the layout xml

<me.billhsu.ahrsview.AHRSView
        android:id="@+id/AHRSView"
        android:layout_width="300dp"
        android:layout_height="300dp"/>

Use it in your code

AHRSView ahrsView = (AHRSView) findViewById(R.id.AHRSView);
ahrsView.setRoll(roll);
ahrsView.setPitch(pitch);
ahrsView.setYaw(yaw);

Demo gif

gif1 gif2

For more details please check the SampleApp project.

##Author Shipeng Xu