GithubHelp home page GithubHelp logo

MPUTeapot plane idle about i2cdevlib HOT 7 CLOSED

jrowberg avatar jrowberg commented on July 29, 2024
MPUTeapot plane idle

from i2cdevlib.

Comments (7)

Odutna avatar Odutna commented on July 29, 2024

Hi,

I have the same issue. I tried the FreeIMU Lib, written by Fabio Varesano
and based on i2cdevlib, and all works fine.
I'm still trying to figure out if I did something wrong, and what ...

2013/12/4 Shabangs [email protected]

I'm trying MPUTeapot with Arduino UNO, a MPU6050.
In processing, when I run the sketch I'm able to see the ypr values but
the image of the plane is always idle.
I used the latest version of your sketches, the latest toxiclibs library,
Arduino 1.0.5 IDE and Processing 2.1 on several PCs and OS.
The MPU6050 is a GY-521.


Reply to this email directly or view it on GitHubhttps://github.com//issues/53
.

from i2cdevlib.

jrowberg avatar jrowberg commented on July 29, 2024

Hello,

If you can see YPR values, then the Arduino sketch is not outputting the correct format. For the MPUTeapot demo to work, you have to comment out all of the OUTPUT #define's except for the TEAPOT one, which is a special binary format. The MPUTeapot example was built to mimic the format used by InvenSense's own Teapot demo application and uses this binary packet output.

from i2cdevlib.

Shabangs avatar Shabangs commented on July 29, 2024

Thank you very much, it works like a charm!

from i2cdevlib.

domanez avatar domanez commented on July 29, 2024

Hi
I'm using MPUTeapot and Teensy 3.1 based on Arduino software. I can see the raw values and Quaternion on Arduino. However, when I run the MPUTeapot it gives me the following error:
"The constructor Quaternion(float, float, float, float) is not visible"
Please help me with this.

Thanks.

from i2cdevlib.

ysmintor avatar ysmintor commented on July 29, 2024

Hi,

Have you add the library for Quaternion which I mean *.h like helper_3dmath.h ?

发件人: domanez [mailto:[email protected]]
发送时间: 2014年6月3日 23:12
收件人: jrowberg/i2cdevlib
主题: Re: [i2cdevlib] MPUTeapot plane idle (#53)

Hi
I'm using MPUTeapot and Teensy 3.1 based on Arduino software. I can see the raw values and Quaternion on Arduino. However, when I run the MPUTeapot it gives me the following error:
"The constructor Quaternion(float, float, float, float) is not visible"
Please help me with this.

Thanks.


Reply to this email directly or view it on GitHub #53 (comment) . https://github.com/notifications/beacon/7165048__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzQyNzUxMiwiZGF0YSI6eyJpZCI6MjEzOTc4ODh9fQ==--fd4bc39bbc3d3bc7c188c5ef67b81e352d98315e.gif

from i2cdevlib.

domanez avatar domanez commented on July 29, 2024

No! where can I find this Quaternion library?

from i2cdevlib.

jrowberg avatar jrowberg commented on July 29, 2024

The Quaternion library used in the Processing sketch comes from ToxicLibs:

The code comment block at the top of MPUTeapot.pde points to this:

// NOTE: requires ToxicLibs to be installed in order to run properly.
// 1. Download from http://toxiclibs.org/downloads
// 2. Extract into [userdir]/Processing/libraries
//    (location may be different on Mac/Linux)
// 3. Run and bask in awesomeness

from i2cdevlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.