BNO08X Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Functions
Unit helpers

Integer conversions from the reports' Q points to whole units. More...

Classes

struct  bno08x::EulerCentiDeg
 Yaw, pitch and roll in centidegrees. More...
 

Functions

constexpr int32_t bno08x::ToMmPerS2 (int32_t q8) noexcept
 A Q8 acceleration (m/s2) in millimetres per second squared.
 
constexpr int32_t bno08x::ToMilliRadPerS (int32_t q9) noexcept
 A Q9 angular rate (rad/s) in milliradians per second.
 
constexpr int32_t bno08x::ToNanoTesla (int32_t q4) noexcept
 A Q4 magnetic field (uT) in nanotesla.
 
constexpr int32_t bno08x::ToMicroRad (int32_t q12) noexcept
 A Q12 angle (rad), such as a rotation vector's accuracy, in microradians.
 
constexpr int32_t bno08x::ToPpm (int32_t q14) noexcept
 A Q14 quaternion component in parts per million of unity.
 
constexpr const char * bno08x::GetDriverVersion () noexcept
 
constexpr uint32_t bno08x::GetDriverVersionMajor () noexcept
 
constexpr uint32_t bno08x::GetDriverVersionMinor () noexcept
 
constexpr uint32_t bno08x::GetDriverVersionPatch () noexcept
 

Detailed Description

Integer conversions from the reports' Q points to whole units.

Function Documentation

◆ 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
q12A Q12 value.
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
q9A Q9 value.
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
q8A Q8 value.
Returns
The converted value.

◆ ToNanoTesla()

constexpr int32_t bno08x::ToNanoTesla ( int32_t  q4)
constexprnoexcept

A Q4 magnetic field (uT) in nanotesla.

Parameters
q4A Q4 value.
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
q14A Q14 value.
Returns
The converted value.