Help! Multiwii v2.1 not registering gyro orientation
Posted: Tue Sep 04, 2012 1:43 am
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
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