Skip to content

Read Absolute Orientation #777

Closed
Closed

Description

@CristyRO9

Hi! I used the MPU6050_DMP6 code and it's working very well, but I have a problem, I seem to be reading relative orientation, I'm more interested in PITCH to be absolute and YAW to be relative. How can I do that? Thank you in advance!

Activity

  1. jrowberg commented on Jan 5, 2025

    @jrowberg
    Owner

    Pitch and roll should already be absolute, since orientation is computed according to gravity. Yaw is the only one that can drift without an absolute magnetic heading reference. Do you have the IMU chip itself mounted on a PCB such that it's flat/level relative to the ground? Or is it at 90 degrees in any direction?

  2. CristyRO9 commented on Jan 5, 2025

    @CristyRO9
    Author

    Well I have the MPU6050 module placed on a breadboard alongside the Pro Mini 3.3V board, but whenever I power the setup it will take it's initial position as reference, something I don't want. I have a model glider for which PITCH axis will be used only at the launch for a few seconds and then the YAW axis will be used to guide the glider to a specific direction, set by a potentiometer, I don't need the true azimuth, just a reference. Only for the PTCH axis I want absolute readings relative to earth, because on the field I can't position the glider perfectly level when powering on. I will post a link to a video to see what's happening. Thank you!

  3. CristyRO9 commented on Jan 6, 2025

    @CristyRO9
    Author

    How can I read the absolute orientation regarding earth?

  4. CristyRO9 commented on Jan 7, 2025

    @CristyRO9
    Author

    Please help me... :(

  5. Repository owner locked and limited conversation to collaborators on Jan 7, 2025
  6. converted this issue into a discussion #778 on Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions