Skip to content

Commit

Permalink
fix: remove sanity check temporary as following reasons
Browse files Browse the repository at this point in the history
  * CI (especially unit tests) fails due to this sanity check
  * As this is out of scope for this PR, we will fix the bug
    where the start and end are reversed in another PR

Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>
  • Loading branch information
sasakisasaki committed Mar 8, 2025
1 parent 9f217b3 commit 6509955
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions planning/autoware_path_generator/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,16 +289,6 @@ std::optional<PathWithLaneId> PathGenerator::generate_path(
const lanelet::LaneletSequence & lanelet_sequence, const double s_start, const double s_end,
const Params & params) const
{
// Sanity check
if (s_start > s_end) {
RCLCPP_ERROR(
get_logger(),
"s_start must not be greater than s_end: Provided s_start = %f, s_end = %f. Skipping path "
"generation.",
s_start, s_end);
return std::nullopt;
}

std::vector<PathPointWithLaneId> path_points_with_lane_id{};

const auto add_path_point = [&](const auto & path_point, const lanelet::ConstLanelet & lanelet) {
Expand Down

0 comments on commit 6509955

Please sign in to comment.