Skip to content

Commit

Permalink
GM: update max brake (commaai#1087)
Browse files Browse the repository at this point in the history
update max brake
  • Loading branch information
sshane authored and mlocoteta committed Apr 29, 2023
1 parent 5bd484f commit 210b13d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion board/safety/safety_gm.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const int GM_DRIVER_TORQUE_FACTOR = 4;

const int GM_MAX_GAS = 3072;
const int GM_MAX_REGEN = 1404;
const int GM_MAX_BRAKE = 350;
const int GM_MAX_BRAKE = 400;

const CanMsg GM_ASCM_TX_MSGS[] = {{384, 0, 4}, {1033, 0, 7}, {1034, 0, 7}, {715, 0, 8}, {880, 0, 6}, // pt bus
{161, 1, 7}, {774, 1, 8}, {776, 1, 7}, {784, 1, 2}, // obs bus
Expand Down
2 changes: 1 addition & 1 deletion tests/safety/test_gm.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import panda.tests.safety.common as common
from panda.tests.safety.common import CANPackerPanda, ALTERNATIVE_EXPERIENCE

MAX_BRAKE = 350
MAX_BRAKE = 400
MAX_GAS = 3072
MAX_REGEN = 1404

Expand Down

0 comments on commit 210b13d

Please sign in to comment.