Commit Graph

1252 Commits

Author SHA1 Message Date
Cameron Clough 778894f128
Ford: fix steering command signal ranges (#683)
fix LatCtlPath_An_Actl signal range
2022-08-29 14:02:03 -07:00
Cameron Clough d8e7566e15
ford: another mystery bit (#697)
Found another signal to passthrough
2022-08-29 13:46:28 -07:00
rusefillc 7e45de47ea
vw_golf_mk4: a bit of progress (#671)
* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

* vw_golf_mk4: a bit of progress

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-27 17:03:14 -07:00
Adeeb Shihadeh 8c634615c5 precommit: add codespell 2022-08-26 16:45:01 -07:00
Adeeb Shihadeh 1e7294e9bd VW PQ: fix Lenkhilfe_2 length 2022-08-21 13:57:07 -07:00
Adeeb Shihadeh 0b3add415a bump pre-commit hook versions 2022-08-20 21:46:15 -07:00
Adeeb Shihadeh 6fad914a10
pre-commit: check generated DBC files (#692) 2022-08-20 21:35:51 -07:00
Jason Shuler 7ae3554ee5
GM: Add Standard Cruse Message, SetSpeed signal (#691)
GM: Add Std CC Message & speed
2022-08-19 23:02:50 -07:00
Shane Smiskol b913296c91
CANParser: message counters affect can_valid (#688)
* use can_valid flag from parser and make it consider counter checks

* clean up

* don't show incorrect messages

* add comments

* move threshold to cpp parser

* fix
2022-08-19 18:11:45 -07:00
Shane Smiskol 1c4deed968
CANParser: move can valid threshold into parser (#690)
* use can_valid flag from parser and make it consider counter checks

* clean up

* don't show incorrect messages

* add comments

* move threshold to cpp parser

* only the refactor in this pr

* fix bug and same logic as old cython wrapper can invalid

* still print everything

* clean up

* whoops

* make these properties

revert that
2022-08-19 16:19:36 -07:00
Adeeb Shihadeh 3270c931c0
Hyundai: common CAN-FD gear signal (#689)
* Hyundai: common CAN-FD gear signal

* fix checksum
2022-08-19 16:10:52 -07:00
Shane Smiskol 7e095a90af
Remove Toyota counter exception (#687)
* ignore PRE_COLLISION counter

* remove toyota exception
2022-08-18 22:05:26 -07:00
Adeeb Shihadeh 1619c9a40f
Hyundai: add HDA1 singals (#686)
* Hyundai: Car Port for Tucson Hybrid 2022

* Button send attempt

* Fix bit

* Send button fixed bits

* Define all bytes and only send PAUSE/RESUME

* Use CRUISE_INFO to cancel cruise and resume

* LFA and HDA icons

* Send LFA and HDA icons based on engageability

* Update hyundai_tucson_hev_2022.dbc

* GEAR has 24 bytes only

* Fix CRUISE_INFO copy

* Combine LFA_GREY and LFA_GREEN

* LKAS_BTN -> LFA_BTN

* Little endian

* add to ev6 dbc

* rm old stuff

* another val

Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com>
2022-08-18 17:33:00 -07:00
Ben Scholer 3f722780c3
Toyota: 6MT (manual transmission) signals (#606)
* add clutch the right way

* add comment to GEAR_PACKET
2022-08-17 17:05:31 -07:00
Adeeb Shihadeh b971309f3e
Hyundai CAN-FD DBC updates (#684) 2022-08-17 17:01:38 -07:00
Steven Snyder 83e1dafaee
add cmake to docker to fix build on arm (#664)
* bump pycapnp to 1.1.0 and add cmake to docker to fix build on arm

* Update requirements.txt

* oops

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-08-17 10:32:12 -07:00
Jason Shuler 541ac4e9a2
GM: Add signals, correct AEB signal sizes and standardize names (#682)
* ECMVehicleSpeed left tire and comment

* GM Speed and AEB Cleanup

* Add CC CruiseActive signal
2022-08-16 22:39:24 -07:00
Shane Smiskol c6665ed11b
GM: fix set speed scaling (#679)
Move scaling into DBC for GM cruise setpoint
2022-08-12 18:29:30 -07:00
Jason Shuler ec48f1a06b
GM: add counter and checksum for ASCMSteeringButton (#678)
Add RC and Checksum for steer btns
2022-08-10 11:54:44 -07:00
Adeeb Shihadeh 4885685171 fix that 2022-08-08 19:08:04 -07:00
Adeeb Shihadeh 8016dd43ac CANParser: better error for undefined messages 2022-08-08 18:58:35 -07:00
Adeeb Shihadeh e0d7cdd695 move the val line too 2022-08-04 22:51:44 -07:00
Adeeb Shihadeh a7db5dfee8 chrysler: add Transmission_Status to base dbc 2022-08-04 22:45:55 -07:00
Adeeb Shihadeh 4a6a5bfb25 CI: update docker login 2022-08-03 21:16:05 -07:00
martinl 24acbb7c2b
Subaru: ACC soft disable (#605)
* Add ES_Distance Cruise_Soft_Disable

* Fix Engine_Stop_Start indent

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-31 19:09:44 -07:00
Adeeb Shihadeh d9a55f4f7c remove one more duplicate 2022-07-29 15:31:08 -07:00
Adeeb Shihadeh 1ac45af6e8 fix duplicate ram dt msg 2022-07-29 15:08:18 -07:00
Adeeb Shihadeh 344a3cfce5 chrysler: fix ram hd base dbc 2022-07-29 14:34:19 -07:00
Adeeb Shihadeh 14cf233cce
chrysler longitudinal signals (#676)
use generator
2022-07-28 21:51:34 -07:00
realfast 736db8a2b2
Chrysler: add Ram HD (#670)
ram hd

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-28 21:29:23 -07:00
martinl 72f5366e41
Subaru: Use SI units for ACC distance signals (#604) 2022-07-28 20:58:19 -07:00
rusefillc 405764dc3e
nissan-xterra-2011: progress (#667)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-28 20:57:11 -07:00
Adeeb Shihadeh e370496206 subaru global: adjust eps torque scale to match lkas command 2022-07-27 14:43:15 -07:00
Igor Biletskyy 3fcbe9db72
body: add knee and few other messages (#674)
* add knee, remove junk

* typo

* rpm limit

* not very smart to break
2022-07-26 14:03:29 -07:00
Adeeb Shihadeh 67cf76f252 Revert "comma_body: add knee and rpm limits (#665)"
This reverts commit 9aea32bada.
2022-07-25 14:19:31 -07:00
realfast d1684b1845
Chrysler: add signal for higher precision steering angle (#672)
* Higher Precision

* add to base dbc

* change that for consistency

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-07-25 13:50:13 -07:00
Igor Biletskyy 9aea32bada
comma_body: add knee and rpm limits (#665)
* add knee, remove junk

* typo

* rpm limit
2022-07-22 22:59:25 -07:00
Adeeb Shihadeh 4195e8f4c9 enabling this broke a bunch of stuff, revert for now 2022-07-21 20:22:52 -07:00
Adeeb Shihadeh 31bb1832fc always set checksum 2022-07-21 19:47:20 -07:00
Adeeb Shihadeh 1cf2f5b512 counters are all the same 2022-07-21 18:49:50 -07:00
Adeeb Shihadeh 387dcf9628
teach the packer how to count (#669)
* teach the packer how to count

* fix tests

* same as checksum

* little test
2022-07-21 17:51:49 -07:00
Jason Young 72d3f935e6
VW PQ: More cleanup and message updates (#668)
* checksum/counter support for ACC_System

* add CHECKSUM to Motor_5

* minor cleanup
2022-07-21 10:58:19 -07:00
Adeeb Shihadeh e2465cc701
Subaru: Counter -> COUNTER (#666)
* Subaru: Counter -> COUNTER

* run generator

* update tests

* revert that
2022-07-19 16:55:59 -07:00
rusefillc aaf397ed51
Nissan xterra 2011 (#661)
* nissan-xterra-2011: let's start somewhere

* nissan-xterra-2011: let's start somewhere

* nissan-xterra-2011: let's start somewhere

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-15 10:37:06 -07:00
rusefillc 5c5fc14cbc
Bmw eXX: filling some gaps (#662)
* BMW: RPM correction and minor progress

* BMW: progress

* BMW: progress

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-15 10:30:32 -07: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 0d30ee9b85.

* 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
Shane Smiskol 8e5cd0d302
Honda Civic 2022: add FCW bits (#651)
* BAdd more 2022 Civic ACC signals

* BRun generator
2022-07-13 18:03:17 -07:00
Comma Device 3fb3f5e821 ev6: update button message 2022-07-12 15:24:06 -07:00
Adeeb Shihadeh dd5c3f1bbd
packer/parser: generic counter handling (#659)
* packer/parser: generic counter handling

* pedal isn't special
2022-07-11 12:36:43 -07:00
Adeeb Shihadeh 81148db67f ev6: add all camera messages 2022-07-08 22:36:18 -07:00