Skip to content

Errors in openpose_ros_node.cpp #1

@ajdroid

Description

@ajdroid

Hi,

I'm trying to use your openpose ros node and am having some trouble building it.
This is similar to solbach/openpose-ros#1
Specifically, I have:

/home/abhijat/catkin_ws/src/openpose-ros/src/openpose_ros_node.cpp:91:76: error: new initializer expression list treated as compound expression [-fpermissive]
new op::CvMatToOpInput(netInputSize, numScales, (float)scaleGap)
^
/home/abhijat/catkin_ws/src/openpose-ros/src/openpose_ros_node.cpp:91:76: error: no matching function for call to ‘op::CvMatToOpInput::CvMatToOpInput(float)’

It looks like there are some type mismatches. Maybe openpose has changed since this wrapper was created?

I can help fix this if some one can help point to what is wrong. (I'm new to ROS but am fairly confident with C++ and the openpose library itself)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions