@ -233,5 +233,10 @@ rotate_3f(enum Rotation rot, float &x, float &y, float &z)
y = -y;
return;
}
case ROTATION_PITCH_90_ROLL_90: {
tmp = x; x = y;
y = -z; z = -tmp;
@ -77,6 +77,7 @@ enum Rotation {
ROTATION_ROLL_270_YAW_270 = 26,
ROTATION_ROLL_180_PITCH_270 = 27,
ROTATION_PITCH_90_YAW_180 = 28,
ROTATION_PITCH_90_ROLL_90 = 29,
ROTATION_MAX
};
@ -115,7 +116,8 @@ const rot_lookup_t rot_lookup[] = {
{ 0, 270, 0 },
{270, 0, 270 },
{180, 270, 0 },
{ 0, 90, 180 }
{ 0, 90, 180 },
{ 90, 90, 0 }
/**