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

Mike Whitney liked Mike Whitney's profile
Jul 19
DIY Robocars via Twitter
Jul 2
DIY Robocars via Twitter
Jun 26
Abdulatif Tlaib liked Ryan's profile
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Jun 20
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Jun 18
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Jun 18
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
More…