Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Feb 27, 2024
1 parent a4a1eef commit bfd4ec9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions driving_environment_analyzer/src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ double getRouteLengthWithNoAdjacentLane(
return value;
}

bool existTraffcLight(const lanelet::ConstLanelets & lanes)
bool existTrafficLight(const lanelet::ConstLanelets & lanes)
{
for (const auto & lane : lanes) {
if (!lane.regulatoryElementsAs<lanelet::TrafficLight>().empty()) {
Expand Down Expand Up @@ -375,7 +375,8 @@ void DrivingEnvironmentAnalyzer::analyze()
get_logger(), "- Min speed limit: %.2f [m/s] Max speed limit: %.2f [m/s]", min_speed_limit,
max_speed_limit);
RCLCPP_INFO_STREAM(
get_logger(), "- Exist traffic light: " << std::boolalpha << existTraffcLight(preferred_lanes));
get_logger(),
"- Exist traffic light: " << std::boolalpha << existTrafficLight(preferred_lanes));
RCLCPP_INFO_STREAM(
get_logger(), "- Exist intersection: " << std::boolalpha << existIntersection(preferred_lanes));
RCLCPP_INFO_STREAM(
Expand Down

0 comments on commit bfd4ec9

Please sign in to comment.