Enable imu data

This commit is contained in:
KalmanSLightech
2018-07-21 15:43:02 +08:00
parent b33fc86a45
commit 259dc968aa
2 changed files with 3 additions and 3 deletions

View File

@@ -87,8 +87,8 @@ int main(int argc, char *argv[]) {
});
// Enable this will cache the motion datas until you get them.
// device->EnableMotionDatas();
device->Start(Source::VIDEO_STREAMING);
device->EnableMotionDatas();
device->Start(Source::ALL);
cv::namedWindow("frame");
std::size_t motion_count = 0;