Commit Graph

18 Commits

Author SHA1 Message Date
Adeeb Shihadeh 06a3e7db6f
add cpplint (#773)
* add cpplint

* passes

* bump cereal

* here's a real hash
2022-12-31 16:49:26 -08:00
Jason Young 2afccacd52
VW PQ: Message updates, checksum and counter support (#633)
* refactor MQB checksum/counter to prep for PQ

* first pass at PQ checksums and counters

* remove checksum and counter alignment checks

* forgot HCA_1

* Revert "remove checksum and counter alignment checks"

This reverts commit 0d30ee9b854c933bf12ee9ca26ad0b0f29956cea.

* don't check counter offset

* tweak comment

* handle checksum not starting at zero

* remove unused argument

* add LDW_Textbits to LDW_1

* Update can/common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* fix counter again; minimize diff

* additional door-open signals

* add trunk lid state

* update LDW_Status message and signals

* typo

* make XOR checksum generic

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-15 10:29:12 -07:00
Jason Young fe6241dcc6
refactor per-manufacturer checksum calculation (#650)
* synchronize function signatures

* if-spaghetti reduction

* add to cython

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-06-30 11:31:58 -07:00
Adeeb Shihadeh 1599f2e370
Kia EV6 (#567) 2022-05-15 18:26:19 -07:00
Chris Souers 5a51aa7dde
Fix Honda checksum for extended CAN IDs. Add test function. (#585)
* Fix checksum for Honda extended CAN. Add test.

* revert packer_parser test

* begin test_checksum

* todo and comments

* convention

* unused

* forgot the s

* again

* cleanup

* remove that too

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-04-06 21:33:57 -07:00
Adeeb Shihadeh 859fea7ded
CAN FD support in packer + parser (#568)
* can fd support in packer + parser

* don't need these anymore

* fix pedal crc

* fix dynamic parsing

* cleanup

* packer test
2022-02-28 09:10:34 -08:00
Jason Young fedaf7eb31
VW MQB: Longitudinal support prereqs (#469) 2021-11-15 21:42:03 -08:00
Chris Souers a76084eddc
Honda Bosch: Add new LKAS HUG messages for 2021+ models (#372)
* Support checksum for extended IDs on 2021 Honda Bosch

Add 2021 Honda Accord Hybrid 2.0T Touring

Update can/common.cc

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Yield a proper 4 bit value.

less space

Revert odyssey changes

Remove RDM signal def

Add new BRAKE_HOLD bits

- From route: 085ac1d942c35910|2021-05-08--17-44-16

Update can/common.cc

* just move to _bosch_2018

* delete that

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-07-07 13:13:37 -07:00
Jason Young 7196dcec9c
VW MQB: Updated message and signal data, round 2 (#358)
* Canonical signal data for ACC_02 and ACC_04

* Add CRC support for ACC_04

Co-authored-by: Comma Device <device@comma.ai>
2021-03-15 13:16:39 -07:00
Jason Young d3a793e619
VW MQB: Updated message and signal data, round 1 (#357)
* Updated LDW_02 signal data

* Updated EPS_01/LH_EPS_03 signal data

* Match driver input torque to prior scale

* More EPS_01 -> LH_EPS_03

Co-authored-by: Comma Device <device@comma.ai>
2021-03-10 17:14:54 -08:00
Jason Young 5a92a64b4f
VW MQB: Corrected CRC pad byte for ACC_10 (#353) 2021-03-04 16:55:12 -08:00
Adeeb Shihadeh 244e8807df
ubuntu 16.04 -> 20.04 (#309) 2020-10-29 13:53:48 -07:00
Adeeb 7f3b1774dd
Chrysler: calculate checksum in can packer/parser (#255)
* calculate chrysler checksum in can packer/parser

* remove comment
2020-04-30 14:06:26 -07:00
Adeeb a57e7ddbd7
CANPacker: Subaru checksum support (#241)
* subaru global: use standard checksum signal naming convention

* subaru checksum

* ignore first byte

* update other subaru dbcs

* revert outback changes, checksum is in a different byte
2020-04-13 15:06:28 -07:00
Jason Young 47db9238f4
Add SWA_01 message detail and CRC support for VW MQB (#236)
* Add canonical SWA_01 message and signal info

* SWA_01 CRC validation

* Decimal to int, to match the rest of the file
2020-04-02 12:23:05 -07:00
Jason Young a62d5dd847
Add TSK_06 CRC validation for VW MQB (#234)
* Add TSK_06 CRC validation to OP

* Activate TSK_06 CRC/counter checks via signal naming
2020-03-15 20:46:43 -07:00
Jason Young d1f76d609f
Add Motor_20 CRC support (#229) 2020-03-05 19:26:09 -08:00
rbiasini e155e01748
Can migration (#199)
* moved CAN to opendbc

* also dbc was needed

* dbc test also added
2019-11-22 21:46:33 -08:00