AutelSDK / AndroidAdvanceSample

3 stars 3 forks source link

[EVO II Pro V3] Determine IMU states #20

Closed tuannguyenneo closed 1 year ago

tuannguyenneo commented 1 year ago

Hi,

image

As the description into the above image, I have 2 questions:

  1. How to get IMU state info such as here?
  2. How many IMU states are there here?

BTW, I found some other information that might be helpful. I found class ImuStateInfo of class Evo2FlyControllerInfo. But the ImuStateInfo class has many properties and I can't guess which one defines the IMU state? Here is the ImuStateInfo class definition:

public interface ImuStateInfo {
    float getXAccelerometer();
    float getYAccelerometer();
    float getZAccelerometer();
    float getXGyroscope();
    float getYGyroscope();
    float getZGyroscope();
    float getXAccelerometer1();
    float getYAccelerometer1();
    float getZAccelerometer1();
    float getXGyroscope1();
    float getYGyroscope1();
    float getZGyroscope1();
    float getXMagnetometer();
    float getYMagnetometer();
    float getZMagnetometer();
    float getAbsolutePressure();
    float getTemperature();
    int getFieldsUpdated();
}

I also can not find any document mention about ImuStateInfo class. Please help me clear this issue.

Thank you.