Adafruit MPU6050 library reading fusion

For the Adafruit MPU6050 library, do the gyro values that are returned from these functions:

  Serial.print(g.gyro.x);
  Serial.print(g.gyro.y);
  Serial.print(g.gyro.z);

Do they they return a fusion of data from the acceleromter and the gyro, or just the raw gyro vals. I ask because I am making a TVC rocket and I cannot be using the accelerometer data. Thanks

Run the basic example from Adafruit and determine if it is appropriate with your requirements:
Adafruit_MPU6050/examples/basic_readings at master · adafruit/Adafruit_MPU6050 · GitHub

In part...


void loop() {

  /* Get new sensor events with the readings */
  sensors_event_t a, g, temp;
  mpu.getEvent(&a, &g, &temp);

  /* Print out the values */
  Serial.print("Acceleration X: ");
  Serial.print(a.acceleration.x);
  Serial.print(", Y: ");
  Serial.print(a.acceleration.y);
  Serial.print(", Z: ");
  Serial.print(a.acceleration.z);
  Serial.println(" m/s^2");

  Serial.print("Rotation X: ");
  Serial.print(g.gyro.x);
  Serial.print(", Y: ");
  Serial.print(g.gyro.y);
  Serial.print(", Z: ");
  Serial.print(g.gyro.z);
  Serial.println(" rad/s");

  Serial.print("Temperature: ");
  Serial.print(temp.temperature);
  Serial.println(" degC");

  Serial.println("");
  delay(500);
}

Have you tried:

This has six degrees of fusion on all the examples
Z

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.