Function sh2_setTareNow
Defined in File sh2.h
Function Documentation
-
int sh2_setTareNow(uint8_t axes, sh2_TareBasis_t basis)
Perform a tare operation on one or more axes.
- Parameters:
axes – Bit mask specifying which axes should be tared.
basis – Which rotation vector to use as the basis for Tare adjustment.
- Returns:
SH2_OK (0), on success. Negative value from sh2_err.h on error.