这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@mvl-boston
Copy link
Contributor

@mvl-boston mvl-boston commented Aug 17, 2025

Support for Honda separate brake control messages used by Nidec hybrids

  • uses hybrid brake control signals in carcontroller, hondacan, and safety
  • update brakehold as some (not all) hybrids use a different message
  • prevents fault when attempting to resume cruise directly from brakehold, requires companion openpilot PR36121
  • removes brake hysteresis for hybrids as it causes braking vibration
  • Pre-refactor was tested successfully on non-upstreamed Hybrids: Nidec MDX, RLX, Clarity
  • Post-refactor tested successfully on Nidec MDX Hybrid: ad9840558640c31d/0000007a--789d1eda01
  • Additional brakehold fault logic retested: ad9840558640c31d/00000002--531e9d28b4

@github-actions github-actions bot added DBC signals car related to opendbc/car/ honda car safety vehicle-specific safety code labels Aug 17, 2025
Copy link
Collaborator

@jyoung8607 jyoung8607 left a comment

Choose a reason for hiding this comment

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

I would suggest splitting this PR into a general / Bosch support PR with a separate Nidec PR to follow up later. It's really going to help us focus review and testing.

HAS_EPB = 512
HAS_HYBRID = 4092
ALLOW_MANUAL_TRANS = 1024
ALLOW_HYBRID = 8192
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can do away with this.

If you're following the ALLOW_MANUAL_TRANS example, that's just me being extremely conservative about shipping #2457, to flush out any auto-detection failures since failing to the manual trans case would otherwise be non-obvious and take awhile to notice. It can go away once 0.10 has been in release for awhile.

This PR being net-new support, we don't need the extra conservative gating.

@mvl-boston
Copy link
Contributor Author

mvl-boston commented Aug 17, 2025 via email

@mvl-boston mvl-boston marked this pull request as draft September 7, 2025 17:28
@mvl-boston
Copy link
Contributor Author

Moving to draft - new brakehold autodetect has a bug

@mvl-boston
Copy link
Contributor Author

Fixed, and also added in a change to fix brakehold.

@mvl-boston mvl-boston marked this pull request as ready for review September 8, 2025 19:31
@mvl-boston mvl-boston changed the title Honda - Nidec Hybrid long control Honda - Nidec Hybrid brake control Sep 10, 2025
@mvl-boston
Copy link
Contributor Author

Sure will split tonight. Regarding gating: Not sure there are any hybrids that do not follow these rules, the remaining hybrids (eg: insight) have nonpublic testroute logs so I was conservative and kept those gated out. Edit: will do without gating and put in my spacelab build after a driver test. Presume any regressions would be found there given large user base driving on its tuned long control.

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

Labels

car safety vehicle-specific safety code car related to opendbc/car/ honda

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants