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

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 8, 2024
1 parent 018bf2c commit a153dfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tmp/lanelet2_extension/lib/visualization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ visualization_msgs::msg::MarkerArray visualization::detectionAreasAsMarkerArray(
marker.colors.push_back(c);
}
} // for triangles0
} // for detection areas
} // for detection areas
marker_array.markers.push_back(marker);

// stop line visualization
Expand Down Expand Up @@ -761,7 +761,7 @@ visualization_msgs::msg::MarkerArray visualization::noParkingAreasAsMarkerArray(
marker.colors.push_back(c);
}
} // for triangles0
} // for no_parking areas
} // for no_parking areas
marker_array.markers.push_back(marker);
} // for regulatory elements
return marker_array;
Expand Down Expand Up @@ -831,7 +831,7 @@ visualization_msgs::msg::MarkerArray visualization::noStoppingAreasAsMarkerArray
marker.colors.push_back(c);
}
} // for triangles0
} // for no_stopping areas
} // for no_stopping areas
marker_array.markers.push_back(marker);
const auto & stop_line = no_reg_elem->stopLine();
// stop line visualization
Expand Down
3 changes: 1 addition & 2 deletions tmp/lanelet2_extension/test/src/test_projector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ TEST(TestSuite, ForwardMGRSProjection) // NOLINT for gtest
// https://www.movable-type.co.uk/scripts/latlong-utm-mgrs.html
// round the projected value to mm since the above reference only gives value
// in mm precision
ASSERT_EQ(projector.getProjectedMGRSGrid(), "54SUE") << "Projected grid should be "
<< "54SUE";
ASSERT_EQ(projector.getProjectedMGRSGrid(), "54SUE") << "Projected grid should be " << "54SUE";
double rounded_x_mm = round(mgrs_point.x() * 1000) / 1000.0;
ASSERT_DOUBLE_EQ(rounded_x_mm, 94946.081) << "Forward projected x value should be " << 94946.081;
double rounded_y_mm = round(mgrs_point.y() * 1000) / 1000.0;
Expand Down

0 comments on commit a153dfa

Please sign in to comment.