microsoft / HoloLensForCV

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

inertial measurement unit (IMU) data streaming #123

Open ishakbhatt opened 4 years ago

ishakbhatt commented 4 years ago

is it possible to stream IMU data (gyro, magnetometer, accelerometer) data from the Hololens 1 through this tutorial & if not, is there any other tutorial on this?

LisaVelten commented 4 years ago

Hi, I am actually interested in accessing the IMU data as well. Until now I haven't found a way to access it. It seems that in the past even the depth and environment cameras were not accessable (https://docs.microsoft.com/de-de/windows/mixed-reality/release-notes-april-2018). I checked the version updates and could not find a note where it says that the data of the IMU is accessible. It would be nice to a an overview of not only the harware details of the HoloLens, but also the "accessible hardware". This would save so much time checking on how to get the data if we knew that it is not even possible..

argo-1 commented 4 years ago

Hi, have you checked the hololens toolkit for Unity? I'm not sure if this will work, but that's where I'd look if I was at my lab.

On Wed, Nov 20, 2019, 11:02 AM LisaVelten notifications@github.com wrote:

Hi, I am actually interested in accessing the IMU data as well. Until now I haven't found a way to access it. It seems that in the past even the depth and environment cameras were not accessable ( https://docs.microsoft.com/de-de/windows/mixed-reality/release-notes-april-2018). I checked the version updates and could not find a note where it says that the data of the IMU is accessible. It would be nice to a an overview of not only the harware details of the HoloLens, but also the "accessible hardware". This would save so much time checking on how to get the data if we knew that it is not even possible..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/HoloLensForCV/issues/123?email_source=notifications&email_token=AJWHCUQ73W5B6HUBLPONCGDQUUDMDA5CNFSM4JLPDU42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEERNQ4I#issuecomment-555931761, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWHCURBM6DQBIPSNM3UDALQUUDMDANCNFSM4JLPDU4Q .

LisaVelten commented 4 years ago

Hi, no actually not. I am not very familiar with the toolkit as I am using Visual Studio for my current stuff. However, it is a good idea!

argo-1 commented 4 years ago

I highly recommend. I might also soon be required to access IMU data(, to track headset egomotion in dense optical flow) and definitely hope it's accessible.

On Wed, Nov 20, 2019, 4:13 PM LisaVelten notifications@github.com wrote:

Hi, no actually not. I am not very familiar with the toolkit as I am using Visual Studio for my current stuff. However, it is a good idea!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microsoft/HoloLensForCV/issues/123?email_source=notifications&email_token=AJWHCUR36JLFAIN64PSK3MDQUVH3FA5CNFSM4JLPDU42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEESJYLA#issuecomment-556047404, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJWHCUVT6CC357S2IP5VIRDQUVH3FANCNFSM4JLPDU4Q .

iimrann412 commented 3 years ago

is it possible to stream IMU data (gyro, magnetometer, accelerometer) data from the Hololens 1 through this tutorial & if not, is there any other tutorial on this?

It is noit possible in HoloLens 1 to access the IMU sensor data. However it is possible to access the IMU data in HoloLens 2.

Stefania12345 commented 3 years ago

@iimrann412 How is it possibile to access the IMU data in HoloLens 2? Is a C# code available?

panserzap commented 2 years ago

Did you find the C# code?

felixvh commented 2 years ago

https://github.com/microsoft/HoloLens2ForCV This repository is for HL 2. But it is not in C# / Unity

To use it in C# you could try to adjust the dll provided in this repository:

https://github.com/petergu684/HoloLens2-ResearchMode-Unity