Skip to content

Commit

Permalink
bug: fix by cpplint
Browse files Browse the repository at this point in the history
Signed-off-by: Junya Sasaki <junya.sasaki@tier4.jp>
  • Loading branch information
sasakisasaki committed Mar 5, 2025
1 parent 6851a32 commit f743ea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <unordered_map>
#include <utility>
#include <vector>
#include <limits>
#include <memory>

namespace autoware::path_generator
{
Expand Down
1 change: 0 additions & 1 deletion planning/autoware_path_generator/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ std::optional<double> calc_interpolated_z(
return std::abs(seg_dist) < 1e-6
? next_z
: closest_z + (next_z - closest_z) * closest_to_target_dist / seg_dist;

} catch (const std::exception & e) {
RCLCPP_ERROR(rclcpp::get_logger("path_generator"), "Error: %s", e.what());
return std::nullopt;
Expand Down

0 comments on commit f743ea1

Please sign in to comment.