Has anyone had trouble with adjusting these lines causing almost 0 sensitivity on one or more gyro axes? I tried adjusting this section in the 714 dev and pitch and roll pretty much went dead in the graph.
Instead I adjusted the default board orientation section in the sensor tab... that made everything work properly. Am I using this wrong?
Code: Select all
//if you want to change to orientation of individual sensor
//#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = Y; accADC[PITCH] = -X; accADC[YAW] = Z;}
#define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
//#define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = Z;}
I'm using:
Genuine WMP
BMP180 on the 0x82 address
Ard Pro Mini, all sensors running on 3.3v.
Internal pullups disabled (have a 3v3 resister setup on the shield)
spag