[Update]: imu assembly
This commit is contained in:
@@ -31,6 +31,8 @@ int main(int argc, char *argv[]) {
|
||||
auto &&request = device::select_request(device, &ok);
|
||||
if (!ok) return 1;
|
||||
device->ConfigStreamRequest(request);
|
||||
device->EnableImuCorrespondence(true);
|
||||
device->EnableProcessMode(ProcessMode::PROC_IMU_ASSEMBLY);
|
||||
|
||||
std::size_t left_count = 0;
|
||||
device->SetStreamCallback(
|
||||
|
||||
@@ -170,6 +170,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
api->SetOptionValue(Option::IR_CONTROL, 80);
|
||||
|
||||
api->SetDisparityComputingMethodType(DisparityComputingMethod::SGBM);
|
||||
api->EnableStreamData(Stream::DISPARITY_NORMALIZED);
|
||||
api->EnableStreamData(Stream::DEPTH);
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ int main(int argc, char *argv[]) {
|
||||
api->EnableMotionDatas();
|
||||
// Enable imu timestamp correspondence int device;
|
||||
api->EnableImuTimestampCorrespondence(true);
|
||||
api->EnableProcessMode(ProcessMode::PROC_IMU_ASSEMBLY);
|
||||
|
||||
api->Start(Source::ALL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user