Files
detection_pot/utils/utils.h
ackimixs 3df784488f update
2024-01-19 12:46:59 +01:00

27 lines
387 B
C++

#pragma once
#include <opencv2/opencv.hpp>
namespace Type
{
struct Angle
{
float roll;
float pitch;
float yaw;
};
struct RobotPose
{
cv::Point3f position;
float theta; // rotation around the y axis
};
}
enum Team
{
BLUE,
YELLOW
};
double distanceBetweenRobotAndTag(Type::RobotPose robotPose, const cv::Mat& a);