fix(cam models): sample enable bug and remove unused include
This commit is contained in:
parent
883aef5341
commit
d1432e2745
|
@ -236,8 +236,6 @@ if(WITH_API)
|
||||||
src/mynteye/api/processor/depth_processor_ocv.cc
|
src/mynteye/api/processor/depth_processor_ocv.cc
|
||||||
src/mynteye/api/processor/rectify_processor_ocv.cc
|
src/mynteye/api/processor/rectify_processor_ocv.cc
|
||||||
)
|
)
|
||||||
endif()
|
|
||||||
|
|
||||||
if(WITH_CAM_MODELS)
|
if(WITH_CAM_MODELS)
|
||||||
list(APPEND MYNTEYE_SRCS
|
list(APPEND MYNTEYE_SRCS
|
||||||
src/mynteye/api/processor/depth_processor.cc
|
src/mynteye/api/processor/depth_processor.cc
|
||||||
|
@ -245,6 +243,8 @@ if(WITH_CAM_MODELS)
|
||||||
src/mynteye/api/processor/rectify_processor.cc
|
src/mynteye/api/processor/rectify_processor.cc
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT WITH_GLOG)
|
if(NOT WITH_GLOG)
|
||||||
list(APPEND MYNTEYE_SRCS src/mynteye/miniglog.cc)
|
list(APPEND MYNTEYE_SRCS src/mynteye/miniglog.cc)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -158,6 +158,7 @@ int main(int argc, char *argv[]) {
|
||||||
api->SetOptionValue(Option::IR_CONTROL, 80);
|
api->SetOptionValue(Option::IR_CONTROL, 80);
|
||||||
|
|
||||||
api->EnableStreamData(Stream::DISPARITY_NORMALIZED);
|
api->EnableStreamData(Stream::DISPARITY_NORMALIZED);
|
||||||
|
api->EnableStreamData(Stream::POINTS);
|
||||||
api->EnableStreamData(Stream::DEPTH);
|
api->EnableStreamData(Stream::DEPTH);
|
||||||
|
|
||||||
api->Start(Source::VIDEO_STREAMING);
|
api->Start(Source::VIDEO_STREAMING);
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
#include "mynteye/device/device.h"
|
#include "mynteye/device/device.h"
|
||||||
#include <camodocal/camera_models/Camera.h>
|
#include <camodocal/camera_models/Camera.h>
|
||||||
#include <camodocal/camera_models/CameraFactory.h>
|
#include <camodocal/camera_models/CameraFactory.h>
|
||||||
#include <camodocal/camera_models/CataCamera.h>
|
|
||||||
#include <camodocal/camera_models/EquidistantCamera.h>
|
#include <camodocal/camera_models/EquidistantCamera.h>
|
||||||
#include <camodocal/camera_models/PinholeCamera.h>
|
|
||||||
#include <camodocal/gpl/gpl.h>
|
#include <camodocal/gpl/gpl.h>
|
||||||
#include <camodocal/camera_models/Camera.h>
|
#include <camodocal/camera_models/Camera.h>
|
||||||
#include <opencv2/core/eigen.hpp>
|
#include <opencv2/core/eigen.hpp>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user