Skip to content

Commit

Permalink
Merge branch 'kegman-unstable-merge' of https://github.com/jamezz-com…
Browse files Browse the repository at this point in the history
…ma/openpilot into kegman-unstable-merge
  • Loading branch information
Jamezz committed Apr 5, 2019
2 parents 84d48de + e189c36 commit 022d863
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ selfdrive/proclogd/proclogd
selfdrive/ui/ui
selfdrive/test/tests/plant/out
selfdrive/visiond/visiond
selfdrive/locationd/kalman/loc_local.cpp
/src/

one
Binary file modified selfdrive/assets/img_spinner_comma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified selfdrive/assets/img_spinner_track.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions selfdrive/car/gm/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
except ImportError:
CarController = None

A_ACC_MAX = max(_A_CRUISE_MAX_V_FOLLOWING)
A_ACC_MAX = min(_A_CRUISE_MAX_V_FOLLOWING)

class CanBus(object):
def __init__(self):
Expand Down Expand Up @@ -61,7 +61,7 @@ def calc_accel_override(a_ego, a_target, v_ego, v_target):

# normalized max accel. Allowing max accel at low speed causes speed overshoots
max_accel_bp = [10, 20] # m/s
max_accel_v = [0.714, 1.0] # unit of max accel
max_accel_v = [0.85, 1.0] # unit of max accel
max_accel = interp(v_ego, max_accel_bp, max_accel_v)

# limit the pcm accel cmd if:
Expand Down

0 comments on commit 022d863

Please sign in to comment.