I am building a custom version of OpenCat/Nybble/Bittle. The electrical components and printed parts are from 4 different designs + custom changes. I am using a NyBoard v0.2 + Raspberry Pi 3B+. I'm using the OpenCat software with the Bittle Instincts file [since the rear legs are turned forward]. The issue is with the NyBoard mounted right-side up, the gyro/accel chip is upside down. From the chip's specs it can operate in any orientation, but, of course, the values returned will not be what is expected by the OpenCat software.
Any advice / suggestions / pointers on have to modify the software to compensate properly?
Thanks in advance.
I'll give that a try. Thanks.
You can play with the coefficients (+1/-1) of ypr[1] and yrp[2]. They are (pitch, roll) angles.