Skip to content

Commit

Permalink
Update planning/behavior_path_planner/src/turn_signal_decider.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
  • Loading branch information
k-obitsu and rej55 authored Apr 27, 2022
1 parent 86af502 commit 48d03a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner/src/turn_signal_decider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ std::pair<TurnIndicatorsCommand, double> TurnSignalDecider::getIntersectionTurnS
}
lane_attribute = lane.attributeOr("turn_direction", std::string("none"));

if (lighting_turn_signal == true) {
if (lighting_turn_signal) {
if (lane_attribute == std::string("left")) {
turn_signal.command = TurnIndicatorsCommand::ENABLE_LEFT;
} else if (lane_attribute == std::string("right")) {
Expand Down

0 comments on commit 48d03a7

Please sign in to comment.