Skip to content

Commit

Permalink
refactor(behavior_velocity_crosswalk_module): clean up the code (auto…
Browse files Browse the repository at this point in the history
…warefoundation#4157)

* refactor

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* use tier4_autoware_utils's boost types

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* return Point instead of Point2d

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* remove unnecessary lambda function

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* add Line2d in tier4_autoware_utils

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* remove unnecessary member variable

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 committed Jul 19, 2023
1 parent a1f7950 commit 79c84aa
Show file tree
Hide file tree
Showing 7 changed files with 132 additions and 159 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ using Box2d = boost::geometry::model::box<Point2d>;
using LineString2d = boost::geometry::model::linestring<Point2d>;
using LinearRing2d = boost::geometry::model::ring<Point2d>;
using Polygon2d = boost::geometry::model::polygon<Point2d>;
using Line2d = boost::geometry::model::linestring<Point2d>;
using MultiPoint2d = boost::geometry::model::multi_point<Point2d>;
using MultiLineString2d = boost::geometry::model::multi_linestring<LineString2d>;
using MultiPolygon2d = boost::geometry::model::multi_polygon<Polygon2d>;
Expand Down
Loading

0 comments on commit 79c84aa

Please sign in to comment.