Skip to content

Tare X and Y axis only. #5

@LazaroFilm

Description

@LazaroFilm

Subject of the issue

I would need to tare the X and Y axis without changing the Z axis, but the library only allows for Z or ALL axis to be zeroed out. Setting a Tare on all stops my device from working properly.
Looking at the SH2 code, it seems tat you can select the axis you want to tare with a binary/Hex code but it's not exposed in the Sparkfun library.

Your workbench

RP2040 MCU with BNO085 module via I2C running under Arduino-pico

Steps to reproduce

Set a Tare, only option is bool for Z or ALL.

Expected behavior

Select X, Y, Z, XY, XZ, YX, ALL tare options.

Actual behavior

It works without tare, but if the sensor is not perfectly mounted an error will be forwarded to my code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions