Developer World
Spresense SDK Library v3.3.0-375c679
GestureSetRotation Struct Reference

Rotation matrix. Assume x_adjusted, y_adjusted, z_adjusted as adjusted x, y, z acceleration value accordingly. As well, x_sensor, y_sensor, z_sensor are defined as original x, y, z value from sensor accordingly. x_adjusted, y_adjusted and z_adjusted are calculated as follows: x_adjusted = x_sensor * xx + y_sensor * xy + z_sensor * xz; y_adjusted = x_sensor * yx + y_sensor * yy + z_sensor * yz; z_adjusted = x_sensor * zx + y_sensor * zy + z_sensor * zz;. More...

#include <arm_gesture_command.h>

Public Attributes

float xx
 
float xy
 
float xz
 
float yx
 
float yy
 
float yz
 
float zx
 
float zy
 
float zz
 

Detailed Description

Rotation matrix. Assume x_adjusted, y_adjusted, z_adjusted as adjusted x, y, z acceleration value accordingly. As well, x_sensor, y_sensor, z_sensor are defined as original x, y, z value from sensor accordingly. x_adjusted, y_adjusted and z_adjusted are calculated as follows: x_adjusted = x_sensor * xx + y_sensor * xy + z_sensor * xz; y_adjusted = x_sensor * yx + y_sensor * yy + z_sensor * yz; z_adjusted = x_sensor * zx + y_sensor * zy + z_sensor * zz;.


The documentation for this struct was generated from the following file: