Skip to content

Commit

Permalink
add status in nodelet
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Feb 19, 2025
1 parent cb239e9 commit b41c18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/nodelet/fback_flow_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class FBackFlowNodelet : public opencv_apps::Nodelet
velocity_msg.y = fxy.y;
flow_msg.point = point_msg;
flow_msg.velocity = velocity_msg;
flows_msg.status.push_back(true);
flows_msg.flow.push_back(flow_msg);
}
}
Expand Down
1 change: 1 addition & 0 deletions src/nodelet/simple_flow_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ class SimpleFlowNodelet : public opencv_apps::Nodelet
velocity_msg.y = scale_row * flow_at_point[1];
flow_msg.point = point_msg;
flow_msg.velocity = velocity_msg;
flows_msg.status.push_back(true);
flows_msg.flow.push_back(flow_msg);
}
}
Expand Down

0 comments on commit b41c18c

Please sign in to comment.