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

Add Subaru driver torque sensor Nm scaling factor and unit #901

Closed
wants to merge 148 commits into from

Conversation

martinl
Copy link
Contributor

@martinl martinl commented Jul 18, 2023

This PR adds Nm unit for Subaru driver torque sensor signal, matched with SSM4 signal output by to jnewb1 at
martinl/openpilot#80

I will update openpilot carstate when this PR passes initial review

@adeebshihadeh
Copy link
Contributor

Seems fine, want to update the interface?

@adeebshihadeh adeebshihadeh marked this pull request as draft August 28, 2024 21:05
@martinl
Copy link
Contributor Author

martinl commented Aug 29, 2024

I will open new PR due to complicated git history

@martinl martinl closed this Aug 29, 2024
@martinl martinl reopened this Aug 29, 2024
Copy link
Contributor

github-actions bot commented Aug 29, 2024

Thanks for contributing to opendbc! In order for us to review your PR as quickly as possible, check the following:

  • Convert your PR to a draft unless it's ready to review
  • Read the contributing docs
  • Before marking as "ready for review", ensure:
    • the goal is clearly stated in the description
    • all the tests are passing
    • include a route or your device' dongle ID if relevant

maxime-desroches and others added 22 commits August 29, 2024 07:23
* cython

* ref

* test

* Werror
* Hyundai: SantaFe CM database

* Opel: Omega B database
* Toyota: rename ACC_HUD to PCS_HUD

* run generator

---------

Co-authored-by: Shane Smiskol <[email protected]>
* Toyota: add follow distance signal for unsupported DSU cars

* Update with generator
…ai#912)

* Propagate cpp exceptions to py

* Add a test case

* Update can/tests/test_dbc_exceptions.py

Co-authored-by: Shane Smiskol <[email protected]>

---------

Co-authored-by: Shane Smiskol <[email protected]>
* CANParser: parse all signals for a message

* update tests

* just use a pair

* rm enforce checks

* rm that

* spacing

* fix nonexistent message test

* message addr check should not have been deleted

* can be cleaned up more

* remove that too

* add comment back

* revert default bus behavior

revert default bus behavior

* can combine this loop

* unused map

* add all

* ensure we track all signals

* remove sanity check

* this wasn't tested before

* Revert "this wasn't tested before"

This reverts commit eb5e920.

---------

Co-authored-by: Shane Smiskol <[email protected]>
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <[email protected]>
* Remove unrelated bit from transmission RPM signal

* run generator
add set speed and low speed follow
* Hyundai CAN-FD: new steering message

* bruh

* new blinker signals for 2nd Gen Kona

* add comment

* speed isn't on kona

* update comment

* update blinkers

---------

Co-authored-by: Shane Smiskol <[email protected]>
* VW PQ: AWV_only signal fix

AVW_only signal length is 1 (not 4)

* Update vw_golf_mk4.dbc

Indeed. Thanks!

Co-authored-by: Cameron Clough <[email protected]>

---------

Co-authored-by: Cameron Clough <[email protected]>
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <[email protected]>
sshane and others added 12 commits August 29, 2024 07:23
* test

* test

* test

* make sure to detect subdirectories like tests/

* test

* this should work

* this should work

* wtf is this

* test

* clean up

* test

* test

* clean up

* clean up
* no setup python

* replace with uv

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* slightly faster

* this doesnt do anything without seen ecus

* test

* is durations slow?

* not now

* test in another pr

* same to static

* static

* test

* test

* test

* the action used to cache as well

* test
* add test_car_interfaces.py

* rm op stuff

* fix

* justsee

* optimize get_fuzzy_car_interface_args a bit

* Revert "optimize get_fuzzy_car_interface_args a bit"

This reverts commit ba4d07f.

* lower examples for now

* sheesh

* revert time
* mock sleep via monotonic

* rm

* no need to generate 8 buses

* this doesn't actually make a big diff

* lower loop

* can reduce

* here too

* Revert "here too"

This reverts commit 06b4cad.

* Revert "can reduce"

This reverts commit 55cae02.
* move test routes here

* check for missing

* no shebang
Revert "GM: implement allow throttle/brakes (commaai#1185)"

This reverts commit 8e20376.
@martinl
Copy link
Contributor Author

martinl commented Aug 29, 2024

New PR #1198

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.