diff options
author | Martin Miller | 2017-04-13 14:21:38 -0500 |
---|---|---|
committer | Martin Miller | 2017-04-13 14:21:38 -0500 |
commit | a9a08ac971b8057e6e26bf781cb453edbcc71121 (patch) | |
tree | a979ae446b313ed2afc22344de5d9864cec4a17d /src | |
parent | 1cd53f14018941dda798148112b74b92232c04df (diff) | |
download | refslam-a9a08ac971b8057e6e26bf781cb453edbcc71121.zip refslam-a9a08ac971b8057e6e26bf781cb453edbcc71121.tar.gz |
current best quatviz result (6)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.h | 4 | ||||
-rw-r--r-- | src/vision.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -37,8 +37,8 @@ #define ACCBIASY 0.01465135 #define ACCBIASZ -1*-0.00709229 -#define CANOECENTER 0.92 /* center of gravity of canoe */ -#define CANOEHEIGHT -0.41 +#define CANOECENTER 0.82 /* center of gravity of canoe */ +#define CANOEHEIGHT -0.46 //#define CANOEHEIGHT -0.75 #define DOWNSAMPLE 1 /* */ #define HEIGHT_FROM_ATTITUDE /* use the attitude to measure the height */ diff --git a/src/vision.cpp b/src/vision.cpp index 4b5ce98..b189dbd 100644 --- a/src/vision.cpp +++ b/src/vision.cpp @@ -51,7 +51,7 @@ Vision::open ( const char *fn, const Camera &cam ) cv::undistort( unbayered, undistorted, cam.K(1), cam.d(1)); undistorted.convertTo(original, CV_32FC3); cv::cvtColor(original, gray, CV_BGR2GRAY); - display = unbayered.clone(); + display = undistorted.clone(); return ; } /* ----- end of method Vision::open ----- */ |