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

Honda: Refactor and add CanBus class #31528

Merged
merged 8 commits into from
Feb 29, 2024

Conversation

vanillagorillaa
Copy link
Contributor

As discussed with @sshane , this adds the CanBus class which will be used for the new CAN FD Honda PR's

#31527 (comment)

#31527
#30324

@github-actions github-actions bot added car vehicle-specific honda labels Feb 21, 2024
Copy link
Contributor

It looks like you didn't use one of the Pull Request templates. Please check the contributing docs. Also make sure that you didn't modify any of the checkboxes or headings within the template.

@vanillagorillaa vanillagorillaa marked this pull request as ready for review February 21, 2024 18:37
Copy link
Contributor

github-actions bot commented Feb 29, 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

ret.openpilotLongitudinalControl = True

ret.pcmCruise = not ret.enableGasInterceptor

if candidate == CAR.CRV_5G:
ret.enableBsm = 0x12f8bfa7 in fingerprint[0]
ret.enableBsm = 0x12f8bfa7 in fingerprint[CAN.pt]
Copy link
Contributor

@sshane sshane Feb 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR-V 5G is Bosch

@sshane sshane merged commit e0a80d3 into commaai:master Feb 29, 2024
26 checks passed
@sshane
Copy link
Contributor

sshane commented Feb 29, 2024

ty!

@vanillagorillaa vanillagorillaa deleted the canbus_class branch March 5, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants