Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

[TODO] Add image_topic.h #93

Open
Corsair-cxs opened this issue Feb 3, 2021 · 1 comment
Open

[TODO] Add image_topic.h #93

Corsair-cxs opened this issue Feb 3, 2021 · 1 comment

Comments

@Corsair-cxs
Copy link
Contributor

Hi, I'm trying to build ros_openvino_toolkit dev-ov 2020.3, but it failed. It seems that some functions and variables in image_topic.cpp is undeclared. May be we should add a file named image_topic.h in dynamic_vino_lib.

namespace Input {
/**
 * @class ImageTopic
 * @brief 
 */
    class ImageTopic {
    public:
        explicit ImageTopic(rclcpp::Node::SharedPtr node) : _node(node) { }
        bool initialize();
        bool initialize(size_t width, size_t height);
        void cb(const sensor_msgs::msg::Image::SharedPtr image_msg);
        bool read(cv::Mat * frame);

    private:
        //  those variable are undeclared
        node_;
        image_;
        image_count_;
        //image_count_.increaseCounter();
    }
}
@LewisLiuPub
Copy link
Contributor

PR #92 is aimed to fix this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants