Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 18, 2022
1 parent 027c4cf commit 61e05c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "lanelet2_extension/regulatory_elements/autoware_traffic_light.hpp"
#include "lanelet2_extension/regulatory_elements/detection_area.hpp"
#include "lanelet2_extension/regulatory_elements/no_stopping_area.hpp"

#include <tier4_autoware_utils/tier4_autoware_utils.hpp>

#include <geometry_msgs/msg/point.hpp>
Expand Down
1 change: 0 additions & 1 deletion map/lanelet2_extension/lib/query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include <Eigen/Eigen>


#include <lanelet2_core/geometry/Lanelet.h>
#include <lanelet2_routing/RoutingGraph.h>
#include <tf2/utils.h>
Expand Down
5 changes: 2 additions & 3 deletions map/lanelet2_extension/test/src/test_query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ TEST(normalizedAngleDifference, getAngleDifference)

constexpr double eps = 0.1;
constexpr double pi = M_PI;
constexpr double pi2 = 2.0*M_PI;
constexpr double pi2 = 2.0 * M_PI;
// case normal
{
// abs diff
EXPECT_FLOAT_EQ(getAngleDifference(-pi, 0), pi);
// abs diff
EXPECT_FLOAT_EQ(getAngleDifference(pi, 0), pi);
EXPECT_FLOAT_EQ(getAngleDifference(pi, 0), pi);
}
// case inverse angle
{
Expand All @@ -69,7 +69,6 @@ TEST(normalizedAngleDifference, getAngleDifference)
}
}


class TestSuite : public ::testing::Test
{
public:
Expand Down

0 comments on commit 61e05c4

Please sign in to comment.