Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrysler: Safety mode for Compact US Wide #1760

Open
wants to merge 55 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
c095f13
checkpoint
jyoung8607 Dec 5, 2023
a97cb57
fix EPS motor torque signal width
jyoung8607 Dec 5, 2023
79a465b
handle NO_STEER_REQ_BIT correctly
jyoung8607 Dec 5, 2023
8bef7e7
update frequencies and lengths
jyoung8607 Dec 5, 2023
c6d9bb6
update DAS_6 message size
jyoung8607 Dec 5, 2023
e7789a6
torque signal offset tweak to match width
jyoung8607 Dec 5, 2023
470231c
there really is a control bit
jyoung8607 Dec 6, 2023
ee93ff3
revert temporary CI test changes
jyoung8607 Dec 6, 2023
9f8d407
Merge branch 'master' of https://github.com/commaai/panda into cherok…
jyoung8607 Dec 6, 2023
5139b6d
Merge branch 'master' into cherokee_kl
jyoung8607 Feb 17, 2024
960a26d
follow global refactor, const-ify CANPacket_t
jyoung8607 Feb 17, 2024
25e2b4f
temp re-point opendbc ref, revert before merge
jyoung8607 Feb 17, 2024
7e2baf5
MISRA
jyoung8607 Feb 17, 2024
97485fe
execute permission
jyoung8607 Feb 17, 2024
be1fb0e
... MISRA?
jyoung8607 Feb 17, 2024
2219a78
checksums are good
jyoung8607 Feb 17, 2024
561a325
counters mostly good
jyoung8607 Feb 17, 2024
79a8b18
wonder how MISRA feels about this
jyoung8607 Feb 17, 2024
44da735
... or this
jyoung8607 Feb 17, 2024
ab6f6f5
Revert "... or this"
jyoung8607 Feb 17, 2024
ff19d47
Revert "wonder how MISRA feels about this"
jyoung8607 Feb 17, 2024
083cdf1
Merge branch 'master' of https://github.com/commaai/panda into cherok…
jyoung8607 Feb 17, 2024
b7d38d1
fix ACC_1 message size
jyoung8607 Feb 18, 2024
9d864f5
update comments
jyoung8607 Feb 18, 2024
9589a92
temp disable checks while investigating
jyoung8607 Feb 18, 2024
5501408
Merge branch 'master' into cherokee_kl
jyoung8607 Feb 20, 2024
eff1bf3
follow GET_BIT refactor
jyoung8607 Feb 20, 2024
4273af6
fix CRUISE_BUTTONS message size
jyoung8607 Feb 20, 2024
8d3b1d7
fixed counter offset, reenabled checks
jyoung8607 Feb 20, 2024
ea4c4fa
allow ACC_1 length to vary
jyoung8607 Feb 20, 2024
b577c91
RxChecks for CRUISE_BUTTONS
jyoung8607 Feb 20, 2024
b97833a
common-ize Chrysler checksum functions
jyoung8607 Feb 20, 2024
1d81587
sync ramp-rates to stock behavior
jyoung8607 Feb 20, 2024
52ee540
Merge branch 'master' of https://github.com/commaai/panda into cherok…
jyoung8607 Feb 20, 2024
b3421da
remove shebang, fix typing
jyoung8607 Feb 20, 2024
59536c6
Merge branch 'master' of https://github.com/commaai/panda into cherok…
jyoung8607 Feb 20, 2024
135b9ba
alright ricky, let's get nasty
jyoung8607 Feb 20, 2024
a297066
add counter test, fix button counter offset
jyoung8607 Feb 22, 2024
aeedde2
better PCM status message
jyoung8607 Feb 22, 2024
1c5fea8
Revert "alright ricky, let's get nasty"
jyoung8607 Feb 22, 2024
f1cc2b3
alright ricky, let's get nasty
jyoung8607 Feb 20, 2024
0a336ae
troubleshooting RxChecks instability
jyoung8607 Feb 24, 2024
052e07d
Merge branch 'refs/heads/master' into cherokee_kl
jyoung8607 Apr 30, 2024
2e5a03a
back to opendbc master
jyoung8607 Apr 30, 2024
cd7df97
Revert "alright ricky, let's get nasty"
jyoung8607 Apr 30, 2024
6830c09
counter validation for CRUISE_BUTTONS
jyoung8607 Apr 30, 2024
60f6f31
diff reduction
jyoung8607 Apr 30, 2024
6c35943
WIP allow graceful lateral disengagement
jyoung8607 Apr 30, 2024
7b9b9a3
Revert "WIP allow graceful lateral disengagement"
jyoung8607 Apr 30, 2024
7df4965
cleanup old comment
jyoung8607 May 1, 2024
5d1eb68
don't need this layer
jyoung8607 May 1, 2024
bee9bd2
garbage collect comments, no longer needed
jyoung8607 May 1, 2024
61d7446
simplify
jyoung8607 May 1, 2024
0d4008e
no need for buttons message without long control
jyoung8607 May 1, 2024
1436fb3
signal annotations
jyoung8607 May 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sync ramp-rates to stock behavior
  • Loading branch information
jyoung8607 committed Feb 20, 2024
commit 1d815872c3a13e906d403b95c4de227a0960ee89
6 changes: 3 additions & 3 deletions board/safety/safety_chrysler_cusw.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

const SteeringLimits CHRYSLER_CUSW_STEERING_LIMITS = {
.max_steer = 261,
.max_rt_delta = 112,
.max_rt_delta = 150,
.max_rt_interval = 250000,
.max_rate_up = 3,
.max_rate_down = 3,
.max_rate_up = 4,
.max_rate_down = 4,
.max_torque_error = 80,
.type = TorqueMotorLimited,
};
Expand Down
6 changes: 3 additions & 3 deletions tests/safety/test_chrysler_cusw.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ class TestChryslerCusw_Safety(common.PandaCarSafetyTest, common.MotorTorqueSteer
FWD_BLACKLISTED_ADDRS = {2: [0x1F6, 0x5DC]}
FWD_BUS_LOOKUP = {0: 2, 2: 0}

MAX_RATE_UP = 3
MAX_RATE_DOWN = 3
MAX_RATE_UP = 4
MAX_RATE_DOWN = 4
MAX_TORQUE = 261
MAX_RT_DELTA = 112
MAX_RT_DELTA = 150
RT_INTERVAL = 250000
MAX_TORQUE_ERROR = 80

Expand Down
Loading