Skip to content

IMU data processing via HIDAPI on MacOS#8029

Merged
maloel merged 7 commits into
realsenseai:developmentfrom
sokolov19830711:hid_device_class_with_HIDAPI
Jan 21, 2021
Merged

IMU data processing via HIDAPI on MacOS#8029
maloel merged 7 commits into
realsenseai:developmentfrom
sokolov19830711:hid_device_class_with_HIDAPI

Conversation

@sokolov19830711

@sokolov19830711 sokolov19830711 commented Dec 18, 2020

Copy link
Copy Markdown
Contributor

s_hid_device class was modified to receive the IMU data via HIDAPI library functions on Mac OS
Tracked on RS5-9285, RS5-8852, possibly RS5-9121

Comment thread src/hid/hid-device.cpp Outdated
Comment thread src/hid/hid-device.cpp Outdated
Comment thread src/sensor.cpp
return static_cast<rs2_stream>(RS2_STREAM_GPIO);
}

#ifndef __APPLE__

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please explain in a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

An error in the log about an incorrect gpio appears, but this does not affect the behavior of the code in any way. Perhaps this is due to the fact that we receive data bypassing the usual scheme. I think this can be left as a temporary way.

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