Skip to content
Snippets Groups Projects

Quick update -- need to remove cout statements

parent 98fa2dae
No related branches found
No related tags found
No related merge requests found
...@@ -277,7 +277,7 @@ void OpticalFlow::loomingDetection(const cv::Mat points, const cv::Point2f cente ...@@ -277,7 +277,7 @@ void OpticalFlow::loomingDetection(const cv::Mat points, const cv::Point2f cente
std::cout << "pos: " << pos << '\t' << "neg: " << neg << std::endl; std::cout << "pos: " << pos << '\t' << "neg: " << neg << std::endl;
if((pos >= neg && pos > 10)/* && (pos >= SIGNIFICANT_VECTORS * processedPoints)*/) if((pos >= 1.25*neg && pos > 10)/* && (pos >= SIGNIFICANT_VECTORS * processedPoints)*/)
{ {
std_msgs::String dir; std_msgs::String dir;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment