Integer conversions from the reports' Q points to whole units.
More...
Integer conversions from the reports' Q points to whole units.
◆ GetDriverVersion()
| constexpr const char * bno08x::GetDriverVersion |
( |
| ) |
|
|
constexprnoexcept |
- Returns
- The driver version, e.g.
"0.1.0", from the generated bno08x_version.h. No I/O.
◆ GetDriverVersionMajor()
| constexpr uint32_t bno08x::GetDriverVersionMajor |
( |
| ) |
|
|
constexprnoexcept |
- Returns
- The major version. No I/O.
◆ GetDriverVersionMinor()
| constexpr uint32_t bno08x::GetDriverVersionMinor |
( |
| ) |
|
|
constexprnoexcept |
- Returns
- The minor version. No I/O.
◆ GetDriverVersionPatch()
| constexpr uint32_t bno08x::GetDriverVersionPatch |
( |
| ) |
|
|
constexprnoexcept |
- Returns
- The patch version. No I/O.
◆ ToMicroRad()
| constexpr int32_t bno08x::ToMicroRad |
( |
int32_t |
q12 | ) |
|
|
constexprnoexcept |
A Q12 angle (rad), such as a rotation vector's accuracy, in microradians.
- Parameters
-
- Returns
- The converted value.
◆ ToMilliRadPerS()
| constexpr int32_t bno08x::ToMilliRadPerS |
( |
int32_t |
q9 | ) |
|
|
constexprnoexcept |
A Q9 angular rate (rad/s) in milliradians per second.
- Parameters
-
- Returns
- The converted value.
◆ ToMmPerS2()
| constexpr int32_t bno08x::ToMmPerS2 |
( |
int32_t |
q8 | ) |
|
|
constexprnoexcept |
A Q8 acceleration (m/s2) in millimetres per second squared.
- Parameters
-
- Returns
- The converted value.
◆ ToNanoTesla()
| constexpr int32_t bno08x::ToNanoTesla |
( |
int32_t |
q4 | ) |
|
|
constexprnoexcept |
A Q4 magnetic field (uT) in nanotesla.
- Parameters
-
- Returns
- The converted value.
◆ ToPpm()
| constexpr int32_t bno08x::ToPpm |
( |
int32_t |
q14 | ) |
|
|
constexprnoexcept |
A Q14 quaternion component in parts per million of unity.
- Parameters
-
- Returns
- The converted value.