diff --git a/common/config/config.json b/common/config/config.json index fabeed003fdfafef6c6e8ac44064691da8ebd601..b3f59fd2ae4abf35460e3b55e4728c04a939c8fc 100644 --- a/common/config/config.json +++ b/common/config/config.json @@ -10,7 +10,10 @@ "nostereo": false, "scale": 1.0, "flip_vert": false, - "max_fps": 25 + "max_fps": 25, + "width": 640, + "height": 480, + "crosshair": false }, "calibrate": false, "calibration": { @@ -55,7 +58,8 @@ "points": true, "depth": false, "left": false, - "right": false + "right": false, + "crosshair": false }, "net": { "listen": "tcp://*:9001", diff --git a/renderer/cpp/src/display.cpp b/renderer/cpp/src/display.cpp index 671fc32a78bd040862a77941822bb9959920219b..e9e08e9fc4f14fc3e9a785e70693f196b0eb33d7 100644 --- a/renderer/cpp/src/display.cpp +++ b/renderer/cpp/src/display.cpp @@ -202,7 +202,7 @@ void Display::wait(int ms) { #endif // HAVE_VIZ } - if (config_["disparity"]) { + if (config_["disparity"] || config_["left"] || config_["right"]) { if(cv::waitKey(ms) == 27) { // exit if ESC is pressed active_ = false;