Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed LSM6DS33_GR1
FusionTypes.h File Reference
Common types and their associated operations. More...
Go to the source code of this file.
Data Structures | |
union | FusionVector3 |
Three-dimensional spacial vector. More... | |
union | FusionQuaternion |
Quaternion. More... | |
union | FusionRotationMatrix |
Rotation matrix in row-major order. More... | |
union | FusionEulerAngles |
Euler angles union. More... | |
Functions | |
static | __attribute__ ((always_inline)) float FusionDegreesToRadians(const float degrees) |
Converts degrees to radians. |
Detailed Description
Common types and their associated operations.
Definition in file FusionTypes.h.
Function Documentation
static __attribute__ | ( | (always_inline) | ) | const [static] |
Converts degrees to radians.
Adds two vectors.
Calculates the reciprocal of the square root.
Converts radians to degrees.
- Parameters:
-
degrees Degrees.
- Returns:
- Radians.
- Parameters:
-
radians Radians.
- Returns:
- Degrees.
See http://en.wikipedia.org/wiki/Fast_inverse_square_root
- Parameters:
-
x Operand.
- Returns:
- Reciprocal of the square root of x.
- Parameters:
-
vectorA First vector of the operation. vectorB Second vector of the operation.
- Returns:
- Sum of vectorA and vectorB.
Definition at line 122 of file FusionTypes.h.
Generated on Sat Sep 3 2022 06:36:54 by
