diff --git a/include/viewer.h b/include/viewer.h index 0522342..c1954b4 100644 --- a/include/viewer.h +++ b/include/viewer.h @@ -4,6 +4,7 @@ #include #include +#include #include #include "patch.h" diff --git a/src/optimizer.cpp b/src/optimizer.cpp index 90e8de7..423aa17 100644 --- a/src/optimizer.cpp +++ b/src/optimizer.cpp @@ -82,6 +82,7 @@ bool Optimizer::precomputeLogImageArray(const tracker::Patches& patches, const t // store this for later use const ros::Time& t = image_it->first; optimizer_data_[t] = OptimizerDatum(grad, image_it->second, patches.size()); + return true; } void Optimizer::optimizeParameters(const cv::Mat &event_frame, tracker::Patch &patch)