          long_control_state = LongCtrlState.stopping
  
      elif long_control_state == LongCtrlState.stopping:
        if starting_condition:
          long_control_state = LongCtrlState.starting
  
      elif long_control_state == LongCtrlState.starting:
        if stopping_condition:
          long_control_state = LongCtrlState.stopping
        elif output_accel >= CP.startAccel:
          long_control_state = LongCtrlState.pid
  
    return long_control_state
  
  
 
</s> remove     starting = actuators.longControlState == LongCtrlState.starting
 </s> add  </s> remove       ret.startingAccelRate = 6.0  # release brakes fast
 </s> add  </s> remove def create_acc_commands(packer, enabled, active, accel, gas, idx, stopping, starting, car_fingerprint):
 </s> add def create_acc_commands(packer, enabled, active, accel, gas, idx, stopping, car_fingerprint): </s> remove   standstill_release = 1 if active and starting else 0
 </s> add   standstill_release = 1 if active and not stopping else 0 </s> remove     ret.startAccel = 0.0
 </s> add 
          long_control_state = LongCtrlState.stopping
  
      elif long_control_state == LongCtrlState.stopping:
        if starting_condition:






          long_control_state = LongCtrlState.pid
  
    return long_control_state
  
  
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 Longcontrol: remove starting state (#23328)

* remove starting state

* new ref

* ready for merge

* try this

* cereal now on master

Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com> 
selfdrive/controls/lib/longcontrol.py