mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-20 01:47:30 +01:00
23 lines
585 B
C++
23 lines
585 B
C++
#pragma once
|
|
|
|
#include <TCPSocket/TCPClient.hpp>
|
|
#include <TCPSocket/TCPUtils.hpp>
|
|
|
|
#include "../utils/utils.h"
|
|
#include "../aruco/ArucoTag.h"
|
|
|
|
class MyClient : public TCPClient {
|
|
Type::RobotPose* robotPose;
|
|
std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>> arucoTags;
|
|
|
|
public:
|
|
|
|
~MyClient() override;
|
|
|
|
explicit MyClient(Type::RobotPose* robotPose, const char* ip = "127.0.0.1", int port = 8080);
|
|
|
|
void handleMessage(const std::string& message) override;
|
|
|
|
void setArucoTags(const std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>>& arucoTags);
|
|
};
|