Function sh2_setReorientation

Function Documentation

int sh2_setReorientation(sh2_Quaternion_t *orientation)

Set the current run-time sensor reorientation. (Set to zero to clear tare.)

Parameters:

orientation – Quaternion rotation vector to apply as new tare.

Returns:

SH2_OK (0), on success. Negative value from sh2_err.h on error.