Skip to content

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

License

Notifications You must be signed in to change notification settings

billhsu/AndroidAHRSView

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages