Skip to content

Commit cfbecb1

Browse files
committed
remove launch control reset
1 parent 5a627af commit cfbecb1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

GEMstack/onboard/planning/launch_control.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def __init__(self, stage_duration, stop_threshold):
99

1010
def reset(self):
1111
self.enable_launch_control = True
12-
self._launch_start_time = -1
12+
self._launch_start_time = 0
1313

1414

1515
def apply_launch_control(self, cmd, vehicle_velocity):
@@ -33,6 +33,7 @@ def apply_launch_control(self, cmd, vehicle_velocity):
3333
self.enable_launch_control = False
3434

3535
if vehicle_velocity < self.stop_threshold and elapsed > 3 * self.stage_duration:
36-
self.reset()
36+
# self.reset()
37+
self.enable_launch_control = False
3738

3839
return cmd

0 commit comments

Comments
 (0)