提交 16e09973 编写于 作者: Q Qi Luo 提交者: Jiangtao Hu

Canbus : fix the scaling trial for transit

上级 e7c95182
......@@ -424,7 +424,7 @@ void TransitController::Steer(double angle) {
// TODO(All): remove -1.0 once Udelv has a complete fix.
const double real_angle =
button_pressed_
? vehicle_params_.max_steer_angle() * angle / 100.0 * 180 / M_PI / 2
? vehicle_params_.max_steer_angle() * angle / 100.0 * 180 / M_PI
: 0;
adc_motioncontrol1_10_->set_adc_cmd_steerwheelangle(real_angle);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册