mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-26 01:02:06 +08:00
Update accel_controller.py
This commit is contained in:
@@ -17,7 +17,7 @@ AccelPersonality = custom.LongitudinalPlanSP.AccelerationPersonality
|
||||
MAX_ACCEL_PROFILES = {
|
||||
AccelPersonality.eco: [2.0, 1.99, 1.92, 1.10, .500, .33, .23, .125], # eco
|
||||
AccelPersonality.normal: [2.0, 2.00, 1.97, 1.25, .635, .48, .31, .165], # normal
|
||||
AccelPersonality.sport: [2.0, 2.00, 2.00, 1.85, .800, .60, .42, .251], # sport
|
||||
AccelPersonality.sport: [2.0, 2.00, 2.00, 1.90, 1.40, .70, .42, .251], # sport
|
||||
}
|
||||
MAX_ACCEL_BREAKPOINTS = [0., 4., 6., 9., 16., 25., 30., 55.]
|
||||
|
||||
@@ -110,4 +110,4 @@ class AccelPersonalityController:
|
||||
|
||||
def update(self):
|
||||
self.frame += 1
|
||||
self._update_from_params()
|
||||
self._update_from_params()
|
||||
|
||||
Reference in New Issue
Block a user