Skip to content

Commit

Permalink
ref(traffic_simulator): remove irrelevant toMapPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoszynski committed Dec 19, 2024
1 parent 5dfaf19 commit c1df2c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ class HdMapUtils

auto getAltitude(const traffic_simulator_msgs::msg::LaneletPose &) const -> double;

auto toMapPosition(const lanelet::Id lanelet_id, const double s) const
-> geometry_msgs::msg::Point;

auto getLaneChangeTrajectory(
const geometry_msgs::msg::Pose & from,
const traffic_simulator::lane_change::Parameter & lane_change_parameter,
Expand Down
6 changes: 0 additions & 6 deletions simulation/traffic_simulator/src/hdmap_utils/hdmap_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1098,12 +1098,6 @@ auto HdMapUtils::getNextLaneletIds(
return sortAndUnique(ids);
}

auto HdMapUtils::toMapPosition(const lanelet::Id lanelet_id, const double s) const
-> geometry_msgs::msg::Point
{
return getCenterPointsSpline(lanelet_id)->getPoint(s);
}

auto HdMapUtils::getTrafficLightIds() const -> lanelet::Ids
{
using namespace lanelet::utils::query;
Expand Down

0 comments on commit c1df2c5

Please sign in to comment.