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

Commit

Permalink
Merge pull request #139 from Corsair-cxs/iss139
Browse files Browse the repository at this point in the history
Bug fix: srv.request.image_paths = image_path; [issue #138]
  • Loading branch information
LewisLiuPub authored Mar 15, 2021
2 parents 8f44ff1 + b877be9 commit c0b52fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample/src/image_object_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ int main(int argc, char** argv)
ros::ServiceClient client = n.serviceClient<object_msgs::DetectObject>("/openvino_toolkit/service");

object_msgs::DetectObject srv;
srv.request.image_paths = image_path;
//TODO (Corsair-cxs) It's unfinished, I only do it for build success.
srv.request.image_paths.front() = image_path;

if (client.call(srv))
{
Expand Down

0 comments on commit c0b52fc

Please sign in to comment.