Repository navigation
Conversation
ervteng
marked this pull request as ready for review
October 29, 2026 04:08
ervteng
force-pushed
the
hyundai-isg-steer-fault
branch
3 times, most recently
from
November 3, 2026 07:28
ee21838 to
05ccd75
Compare
The MDPS sets CF_Mdps_ToiUnavail while ISG has the engine stopped, which raised steerTempUnavailableSilent (beep and LKAS11 HUD warning) at every auto-stop. Lateral is inactive at standstill, so mask ToiUnavail while LVR12 CF_Lvr_IsgState reports the engine stopped, plus a 200 ms grace period on restart (the MDPS was measured clearing ToiUnavail ~60 ms after the engine restarts). ToiFlt, faults while moving and steer-at-standstill cars are unaffected. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ervteng
force-pushed
the
hyundai-isg-steer-fault
branch
from
November 4, 2026 00:39
05ccd75 to
96c3a7c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm least confident about this PR. It works on my car (tm) but not sure if anyone else with ISG has this issue on HKG.
On classic-CAN Hyundai/Kia cars with Idle Stop and Go (ISG), the steering module (MDPS) raises
CF_Mdps_ToiUnavailwhenever ISG shuts the engine off at a stop. openpilot reads that as a temporary steering fault, so every auto-stop beeps and flashes the LKAS warning on the HUD, even though lateral isn't active at standstill anyway.This masks
ToiUnavailonly while the car is stopped andLVR12 CF_Lvr_IsgStatereports the engine stopped, plus a 200 ms grace period on restart (the MDPS was measured clearing it ~60 ms after the engine restarts).ToiFlt(real faults), anything while moving, and cars that steer at standstill.LVR12/CF_Lvr_IsgState.Validation
ToiUnavail(1,459 frames total), no steer fault or alert;steerFaultTemporarystayed false.test_hyundai.py(engine stopped → masked, restart grace,ToiFltstill reported, moving still reported, steer-at-standstill car unaffected).🤖 Generated with Claude Code