Skip to content

Commit

Permalink
Update src/rviz/image/mouse_click.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Haschke <rhaschke@users.noreply.github.com>
  • Loading branch information
miguelriemoliveira and rhaschke authored Jul 16, 2022
1 parent 25fc5c6 commit 6197411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz/image/mouse_click.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool MouseClick::eventFilter(QObject* obj, QEvent* event)
// Publish if clicked point is inside the image.
if (pix_x >= 0 && pix_x < img_width_ && pix_y >= 0 && pix_y < img_height_)
{
geometry_msgs::PointStamped point_msgs;
geometry_msgs::PointStamped point_msg;
point_msgs.header.stamp = ros::Time::now();
point_msgs.point.x = pix_x;
point_msgs.point.y = pix_y;
Expand Down

0 comments on commit 6197411

Please sign in to comment.