Skip to content

UwbRanging: Integrate sensor fusion feature - #479

Open
jameseidson wants to merge 3 commits into
mainfrom
uwb/sensor-fusion-integration
Open

jameseidson wants to merge 3 commits into
mainfrom
uwb/sensor-fusion-integration

Conversation

@jameseidson

Copy link
Copy Markdown

This is a new feature added to androidx.core.uwb:uwb which supports software-based estimation of angle-of-arrival. Integrate this into the UwbRanging samples app to allow manual testing of the feature and provide example usage for apps.

@agammann agammann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sensorFusionEnabled defaults to false and ARCore is marked optional, but this adds CAMERA to the unconditional PERMISSIONS_REQUIRED list at startup. Users running ordinary UWB ranging now get a camera prompt even if they never enable sensor fusion, and the denial toast says all permissions are required. Could camera permission be requested only when turning on sensor fusion, leaving the baseline UWB path unchanged?

…egration

# Conflicts:
#	gradle/libs.versions.toml
CAMERA is no longer part of the startup permission set, so the baseline
UWB ranging flow is unchanged. The settings toggle requests CAMERA when
sensor fusion is turned on, and ARCore availability/install is only
checked while sensor fusion is enabled and the camera is granted.
@agammann

Copy link
Copy Markdown

I rechecked the updated diff: camera permission is now requested when sensor fusion is enabled in settings, rather than in the baseline startup permission list. That addresses the prompt concern I raised. This is a scoped diff review; I did not run the sample or test on a device. AI-assisted review.

@github-actions github-actions Bot removed the Stale label Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants