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 and Jeep support for OpenPilot #462

Closed
wants to merge 168 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
279e116
panda safety for Chrysler Pacifica
adhintz May 10, 2018
559af6e
initial chrysler pacifica hybrid 2017 OP code. Does not send any stee…
adhintz May 16, 2018
8da085b
fix typo
adhintz May 16, 2018
2295526
add LKAS_INDICATOR_ 2 and 3 to fingerprint
adhintz May 16, 2018
7f7d79a
add lkas 1 to fingerprint
adhintz May 17, 2018
393c7c0
add chrysler SafetyModel to fix this error:
adhintz May 18, 2018
170e005
add one static LKAS message and a check for it.
adhintz May 18, 2018
ce3f7bf
fix DBC message names and comment out checks messages for now
adhintz May 18, 2018
e1c01f1
update message names everywhere
adhintz May 18, 2018
d9d436e
set more values in carstate that are used by interface
adhintz May 18, 2018
6c529a7
use boolean for steer_override
adhintz May 19, 2018
3e63ed5
rewrite radar_interface to match how chrysler works
adhintz May 19, 2018
59939b3
switch PRNDL to big endian because I suspect cabana and OP CanParser do
adhintz May 19, 2018
43d4c7f
switch the signals OP uses to big endian to work around little endian
adhintz May 19, 2018
07f979e
fix brake pressed carstate+interface
adhintz May 19, 2018
e4c9a43
do actual wheel speeds. fix speed factor
adhintz May 19, 2018
ad6169a
fix boolean for cruisestate enabled
adhintz May 20, 2018
d4cad32
emulate lkas, but steer angle hard-coded to 0
adhintz May 20, 2018
a4ba165
remove carstate parameter that we're not using.
adhintz May 20, 2018
8318a48
use correct import name
adhintz May 20, 2018
7cd0705
dbeugging a length issue
adhintz May 20, 2018
83f5a70
fix message address, use string not a list for dat in 292
adhintz May 20, 2018
32089a3
print less
adhintz May 20, 2018
d52ffd3
temporarily use chrysler safety output, but have it behave like allou…
adhintz May 21, 2018
116d9ab
set alt to 0 instead of 1. needed to actually send messages.
adhintz May 21, 2018
c70e970
yes, frame is a 100Hz counter
adhintz May 21, 2018
dfb1112
attempt to steer. convert degrees to car units, log more data.
adhintz May 21, 2018
0553719
float to int
adhintz May 21, 2018
a4dd313
remove chrysler_tx_hook panda safety check in case that's blocking us
adhintz May 22, 2018
3136aca
more logging
adhintz May 22, 2018
2236a48
enforce limits in create292
adhintz May 23, 2018
0433af3
Revert "enforce limits in create292"
adhintz May 23, 2018
fdbde2a
Revert "more logging"
adhintz May 23, 2018
4ba9e56
try the logging and limiting again without syntax errors
adhintz May 23, 2018
d261f0f
log car messages to /tmp/chrylog
adhintz May 23, 2018
48f3f72
try apply_steer and set its maximum delta closer to what the car sends
adhintz May 23, 2018
76f13cd
different status messages based on direction of steering
adhintz May 23, 2018
91a29a4
send more status message bits correctly
adhintz May 26, 2018
ffcec90
add missing self
adhintz May 26, 2018
c9e2b2a
send status message on new steering
adhintz Jul 25, 2018
598df20
Merge in 0.5.0
adhintz Jul 26, 2018
bb21fb5
add missing import
adhintz Jul 26, 2018
cb0ef7d
add new fingerprint value
adhintz Jul 26, 2018
521acf6
add missing break to skip loge
adhintz Jul 26, 2018
3b42d9f
remove some prints to make less noise
adhintz Jul 26, 2018
c1b54d0
give chrysler safety a new value
adhintz Jul 26, 2018
417b347
bump panda version
adhintz Jul 26, 2018
3f0c8ef
change chrylser safety enum to 8 to not conflict with Kia and Hyundai…
adhintz Aug 2, 2018
c178e5a
update chrysler proto enum to 0.5.1 official value
adhintz Aug 2, 2018
2d9e4f8
support for pacifica 2018 non-hybrid
adhintz Aug 9, 2018
f6dd691
fix pacifica 2018 non-hybrid fingerprint
adhintz Aug 10, 2018
5ef75b1
gas value is a float, not a boolean
adhintz Aug 10, 2018
a128ddd
add support for Jeep Grand Cherokee 2018
adhintz Aug 10, 2018
897bdce
add another canbus message to pacifica hybrid 2017 fingerprint
adhintz Aug 16, 2018
17d2474
log all messages from chrysler/carcontroller.py
adhintz Aug 16, 2018
f59f45c
car parameters for chrysler
adhintz Aug 16, 2018
391bc09
do not use radar for non-Giraffe cars
adhintz Aug 17, 2018
e560749
reduce CAR_UNITS_PER_DEGREE in an attempt to reduce over-steering
adhintz Aug 17, 2018
feb3951
merge 0.5.1
adhintz Aug 20, 2018
e197afc
fix merge by adding perception argument
adhintz Aug 20, 2018
d5a3548
merge 0.5.2
adhintz Aug 21, 2018
8e1e89d
increase tire stiffness to reduce ping-pong
adhintz Aug 22, 2018
21c4a7b
comment out jeep radar disable
adhintz Aug 23, 2018
08f8197
do not send 2a6 messages too close to each other in case that's causi…
adhintz Aug 23, 2018
5753077
fix order of operations in frame mod
adhintz Aug 24, 2018
3f7001d
Merge remote-tracking branch 'upstream/devel' into devel
adhintz Aug 25, 2018
41f7ca1
Merge remote-tracking branch 'upstream/devel' into devel
adhintz Aug 25, 2018
a7d4dbb
rework sending status messages
adhintz Aug 27, 2018
4e50a1b
Merge remote-tracking branch 'upstream/devel' into devel
adhintz Aug 27, 2018
6b094f7
always send initial lane-keeping warning in case that helps
adhintz Aug 28, 2018
bd00e8e
always send green lkas when moving. enforce angle step in lower level…
adhintz Aug 30, 2018
c08ee81
fix syntax error
adhintz Aug 30, 2018
11e3c6b
clean out radar disable code
adhintz Sep 5, 2018
7a0e4f1
Merge remote-tracking branch 'upstream/devel' into devel
adhintz Sep 5, 2018
dbdec7b
no longer send initial fake 2a6 warning, it doesn't seem to help
adhintz Sep 5, 2018
b06b108
don't do anything for the first 20 seconds in case that helps
adhintz Sep 6, 2018
c14c70b
sync our frame with 220 in case that matters. remove other attempts a…
adhintz Sep 12, 2018
3422ed3
fix logic to keep frame counter in sync
adhintz Sep 12, 2018
1276841
cast to int for bit logic
adhintz Sep 13, 2018
881f33a
send 2d9 and 2a6 status messages on start
adhintz Sep 13, 2018
89d15db
add sleep at startup to see if that helps
adhintz Sep 17, 2018
97abc0a
better PID constants
adhintz Sep 21, 2018
1041eee
add extra fingerprint for pacifica 2018
adhintz Sep 21, 2018
02a2bb9
Merge remote-tracking branch 'upstream/devel' into devel
adhintz Sep 25, 2018
707813a
Revert "add sleep at startup to see if that helps"
adhintz Sep 26, 2018
ce3455c
add fingerptin for 2018 pacifica hybrid
adhintz Sep 29, 2018
4de842a
steering messages for pacifica 2018 hybrid
adhintz Sep 29, 2018
9ecb714
create fingerprint category for 2018 hybrid pacifica
adhintz Sep 29, 2018
489258f
add to car enum
adhintz Sep 29, 2018
b487b86
another fingerprint for 2018 pac hy
adhintz Sep 29, 2018
e7f4a94
fix hybrid 2018 values.py
adhintz Oct 2, 2018
a7cfdd5
fix constant name for 2018 hybrid
adhintz Oct 3, 2018
797992c
increase steering limit, reduce minimum speed for steering
adhintz Oct 3, 2018
9a5024e
remove logging to /tmp file
adhintz Oct 3, 2018
656aa2a
Merge pull request #1 from adhintz/limits
adhintz Oct 14, 2018
96e91bc
add logging back in for init and can msg
adhintz Oct 14, 2018
ef82516
drain zmq (both py and cc) sendcan on connection
adhintz Oct 16, 2018
b78e73f
do not send anything if we have not yet read a valid frame
adhintz Oct 16, 2018
be1ae3c
actually drain sendcan in main (non-proxy) boardd_loop
adhintz Oct 16, 2018
77e6a78
also drain sendcan in can/parser.cc after connect
adhintz Oct 16, 2018
56e3bc3
add comments from Willem Melching
adhintz Oct 16, 2018
98bf7b4
remove bad character in comment
adhintz Oct 18, 2018
6e566a4
logging on incoming frame 220
adhintz Oct 18, 2018
d55d9b1
remove sleep
adhintz Oct 18, 2018
942f042
fix frame 220 logging
adhintz Oct 19, 2018
d4a56da
add chrysler carstate checks
adhintz Oct 19, 2018
5e3ca07
save previous frame and do not send if frame repeats.
adhintz Oct 20, 2018
80d88e2
just copy CarInterface frame from CarState 220 instead of doing anyth…
adhintz Oct 20, 2018
dedda8e
frame is an int
adhintz Oct 20, 2018
d9213e7
Merge pull request #2 from adhintz/limits
adhintz Oct 23, 2018
2145747
remove logging from devel
adhintz Oct 23, 2018
f82ac8f
increase min speed for steering to avoid disabling actuation
adhintz Oct 25, 2018
c6c4e93
expand pacifica hybrid 2017 fingerprint so it works when already moving.
adhintz Oct 28, 2018
8a74d4c
add comments about what makes each fingerprint unique
adhintz Oct 28, 2018
d91dd0e
Merge remote-tracking branch 'upstream/devel' into limits
adhintz Nov 3, 2018
7d379b6
try out new panda safety code
adhintz Nov 5, 2018
654e388
Merge remote-tracking branch 'upstream/devel' into limits
adhintz Nov 9, 2018
24d06d3
bump panda version
adhintz Nov 9, 2018
5cdd3a7
start cleaning the code
adhintz Nov 9, 2018
dac3561
low_speed_alert and steer_error
adhintz Nov 11, 2018
757103d
include LKAS_IS_GREEN in signal
adhintz Nov 12, 2018
87d5ca2
add minSteerSpeed to warning message
adhintz Nov 13, 2018
a5b494c
delete unused DSU and APGS
adhintz Nov 13, 2018
f556168
remove unused comments
adhintz Nov 13, 2018
ccde2ad
read ESP traction and seatbelt messages for error messages
adhintz Nov 14, 2018
2039198
remove old todo
adhintz Nov 15, 2018
b81e0e4
merge in version 0.5.6
adhintz Nov 18, 2018
31125c3
comment out extra logging in prep for release to devel
adhintz Nov 19, 2018
fb6e304
Revert "remove logging from devel"
adhintz Nov 19, 2018
2135257
Merge pull request #3 from adhintz/limits
adhintz Nov 19, 2018
c716385
ACC cancel button
adhintz Dec 7, 2018
d08d2db
on gas pedal press, send cancel ACC button to cancel OpenPilot
adhintz Dec 9, 2018
ca7c054
try sending +1 counter so our message isn't a duplicate
adhintz Dec 10, 2018
b6c9aac
only do the accel pedal for specific cars
adhintz Dec 10, 2018
fff91b9
do accel pedal for all models
adhintz Dec 10, 2018
bb0d1d4
try always sending 1 for cancel acc frame
adhintz Dec 10, 2018
d661acc
clean up comments and remove unused moving_fast
adhintz Dec 10, 2018
e886808
remove unused make can msg parameters
adhintz Dec 10, 2018
d38fdc6
try incrementing wheel button counter by 2 to see if that works bette…
adhintz Dec 10, 2018
e7472b6
try to simplify message logic
adhintz Dec 11, 2018
0f88bc4
clean up code
adhintz Dec 11, 2018
d73fc45
Merge remote-tracking branch 'upstream/devel' into limits
adhintz Dec 11, 2018
b480d68
move Chrylser into main table in readme
adhintz Dec 11, 2018
29836e1
Merge pull request #4 from adhintz/to-upstream
adhintz Dec 14, 2018
3b86dd4
On pedal press, if in steer error state, do not send ACC cancel butto…
adhintz Dec 14, 2018
a5bff3c
On pedal press, if in steer error state, do not send ACC cancel butto…
adhintz Dec 14, 2018
dd93afc
0.5.7
adhintz Dec 14, 2018
f189ccd
set the new ret.openpilotLongitudinalControl = False
adhintz Dec 14, 2018
9442c34
0.5.7 merge (#6)
adhintz Dec 14, 2018
6bce9bc
generalize jeep fingerprint to also cover 2017 Jeep Grand Cherokee Tr…
adhintz Dec 18, 2018
3a09ab8
disable pedal_gas for now to do a devel release. Sending 23b might fa…
adhintz Dec 18, 2018
1b7119f
Merge remote-tracking branch 'upstream/devel' into limits
adhintz Dec 18, 2018
309ef2f
add jeep grand cherokee 2017 to readme car list
adhintz Dec 18, 2018
6c4216e
0.5.7 & Jeep Grand Cherokee 2017 support (#7)
adhintz Dec 18, 2018
834d902
separate fingerprint for trailhawk. separate wheelbase for Cherokee
adhintz Dec 19, 2018
4ed2d0a
Merge branch 'devel' into limits
adhintz Dec 20, 2018
807ec6f
separate fingerprint for trailhawk. separate wheelbase for Cherokee …
adhintz Dec 20, 2018
d334169
add fingerprint for Pacifica 2019 Hybrid.
adhintz Dec 20, 2018
9444869
Merge branch 'devel' into limits
adhintz Dec 20, 2018
d584e86
Merge branch 'to-upstream' into limits
adhintz Dec 29, 2018
0d97f2e
Limits -> to-upstream (#11)
adhintz Dec 29, 2018
8c368df
Riccardo's Chrysler updates.
rbiasini Jan 8, 2019
8b04007
merge in recent opendbc changes
adhintz Jan 10, 2019
95ae1cd
implement apply_toyota_steer_torque_limits
adhintz Jan 10, 2019
09b66bf
add fingerprints for other cars back in
adhintz Jan 11, 2019
e34e8c7
new Jeep parameters from Crum in chat channel
adhintz Jan 11, 2019
2f3307e
Riccardo's Chrysler updates. (#13)
adhintz Jan 11, 2019
ca4910c
Merge branch 'to-upstream' of github.com:adhintz/openpilot into to-up…
adhintz Jan 11, 2019
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
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ Supported Cars
| ---------------------| -------------------------| ---------------------| --------| ---------------| -----------------| ---------------|-------------------|
| Acura | ILX 2016-17 | AcuraWatch Plus | Yes | Yes | 25mph<sup>1</sup>| 25mph | Nidec |
| Acura | RDX 2018 | AcuraWatch Plus | Yes | Yes | 25mph<sup>1</sup>| 12mph | Nidec |
| Cadillac<sup>3</sup> | ATS 2018 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Chevrolet<sup>3</sup>| Malibu 2017 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Chevrolet<sup>3</sup>| Volt 2017-18 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Cadillac<sup>3</sup> | ATS 2018 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Chrysler | Pacifica 2018 | Adaptive Cruise | Yes | Stock | 0mph | 9mph | Custom<sup>8</sup>|
| Chrysler | Pacifica Hybrid 2017-18 | Adaptive Cruise | Yes | Stock | 0mph | 9mph | Custom<sup>8</sup>|
| GMC<sup>3</sup> | Acadia Denali 2018 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Holden<sup>3</sup> | Astra 2017 | Adaptive Cruise | Yes | Yes | 0mph | 7mph | Custom<sup>7</sup>|
| Honda | Accord 2018 | All | Yes | Stock | 0mph | 3mph | Bosch |
Expand All @@ -79,6 +81,7 @@ Supported Cars
| Hyundai | Santa Fe 2019 | All | Yes | Stock | 0mph | 0mph | Custom<sup>6</sup>|
| Hyundai | Elantra 2017 | SCC + LKAS | Yes | Stock | 19mph | 34mph | Custom<sup>6</sup>|
| Hyundai | Genesis 2018 | All | Yes | Stock | 19mph | 34mph | Custom<sup>6</sup>|
| Jeep | Grand Cherokee 2017-18 | Adaptive Cruise | Yes | Stock | 0mph | 9mph | Custom<sup>8</sup>|
| Kia | Sorento 2018 | All | Yes | Stock | 0mph | 0mph | Custom<sup>6</sup>|
| Kia | Stinger 2018 | SCC + LKAS | Yes | Stock | 0mph | 0mph | Custom<sup>6</sup>|
| Lexus | RX Hybrid 2016-18 | All | Yes | Yes<sup>2</sup>| 0mph | 0mph | Toyota |
Expand All @@ -99,8 +102,9 @@ Supported Cars
<sup>3</sup>[GM installation guide](https://zoneos.com/volt/).
<sup>4</sup>It needs an extra 120Ohm resistor ([pic1](https://i.imgur.com/CmdKtTP.jpg), [pic2](https://i.imgur.com/s2etUo6.jpg)) on bus 3 and giraffe switches set to 01X1 (11X1 for stock LKAS), where X depends on if you have the [comma power](https://comma.ai/shop/products/power/).
<sup>5</sup>28mph for Camry 4CYL L, 4CYL LE and 4CYL SE which don't have Full-Speed Range Dynamic Radar Cruise Control.
<sup>6</sup>Open sourced [Hyundai Giraffe](https://github.com/commaai/neo/tree/master/giraffe/hyundai) is designed ofor the 2019 Sante Fe; pinout may differ for other Hyundais.
<sup>7</sup>Community built Giraffe, find more information here, [GM Giraffe](https://zoneos.com/shop/).
<sup>6</sup>Open sourced [Hyundai Giraffe](https://github.com/commaai/neo/tree/master/giraffe/hyundai) is designed for the 2019 Sante Fe; pinout may differ for other Hyundais. <br />
<sup>7</sup>Community built Giraffe, find more information here, [GM Giraffe](https://zoneos.com/shop/) <br />
<sup>8</sup>Community built Giraffe, find more information here, [Chrysler Jeep Giraffe](https://github.com/adhintz/openpilot/wiki) <br />

Community Maintained Cars
------
Expand Down
Loading