Developer

ArduIMU+ Reverse GyroX value. Is there a Bug?

Hi, guys!

I noticed, on the ArduIMU+ Demo, that the GyroX ( Pitch ) value seemsto be inverted. I assembled it like manual explains (with all the chipsinside the "cube", with their top face pointing to the center of theimaginary box, formed by the board walls).

When the AccelY increases quickly the output value, the GyroY does the same before return to the middle value.
But with the AccelX and GyroX the relation is inverse. The AccelX value rises but the GyroX value goes down, in the counter direction.

The GyroX is on the "ArduIMU 6DOF main board" (neighbor of ADXL335).

Is this the right reaction? If not, how can I invert that signal on the code?

3690830044?profile=original

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer
    OK... guys! Isn't a bug.

    I think that I discovered what happened. Seems that the pairs isn't "AccelX & GyroX" and "AccelY & GyroY".
    The functions uses "AccelX & GyroY" and "AccelY & GyroX" to extract the measurement. So.. I swapped the pin numbers of GyroX and GyroY on the ADC.pde file. Now the reaction is right, fast and accurate. Except by the Yaw, because I don't have a GPS yet.

    I'm learning about the 6DOF, with the modular boards connected to my Seeeduino, because my ArduIMU+ Board is in transit by UPS at this moment. But I'm happy to learn, by studying the codes. I think it's a good way for newbies like me.

    Hugs!!!
This reply was deleted.

Activity

Hiroki Tanaka liked Hiroki Tanaka's profile
Oct 13
Derrick Davies liked lisa TDrones's profile
Sep 23
More…