Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: beyza <[email protected]>
  • Loading branch information
beyza committed May 24, 2024
1 parent 6fa7625 commit 810cca3
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
// limitations under the License.

#include "footprint.hpp"

#include <motion_utils/trajectory/trajectory.hpp>
#include <tier4_autoware_utils/geometry/boost_polygon_utils.hpp>

#include <autoware_auto_perception_msgs/msg/predicted_objects.hpp>
#include <geometry_msgs/msg/pose.hpp>

#include <boost/geometry/algorithms/envelope.hpp>
#include <boost/geometry.hpp>

#include <lanelet2_core/geometry/Polygon.h>
#include <tf2/utils.h>
Expand Down Expand Up @@ -67,7 +65,6 @@ tier4_autoware_utils::Polygon2d translate_polygon(
{
tier4_autoware_utils::Polygon2d translated_polygon;
const boost::geometry::strategy::transform::translate_transformer<double, 2, 2> translation(x, y);

boost::geometry::transform(polygon, translated_polygon, translation);
return translated_polygon;
}
Expand Down

0 comments on commit 810cca3

Please sign in to comment.