intel / ros_openvino_toolkit

Apache License 2.0
148 stars 74 forks source link

getLockedHeader() was not defined yet #122

Open Corsair-cxs opened 3 years ago

Corsair-cxs commented 3 years ago

Version

dev-ov2020.3

Reproduction link

  1. https://github.com/intel/ros_openvino_toolkit/blob/dev-ov2020.3/dynamic_vino_lib/src/outputs/ros_topic_output.cpp
  2. https://github.com/intel/ros_openvino_toolkit/blob/dev-ov2020.3/dynamic_vino_lib/src/outputs/rviz_output.cpp

Steps to reproduce

run catkin_make in catkin_ws workspace.

What is expected?

Header related template function should be defined. eg:

getHeader()
getLockedHeader()

What is actually happening?

When I tried to build projects, the console reports error:

error: invalid use of incomplete type ‘class Pipeline’
   auto header = getPipeline()->getInputDevice()->getLockedHeader();

I think getLockedHeader() was not defined yet.

LewisLiuPub commented 3 years ago

Although PR #124 was merged, but it is just a WA for the issue. a real solution with getLockedHeader() func and correspondent class should be designed later on. so just keep the issue open, waiting for its solution's readiness.