[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Connect to sensor" does not take fusion sensors into consideration #479

Open
rakuco opened this issue Feb 14, 2024 · 1 comment
Open

"Connect to sensor" does not take fusion sensors into consideration #479

rakuco opened this issue Feb 14, 2024 · 1 comment

Comments

@rakuco
Copy link
Member
rakuco commented Feb 14, 2024

https://w3c.github.io/sensors/#concepts-sensors says

In simple cases, a platform sensor corresponds to a single device sensor, but if the provided sensor readings are a product of sensor fusion performed in software, the platform sensor corresponds to a set of device sensors involved in the sensor fusion process.

whereas https://w3c.github.io/sensors/#connect-to-sensor has

If the device has a single device sensor which can provide readings for type, then
[...]
If the device has multiple device sensors which can provide readings for type, then

which essentially assumes there is one device sensor backing a platform sensor.

The language needs to be adjusted so that multiple device sensors are accepted and processed accordingly (i.e. platformSensor remains null if connecting to all required sensors does not work).

@rakuco
Copy link
Member Author
rakuco commented Feb 16, 2024

https://w3c.github.io/sensors/#get-a-platform-sensors-sampling-bounds also assumes a platform sensor is connected to one device sensor.

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

No branches or pull requests

1 participant