 |
Galaxis Codebase
1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
|
Go to the documentation of this file. 1 #ifndef PARAM_IDENT_NODE_HPP_
2 #define PARAM_IDENT_NODE_HPP_
6 #include <opencv2/core.hpp>
7 #include <opencv2/objdetect.hpp>
8 #include <opencv2/imgproc/imgproc.hpp>
9 #include <std_msgs/msg/bool.hpp>
10 #include <sensor_msgs/msg/image.hpp>
11 #include <cv_bridge/cv_bridge.h>
40 void onImgCallback(
const sensor_msgs::msg::Image::SharedPtr p_ImgMsg);
44 void drawBox(cv::Mat &im, cv::Mat &bbox);
45 void publishQR(rclcpp::Time stamp,
bool detected);
50 #endif //PARAM_IDENT_NODE_HPP_
bool m_qrCodeFoundSometime
int m_foundQRCountForSendingMessage
rclcpp::Publisher< QRCodeDetectType >::SharedPtr m_qrCodeDetectionPubSPtr
cv::QRCodeDetector m_detector
rclcpp::Subscription< sensor_msgs::msg::Image >::SharedPtr m_imgSubscriber
bool checkBoundingBox(cv::Mat &bbox, cv::Mat &image)
cv_bridge::CvImage m_imgBridge
void test_detection_loop(std::string path)
void onImgCallback(const sensor_msgs::msg::Image::SharedPtr p_ImgMsg)
void publishImage(cv::Mat &image)
void drawBox(cv::Mat &im, cv::Mat &bbox)
void publishQR(rclcpp::Time stamp, bool detected)
std::string m_settingsJsonFilename