| 46 | const double DepthStream::EMITTER_DCMOS_DISTANCE_VAL = 7.5; |
| 47 | |
| 48 | DepthStream::DepthStream(Device* driver_dev, libfreenect2::Freenect2Device* pDevice, Freenect2Driver::Registration *reg) : VideoStream(driver_dev, pDevice, reg) |
| 49 | { |
| 50 | //video_mode = makeOniVideoMode(ONI_PIXEL_FORMAT_DEPTH_1_MM, 512, 424, 30); |
| 51 | video_mode = makeOniVideoMode(ONI_PIXEL_FORMAT_DEPTH_1_MM, 640, 480, 30); |
| 52 | setVideoMode(video_mode); |
| 53 | setImageRegistrationMode(ONI_IMAGE_REGISTRATION_OFF); |
| 54 | } |
| 55 | |
| 56 | // Add video modes here as you implement them |
| 57 | // Note: if image_registration_mode == ONI_IMAGE_REGISTRATION_DEPTH_TO_COLOR, |
nothing calls this directly
no test coverage detected