Home › Forums › Forums › Technical Support for BerryIMU › Is there a simple way to change orientation in code? › Reply To: Is there a simple way to change orientation in code?
I assume you are using the python code?
ACCx = IMU.readACCx() ACCy = IMU.readACCy() ACCz = IMU.readACCz() GYRx = IMU.readGYRx() GYRy = IMU.readGYRy() GYRz = IMU.readGYRz()
ACCz = -(IMU.readACCx()) ACCx = IMU.readACCy() ACCy = IMU.readACCz() GYRz = -(IMU.readGYRx()) GYRx = -(IMU.readGYRy()) GYRy = -(IMU.readGYRz())
Mark --OzzMaker.com --