Skip to content

Commit

Permalink
fix: use hazard in auto command when emergency_handling is false (#487)
Browse files Browse the repository at this point in the history
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
  • Loading branch information
tkimura4 authored Mar 8, 2022
1 parent 189ea60 commit dba8be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/vehicle_cmd_gate/src/vehicle_cmd_gate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void VehicleCmdGate::onTimer()
} else {
if (current_gate_mode_.data == tier4_control_msgs::msg::GateMode::AUTO) {
turn_indicator = auto_commands_.turn_indicator;
hazard_light = emergency_commands_.hazard_light;
hazard_light = auto_commands_.hazard_light;
gear = auto_commands_.gear;

// Don't send turn signal when autoware is not engaged
Expand Down

0 comments on commit dba8be5

Please sign in to comment.