Skip to content

Commit

Permalink
fix(autoware_auto_geometry): move headers to a separate directory
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Dec 22, 2023
1 parent 2e2f184 commit 7d3b5e1
Show file tree
Hide file tree
Showing 27 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/design/interval.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ See 'Example Usage' below.
## Example Usage

```c++
#include "geometry/interval.hpp"
#include "autoware_auto_geometry/interval.hpp"

#include <iostream>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#ifndef GEOMETRY__BOUNDING_BOX__BOUNDING_BOX_COMMON_HPP_
#define GEOMETRY__BOUNDING_BOX__BOUNDING_BOX_COMMON_HPP_

#include <geometry/common_2d.hpp>
#include <geometry/visibility_control.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include "autoware_auto_geometry/visibility_control.hpp>

#include <autoware_auto_perception_msgs/msg/bounding_box.hpp>
#include <autoware_auto_perception_msgs/msg/detected_object.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#ifndef GEOMETRY__BOUNDING_BOX__EIGENBOX_2D_HPP_
#define GEOMETRY__BOUNDING_BOX__EIGENBOX_2D_HPP_

#include <geometry/bounding_box/bounding_box_common.hpp>
#include "autoware_auto_geometry/bounding_box/bounding_box_common.hpp>
#include <limits>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef GEOMETRY__BOUNDING_BOX__LFIT_HPP_
#define GEOMETRY__BOUNDING_BOX__LFIT_HPP_

#include <geometry/bounding_box/eigenbox_2d.hpp>
#include "autoware_auto_geometry/bounding_box/eigenbox_2d.hpp>
#include <limits>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

#ifndef GEOMETRY__BOUNDING_BOX__ROTATING_CALIPERS_HPP_
#define GEOMETRY__BOUNDING_BOX__ROTATING_CALIPERS_HPP_
#include <geometry/bounding_box/bounding_box_common.hpp>
#include <geometry/common_2d.hpp>
#include <geometry/convex_hull.hpp>
#include "autoware_auto_geometry/bounding_box/bounding_box_common.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include "autoware_auto_geometry/convex_hull.hpp>
#include <algorithm>
#include <cstring>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
#ifndef GEOMETRY__BOUNDING_BOX_2D_HPP_
#define GEOMETRY__BOUNDING_BOX_2D_HPP_

#include <geometry/bounding_box/eigenbox_2d.hpp>
#include <geometry/bounding_box/lfit.hpp>
#include <geometry/bounding_box/rotating_calipers.hpp>
#include "autoware_auto_geometry/bounding_box/eigenbox_2d.hpp>
#include "autoware_auto_geometry/bounding_box/lfit.hpp>
#include "autoware_auto_geometry/bounding_box/rotating_calipers.hpp>
namespace autoware
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#ifndef GEOMETRY__COMMON_2D_HPP_
#define GEOMETRY__COMMON_2D_HPP_

#include "geometry/interval.hpp"
#include "autoware_auto_geometry/interval.hpp"

#include <common/types.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#ifndef GEOMETRY__COMMON_3D_HPP_
#define GEOMETRY__COMMON_3D_HPP_

#include <geometry/common_2d.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
namespace autoware
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define GEOMETRY__CONVEX_HULL_HPP_

#include <common/types.hpp>
#include <geometry/common_2d.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
// lint -e537 NOLINT pclint vs cpplint
#include <algorithm>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define GEOMETRY__HULL_POCKETS_HPP_

#include <common/types.hpp>
#include <geometry/common_2d.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include <algorithm>
#include <iterator>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifndef GEOMETRY__INTERSECTION_HPP_
#define GEOMETRY__INTERSECTION_HPP_

#include <geometry/common_2d.hpp>
#include <geometry/convex_hull.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include "autoware_auto_geometry/convex_hull.hpp>

#include <autoware_auto_perception_msgs/msg/bounding_box.hpp>
#include <autoware_auto_planning_msgs/msg/trajectory_point.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define GEOMETRY__LOOKUP_TABLE_HPP_

#include "common/types.hpp"
#include "geometry/interval.hpp"
#include "autoware_auto_geometry/interval.hpp"

#include <cmath>
#include <stdexcept>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#define GEOMETRY__SPATIAL_HASH_HPP_

#include <common/types.hpp>
#include <geometry/spatial_hash_config.hpp>
#include <geometry/visibility_control.hpp>
#include "autoware_auto_geometry/spatial_hash_config.hpp>
#include "autoware_auto_geometry/visibility_control.hpp>

#include <unordered_map>
#include <utility>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include "helper_functions/crtp.hpp"

#include <common/types.hpp>
#include <geometry/common_2d.hpp>
#include <geometry/visibility_control.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include "autoware_auto_geometry/visibility_control.hpp>

#include <algorithm>
#include <cmath>
Expand Down
8 changes: 4 additions & 4 deletions common/autoware_auto_geometry/src/bounding_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <autoware_auto_tf2/tf2_autoware_auto_msgs.hpp>
#include <geometry/bounding_box/bounding_box_common.hpp>
#include <geometry/bounding_box/eigenbox_2d.hpp>
#include "autoware_auto_geometry/bounding_box/bounding_box_common.hpp>
#include "autoware_auto_geometry/bounding_box/eigenbox_2d.hpp>
// cspell: ignore eigenbox
#include <geometry/bounding_box/lfit.hpp>
#include "autoware_auto_geometry/bounding_box/lfit.hpp>
// cspell: ignore lfit
#include <geometry/bounding_box/rotating_calipers.hpp>
#include "autoware_auto_geometry/bounding_box/rotating_calipers.hpp>

#include <geometry_msgs/msg/point32.hpp>

Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/src/spatial_hash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <geometry/spatial_hash.hpp>
#include "autoware_auto_geometry/spatial_hash.hpp>
#include <geometry_msgs/msg/point32.hpp>
// lint -e537 NOLINT repeated include file due to cpplint rule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
#ifndef TEST_BOUNDING_BOX_HPP_
#define TEST_BOUNDING_BOX_HPP_

#include "geometry/bounding_box/lfit.hpp"
#include "autoware_auto_geometry/bounding_box/lfit.hpp"
// cspell: ignore lfit
#include "geometry/bounding_box/rotating_calipers.hpp"
#include "autoware_auto_geometry/bounding_box/rotating_calipers.hpp"

#include <geometry_msgs/msg/point32.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef TEST_SPATIAL_HASH_HPP_
#define TEST_SPATIAL_HASH_HPP_

#include "geometry/spatial_hash.hpp"
#include "autoware_auto_geometry/spatial_hash.hpp"

#include <geometry_msgs/msg/point32.hpp>

Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/test/src/lookup_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <common/types.hpp>
#include <geometry/lookup_table.hpp>
#include "autoware_auto_geometry/lookup_table.hpp>
#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/test/src/test_area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <geometry/common_2d.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include <geometry_msgs/msg/point32.hpp>
Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/test/src/test_common_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <geometry/common_2d.hpp>
#include "autoware_auto_geometry/common_2d.hpp>
#include <autoware_auto_perception_msgs/msg/point_clusters.hpp>
#include <geometry_msgs/msg/point32.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include "geometry/convex_hull.hpp"
#include "autoware_auto_geometry/convex_hull.hpp"

#include <geometry_msgs/msg/point32.hpp>

Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_geometry/test/src/test_hull_pockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
//
// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include "geometry/convex_hull.hpp"
#include "geometry/hull_pockets.hpp"
#include "autoware_auto_geometry/convex_hull.hpp"
#include "autoware_auto_geometry/hull_pockets.hpp"

#include <geometry_msgs/msg/point32.hpp>

Expand Down
4 changes: 2 additions & 2 deletions common/autoware_auto_geometry/test/src/test_intersection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

// Co-developed by Tier IV, Inc. and Apex.AI, Inc.

#include <geometry/convex_hull.hpp>
#include <geometry/intersection.hpp>
#include "autoware_auto_geometry/convex_hull.hpp>
#include "autoware_auto_geometry/intersection.hpp>

#include <gtest/gtest.h>

Expand Down
2 changes: 1 addition & 1 deletion common/autoware_auto_geometry/test/src/test_interval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.

#include "geometry/interval.hpp"
#include "autoware_auto_geometry/interval.hpp"

#include <gtest/gtest.h>

Expand Down

0 comments on commit 7d3b5e1

Please sign in to comment.