We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1829753 commit d6d32fdCopy full SHA for d6d32fd
orbbec_camera/src/ob_camera_node.cpp
@@ -265,7 +265,7 @@ void OBCameraNode::startStreams() {
265
266
void OBCameraNode::startIMU() {
267
for (const auto &stream_index : HID_STREAMS) {
268
- if (enable_stream_[stream_index]) {
+ if (enable_stream_[stream_index] && !imu_started_[stream_index]) {
269
CHECK(sensors_.count(stream_index));
270
auto profile_list = sensors_[stream_index]->getStreamProfileList();
271
for (size_t i = 0; i < profile_list->count(); i++) {
0 commit comments