Skip to content

Commit

Permalink
Fix unused variables in publishNormalAndDistancePlane
Browse files Browse the repository at this point in the history
  • Loading branch information
PPokorski authored Feb 22, 2024
1 parent 5fdae92 commit 3667ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rviz_visual_tools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ bool RvizVisualTools::publishNormalAndDistancePlane(const Eigen::Vector3d& norma
{
// Scale distance for ABCD plane
const auto D = -d * normal.norm();
return publishABCDPlane(normal(0), normal(1), normal(2), D);
return publishABCDPlane(normal(0), normal(1), normal(2), D, color, x_width, y_width);

Check warning on line 1047 in src/rviz_visual_tools.cpp

View check run for this annotation

Codecov / codecov/patch

src/rviz_visual_tools.cpp#L1047

Added line #L1047 was not covered by tests
}

bool RvizVisualTools::publishXYPlane(const Eigen::Isometry3d& pose, Colors color, double scale)
Expand Down

0 comments on commit 3667ed5

Please sign in to comment.