FeatureAcceleration do not respond when FeatureMemsSensorFusion is enabled

Open
#9 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

Start from the FeatureAcceleration, FeatureGyroscope, and FeatureMemsSensorFusion listener setup shown in the issue and reproduce the behavior with both features enabled. Trace how those features dispatch sensor data and determine whether the accelerometer and gyroscope listeners are expected to receive responses alongside sensor fusion; done means the intended listener behavior is documented or corrected.

Written by the indexing model from the issue text.

Description

When both FeatureAcceleration and FeatureMemsSensorFusion is enabled only MemsSensor 's listener get responses .

        mAccelerometer = node.getFeature(FeatureAcceleration.class);
        mGyroscope = node.getFeature(FeatureGyroscope.class);
        mSensorFusion = node.getFeature(FeatureMemsSensorFusion.class);

once I removed the Fusion Feature the Accelerometer and Gyroscope listeners get data. Otherwise it doesn't. Does Sensor Fusion disable other two features?

Dominant language
Kotlin
Stars
99
Forks
49
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from STMicroelectronics/BlueSTSDK_Android

All issues in STMicroelectronics/BlueSTSDK_Android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.