mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-19 09:07:20 +01:00
6 lines
153 B
C++
6 lines
153 B
C++
#include "utils.h"
|
|
|
|
double distanceBetweenRobotAndTagOnXY(const cv::Mat& a)
|
|
{
|
|
return sqrt(pow(a.at<double>(0, 0), 2) + pow(a.at<double>(2, 0), 2));
|
|
} |