microsoft / HoloLensForCV

Sample code and documentation for using the Microsoft HoloLens for Computer Vision research
MIT License
472 stars 156 forks source link

Add a check for the group display name when selecting Research Mode sensors #68

Closed polszta closed 5 years ago

polszta commented 5 years ago

Add a check for the group display name when selecting Research Mode sensors.

For historical context, the sensor stream went through a few renames before initial release, and the sample code was made resilient to renames by picking "the other" sensor. This is causing trouble as order of enumeration of streams is not guaranteed, and the source group selection logic did not handle this correctly.