Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yzrobot authored Jan 4, 2023
1 parent 7635674 commit 662f652
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openpose_ros/src/openpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ void OpenPose::start()

bool OpenPose::waitAndEmplace(std::shared_ptr<std::vector<std::shared_ptr<op::Datum>>> &datumToProcess)
{
opWrapper.waitAndEmplace(datumToProcess);
return opWrapper.waitAndEmplace(datumToProcess);
}

bool OpenPose::waitAndPop(std::shared_ptr<std::vector<std::shared_ptr<op::Datum>>> &datumProcessed)
{
opWrapper.waitAndPop(datumProcessed);
return opWrapper.waitAndPop(datumProcessed);
}

void OpenPose::stop()
{
opWrapper.stop();
}
}

0 comments on commit 662f652

Please sign in to comment.