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 carstate: use common gas pedal signal #22010

Merged
merged 9 commits into from
Sep 14, 2021

Conversation

belm0
Copy link
Contributor

@belm0 belm0 commented Aug 22, 2021

CarState.gas is now derived exclusively from user pedal signal. Previously it was derived
from user pedal or user pedal + computer gas, depending on model.

Subsequently, this allowed several cases to be collapsed in the the signal config regarding SCM messages.

NOTE: Cereal currently defines CarState.gas as user + computer, but it's agreed that user pedal is sufficient going forward.

@belm0 belm0 changed the title Honda gas pedal refactor Honda carstate: refactor config of gas pedal signals Aug 22, 2021
@belm0
Copy link
Contributor Author

belm0 commented Sep 3, 2021

setting status to draft, may want to resolve #22009 (comment) first

@belm0 belm0 marked this pull request as draft September 3, 2021 03:24
@adeebshihadeh
Copy link
Contributor

Let's use the common user gas signal as discussed in #22009.

@belm0 belm0 marked this pull request as ready for review September 13, 2021 11:57
@adeebshihadeh
Copy link
Contributor

I updated the comment in cereal (commaai/msgq@6f842ba). Interestingly, carState.brake is user only. I suspect carState.gas was defined as user + computer because that's the signal we knew of on the first openpilot cars, the Civic and Acura ILX.

@adeebshihadeh adeebshihadeh changed the title Honda carstate: refactor config of gas pedal signals Honda carstate: use common gas pedal signal Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants