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

Volt: Pseudo-Fix for acceleration bug #342

Closed
wants to merge 3 commits into from

Conversation

Jamezz
Copy link

@Jamezz Jamezz commented Aug 31, 2018

(Probably not real fix, just demonstrating)

The Volt's PCM does not enter ACC mode properly if you stay in pre-enabled state while sending ZERO_GAS. When you transition from pre-enabled -> enabled and try to send gas, the PCM faults out (intermittently) and refuses to provide acceleration. Disengaging and reengaging can sometimes fix this.

We should only be sending GasRegenCmdActive=1 in the ASCMGasRegenCmd when actuators are enabled (active)

@vntarasov
Copy link

vntarasov commented Sep 4, 2018

@Jamezz I see that PCM faults out before GasRegenCmdActive becomes 1.

I also noticed that we start sending ACCCmdActive = 1 (ASCMActiveCruiseControlStatus) sooner than GasRegenCmdActive, and AcceleratorPedal2:CruiseState faults out (becomes 3) soon after ACCCmdActive sent as 1.
Is ACCCmdActive the issue here?

Upd: they are set from the same 'cc.enabled' bit, never mind (my cabana log looks inconsistent).

@vntarasov
Copy link

Going on a test ride with a GM-only workaround,
enabled = c.enabled and not self.CS.user_gas_pressed

@vntarasov
Copy link

Posted a GM-only version of doing the same as PR 348, in case it's undesirable to affect other cars.

@rbiasini
Copy link
Contributor

rbiasini commented Sep 4, 2018

merged @vntarasov version. Thanks guys

@rbiasini rbiasini closed this Sep 4, 2018
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.

None yet

3 participants