debug GPU version

This commit is contained in:
gfuse
2021-05-26 10:50:20 +02:00
parent 1fba26dfef
commit cd6f0c5b97
58 changed files with 3828 additions and 425 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
namespace svo {
namespace feature_alignment {
#define SUBPIX_VERBOSE 0
#define SUBPIX_VERBOSE 1
bool align1D(
const cv::Mat& cur_img,
@@ -258,7 +258,7 @@ bool align2D(
#if SUBPIX_VERBOSE
cout << "Iter " << iter << ":"
<< "\t u=" << u << ", v=" << v
<< "\t update = " << update[0] << ", " << update[1]
<< "\t update = " << update[0] << ", " << update[1]<< endl;
// << "\t new chi2 = " << new_chi2 << endl;
#endif