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

update to new opendbc api #32009

Merged
merged 25 commits into from
Jul 31, 2024
Merged

update to new opendbc api #32009

merged 25 commits into from
Jul 31, 2024

Conversation

deanlee
Copy link
Contributor

@deanlee deanlee commented Mar 26, 2024

depends on commaai/opendbc#934

performance is twice as slow because of a few more data conversions. but it should be enough.

the results of running selfdrive/debug/check_can_parser_performance.py :
[updated]:
before:

125.61 mean ms, 130.85 max ms, 118.84 min ms, 2.78 std ms

after:

263.47 mean ms, 367.93 max ms, 258.64 min ms, 37.38 std ms

Copy link
Contributor

github-actions bot commented Mar 26, 2024

Thanks for contributing to openpilot! 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
    • the change is something we merge
    • include a route or your device' dongle ID if relevant

@deanlee deanlee force-pushed the opendbc_new_api branch 6 times, most recently from b3023ad to 512930f Compare March 26, 2024 08:11
@deanlee deanlee marked this pull request as ready for review March 26, 2024 09:36
@deanlee deanlee force-pushed the opendbc_new_api branch 3 times, most recently from 6e01a48 to 2333bc7 Compare March 29, 2024 12:21
Copy link
Contributor

This PR has had no activity for 30 days. It will be automatically closed in 7 days if there is no activity.

@sshane
Copy link
Contributor

sshane commented Jul 31, 2024

@deanlee panda shouldn't be touched, it's up to date: 17b76ca.

Force pushed to fix the files changed diff.

@sshane
Copy link
Contributor

sshane commented Jul 31, 2024

trigger-jenkins

@sshane
Copy link
Contributor

sshane commented Jul 31, 2024

Seeing same CPU usage in card which is great!

@deanlee
Copy link
Contributor Author

deanlee commented Jul 31, 2024

Great to hear the CPU usage is the same! We can further reduce it later, like in pr commaai/opendbc#1046

@sshane
Copy link
Contributor

sshane commented Jul 31, 2024

trigger-jenkins

@sshane
Copy link
Contributor

sshane commented Jul 31, 2024

trigger-jenkins

@sshane sshane merged commit 0dddc97 into commaai:master Jul 31, 2024
16 of 17 checks passed
@deanlee deanlee deleted the opendbc_new_api branch July 31, 2024 07:40
sshane added a commit that referenced this pull request Jul 31, 2024
sshane added a commit that referenced this pull request Jul 31, 2024
sshane added a commit that referenced this pull request Jul 31, 2024
sshane added a commit that referenced this pull request Jul 31, 2024
Edison-CBS pushed a commit to Edison-CBS/openpilot that referenced this pull request Sep 15, 2024
* use new opendbc api

* export pandad_python

* merge master

* merge master

* bump opendbc

* bump opendbc

* improve func

* keep interface unchanged

* fix test_car_interfaces

* bump opendbc

* bump opendbc

* fix test_models

* the interface now has to convert from can capnp to list, so we should include this time

* goes from ~210 to ~240 mean ms real time

* remoe busTime

* lowercase sendcan

* consistent msgtype

* bump

* bump

* not used in lat_mpc

* space

* bump to master

---------

Co-authored-by: Shane Smiskol <[email protected]>
old-commit-hash: 0dddc97
Edison-CBS pushed a commit to Edison-CBS/openpilot that referenced this pull request Sep 15, 2024
This reverts commit d21755b2e216c3f547db0b55b7088357c4368801.

old-commit-hash: ac13000
Edison-CBS pushed a commit to Edison-CBS/openpilot that referenced this pull request Sep 15, 2024
This reverts commit f2f01e3afaeaa267af61c8d7ab918da04d3411f2.
old-commit-hash: 7c11234
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.

3 participants