Page 1 of 1

Help! Multiwii v2.1 not registering gyro orientation

Posted: Tue Sep 04, 2012 1:43 am
by zanek
Hello

I am using a clone WM+ in my multiwii system. The way the gyro outputs on it, I have to reverse one of the axis's in the software so there is negative feedback on all axis's. I uncommented #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;} around line 165 of config.h, changed x and z to negative, saved it and uploaded multiwii 2.1 to my board. None of the gyro corrections changed direction. I don't have a board defined, so I am doing this in config,h

Does anyone have any ideas on how to get it to work?

Thanks, Zane

Re: Help! Multiwii v2.1 not registering gyro orientation

Posted: Tue Sep 04, 2012 4:28 pm
by pm1
It is the correct way to do this. Please make sure, that you haven't a define, which then overrides your setting in def.h -> Quick and dirty test: Put *your* settings at the end of def.h