38 ADEBUG <<
"stage: SlowDown";
41 auto scenario_context = GetContextAs<EmergencyPullOverContext>();
42 scenario_config_.CopyFrom(scenario_context->scenario_config);
45 const double adc_speed =
injector_->vehicle_state()->linear_velocity();
47 if (target_slow_down_speed <= 0) {
48 target_slow_down_speed = scenario_context->target_slow_down_speed =
55 reference_line_info.LimitCruiseSpeed(target_slow_down_speed);
59 AERROR <<
"EmergencyPullOverStageSlowDown planning error";
63 static constexpr double kSpeedTolarence = 1.0;
64 if (adc_speed - target_slow_down_speed <= kSpeedTolarence) {