#include "utils.h" double distanceBetweenRobotAndTag(Type::RobotPose* robotPose, const cv::Mat& a) { return sqrt(pow(robotPose->position.x + a.at(0, 0), 2) + pow(robotPose->position.y + a.at(1, 0), 2) + pow(robotPose->position.z + a.at(2, 0), 2)); }