Board Orientation

RE: #define ORIENTATION_ROTATION x,y,z
I am trying desperately to figure out how I need to code the Orientation Rotation define to get twist off to work. Unfortunately the other answers offered here regarding similar questions have failed to teach me what I need to do.
In addition to a board that is not vertically mounted (when blade faces up), the tilt is also opposite from the face of the hilt (that is that the board is mounted on the opposite side from where the power and aux buttons are).
I believe that the board is mounted in the normal orientation (usb down) but it also seems that the top of the board is tilted towards the power button maybe 20 degrees, see pics.
Any pointers are appreciated!




Does the image from here help at all? It sounds like the confusion is just not sure what values to use?

I can’t really tell from the pictures, but double check this page and the image there to make sure the ORIENTATION define is generally how the board is oriented, then from there use ORIENTATION_ROTATION as a way to “dial in” things. You can use the image from the first link as a guide.

In this case, you want a + angle on the y axis, as per the first image. What that angle is you’ll probably want to play with a bit, but +30 is probably a good start.

From your pics it looks like
#define ORIENTATION_ROTATION 0,-30,0
Might be (+) not (-)

With the USB tilted up, that’s positive Y rotation.

Ok so I tried 0,30,0 and it works! Many thanks for the assistance @NoSloppy and @ryryog25!

2 Likes