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

Conversation

@mvl-boston
Copy link
Contributor

@mvl-boston mvl-boston commented Mar 26, 2025

2025/2026 Civic Hybrid and 2025 Acura ADX do not brake at full requested strength.

Initial fix attempts focused on radarless camera. However, recently found that the idlestop message is on all the time while stock ACC does braking. Replicating this (setting bit whenever braking) fixed braking strength on ADX and Civic Hybrid.

  • Before: ad9840558640c31d/00000023--67187e578c
  • After: ad9840558640c31d/0000002b--8d05b8be4c

Todo:

  • Test Hybrid Civic - fceae97165094dc2/00000002--2f81703767
  • Regression test ICE Civic - a2152effbad22b70/000003e3--0f13f16c7b

@mvl-boston mvl-boston marked this pull request as draft March 26, 2025 05:13
@github-actions github-actions bot added DBC signals car related to opendbc/car/ honda car safety vehicle-specific safety code labels Mar 26, 2025
@sshane
Copy link
Contributor

sshane commented Mar 26, 2025

What does this fix exactly?

@mvl-boston
Copy link
Contributor Author

mvl-boston commented Mar 26, 2025

What does this fix exactly?

User in honda discord has logs showing that braking is maxing out at -0.5m/s2, ignoring requests up to -3.5m/s2.

Not sure this works, but the goal is to imitate a new brake channel that Honda stock ACC sends while braking on hybrids to see if it fixes it. Testdrive should be imminent.

The fix is similar to one I had do to for the MDX Hybrid PR.

(I set as draft PR because I like the CI code review stuff)

@sshane sshane requested a review from Copilot March 27, 2025 06:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This draft PR aims to fix the braking behavior for the Honda Civic Hybrid by enabling the system to process braking requests up to -3.5 m/s². Key changes include updates to the vehicle documentation in values.py, adjustments to transmission type detection in interface.py and carstate.py, modifications to CAN message creation in hondacan.py, and expanded fingerprints and test routes to accommodate the new hybrid models.

Reviewed Changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
opendbc/car/honda/values.py Added hybrid Civic documentation entries and a temporary test hack.
opendbc/car/honda/interface.py Updated transmission type logic for Civic models with hybrid signals.
opendbc/car/honda/carstate.py Introduced HYBRID_CONTROL message handling for Civic 2022.
opendbc/car/honda/hondacan.py Added hybrid initialization and CAN command for hybrid control.
opendbc/car/tests/routes.py Added a new test route for the 2025 Civic Hatch Hybrid model.
opendbc/car/honda/fingerprints.py Included additional fingerprint entries for enhanced model support.
Files not reviewed (2)
  • opendbc/dbc/generator/honda/honda_civic_ex_2022_can.dbc: Language not supported
  • opendbc/safety/safety/safety_honda.h: Language not supported

# Civic Type R is missing 0x191 and 0x1A3
elif candidate == CAR.HONDA_CIVIC_2022 and all(msg not in fingerprint[CAN.pt] for msg in (0x191, 0x1A3)):
ret.transmissionType = TransmissionType.manual
# New Civics dont have 0x191, but do have 0x1A3
Copy link

Copilot AI Mar 27, 2025

Choose a reason for hiding this comment

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

Consider correcting 'dont' to 'don't' for proper spelling.

Suggested change
# New Civics dont have 0x191, but do have 0x1A3
# New Civics don't have 0x191, but do have 0x1A3

Copilot uses AI. Check for mistakes.
@mvl-boston mvl-boston changed the title Draft - fix Hybrid civic braking Draft - HONDA: fix 2025 Civic Hybrid braking May 8, 2025
@mvl-boston mvl-boston changed the title Draft - HONDA: fix 2025 Civic Hybrid braking Draft - Honda: fix 2025 Civic Hybrid braking May 8, 2025
@github-actions github-actions bot removed CI / testing can related to CAN tools, aka opendbc/can/ labels Sep 21, 2025
@mvl-boston mvl-boston changed the title Draft - Honda: fix 2025 Civic Hybrid braking Draft - Honda: fix radarless braking Nov 9, 2025
@github-actions github-actions bot removed the car safety vehicle-specific safety code label Nov 9, 2025
@mvl-boston mvl-boston mentioned this pull request Nov 10, 2025
3 tasks
@mvl-boston mvl-boston changed the title Draft - Honda: fix radarless braking Honda: fix radarless braking Nov 16, 2025
@mvl-boston mvl-boston marked this pull request as ready for review November 16, 2025 07:04
@mvl-boston
Copy link
Contributor Author

Tests were successful. This is ready for review.

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

Labels

car related to opendbc/car/ DBC signals honda

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants