Reply To: angelx

Home Forums Forums Technical Support for BerryIMU angelx Reply To: angelx

#7414
PeterP
Participant

They gyro readings look good.

The accelerometer readings don't look good.

Are you running this on a Raspberry Pi? Has the code been modified in anyway?
Is it up the correct way? this is when the skull logo is facing down.

We need to have a look at the raw values for the accelerometer;
Just after this section of code;

 ACCx = IMU.readACCx()
ACCy = IMU.readACCy()
ACCz = IMU.readACCz()
GYRx = IMU.readGYRx()
GYRy = IMU.readGYRy()
GYRz = IMU.readGYRz()
MAGx = IMU.readMAGx()
MAGy = IMU.readMAGy()
MAGz = IMU.readMAGz()

can you add an extra line as shown below;`
ACCx = IMU.readACCx()
ACCy = IMU.readACCy()
ACCz = IMU.readACCz()
GYRx = IMU.readGYRx()
GYRy = IMU.readGYRy()
GYRz = IMU.readGYRz()
MAGx = IMU.readMAGx()
MAGy = IMU.readMAGy()
MAGz = IMU.readMAGz()
print ("accXYZ %i %i %i ") % (ACCx,ACCy,ACCz),`

Peter --OzzMaker.com --

Blip, blop, bloop...