This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from eFiniLan/20240129
2024-01-29 commits
- Loading branch information
Showing
89 changed files
with
8,730 additions
and
7,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule panda
updated
28 files
+3 −4 | board/main_comms.h | |
+ − | board/obj/bootstub.panda_h7.bin | |
+ − | board/obj/bootstub.panda_h7.elf | |
+ − | board/obj/panda_h7.bin | |
+ − | board/obj/panda_h7.bin.signed | |
+ − | board/obj/panda_h7.elf | |
+38 −43 | board/safety.h | |
+3 −2 | board/safety/safety_body.h | |
+8 −7 | board/safety/safety_chrysler.h | |
+7 −3 | board/safety/safety_defaults.h | |
+3 −1 | board/safety/safety_elm327.h | |
+11 −7 | board/safety/safety_ford.h | |
+3 −2 | board/safety/safety_gm.h | |
+47 −14 | board/safety/safety_honda.h | |
+7 −5 | board/safety/safety_hyundai.h | |
+5 −4 | board/safety/safety_hyundai_canfd.h | |
+1 −1 | board/safety/safety_hyundai_common.h | |
+3 −2 | board/safety/safety_mazda.h | |
+4 −3 | board/safety/safety_nissan.h | |
+8 −7 | board/safety/safety_subaru.h | |
+3 −2 | board/safety/safety_subaru_preglobal.h | |
+3 −2 | board/safety/safety_tesla.h | |
+60 −21 | board/safety/safety_toyota.h | |
+16 −9 | board/safety/safety_volkswagen_mqb.h | |
+6 −5 | board/safety/safety_volkswagen_pq.h | |
+44 −40 | board/safety_declarations.h | |
+2 −0 | python/__init__.py | |
+19 −14 | tests/libpanda/safety_helpers.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Car port structure | ||
|
||
### interface.py | ||
Generic interface to send and receive messages from CAN (controlsd uses this to communicate with car) | ||
|
||
### fingerprints.py | ||
Fingerprints for matching to a specific car | ||
|
||
### carcontroller.py | ||
Builds CAN messages to send to car | ||
|
||
##### carstate.py | ||
Reads CAN from car and builds openpilot CarState message | ||
|
||
##### values.py | ||
Limits for actuation, general constants for cars, and supported car documentation | ||
|
||
##### radar_interface.py | ||
Interface for parsing radar points from the car |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# ruff: noqa: E501 | ||
from cereal import car | ||
from openpilot.selfdrive.car.body.values import CAR | ||
|
||
Ecu = car.CarParams.Ecu | ||
|
||
# debug ecu fw version is the git hash of the firmware | ||
|
||
|
||
FINGERPRINTS = { | ||
CAR.BODY: [{ | ||
513: 8, 516: 8, 514: 3, 515: 4 | ||
}], | ||
} | ||
|
||
FW_VERSIONS = { | ||
CAR.BODY: { | ||
(Ecu.engine, 0x720, None): [ | ||
b'0.0.01', | ||
b'0.3.00a', | ||
b'02/27/2022', | ||
], | ||
(Ecu.debug, 0x721, None): [ | ||
b'166bd860', | ||
b'dc780f85', | ||
], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.