Skip to content

Commit

Permalink
guardian:set steering rate to 25% in safety mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gengqx authored and Capri2014 committed Sep 8, 2018
1 parent f162827 commit 9c9ca27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/guardian/guardian.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void Guardian::TriggerSafetyMode() {

guardian_cmd_.mutable_control_command()->set_throttle(0.0);
guardian_cmd_.mutable_control_command()->set_steering_target(0.0);
guardian_cmd_.mutable_control_command()->set_steering_rate(0.0);
guardian_cmd_.mutable_control_command()->set_steering_rate(25.0);
guardian_cmd_.mutable_control_command()->set_is_in_safe_mode(true);

// TODO(QiL) : Remove this one once hardware re-alignment is done.
Expand Down

0 comments on commit 9c9ca27

Please sign in to comment.