mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-19 17:17:20 +01:00
22 lines
551 B
C++
22 lines
551 B
C++
#pragma once
|
|
|
|
#include <TCPSocket/TCPClient.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);
|
|
};
|