Skip to content
This repository was archived by the owner on May 15, 2024. It is now read-only.
This repository was archived by the owner on May 15, 2024. It is now read-only.

[api-fix] Sensors #582

@Redth

Description

@Redth
  • SensorSpeed
    • Fix values to be: Default = 0, UI = 1, Game = 2, Fastest = 3
    • Fix viewmodel in sample which is doing an incorrect int cast
  • CompassData
    • Remove ApplyLowPassFilter property and instead pass into Start as a default true parameter
  • Magnetometer - documentation should say values are microteslas and use the µ symbol
  • On all sensors, throw InvalidOperationException if Start is called while IsMonitoring is true
  • Add a public ctor for all EventArg types (for unit testing)
  • Add public ctor for all structs
  • Gyroscope
    • UWP needs to convert deg/s to rad/s
    • Document rad/s being the value returned
  • BarometerData.Pressure
    • Rename to PressureInHectopascals
    • check conversions are done on each platform
  • Rename CompassData.HeadingMagneticNorth to HeadingMagneticNorthDegrees

Metadata

Metadata

Assignees

Labels

ready-to-implementFeature approved, specs written, and ready to implement.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions