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

Fix TSS2 creep issue, no need to send standstill request #2716

Merged
merged 3 commits into from
Dec 17, 2020
Merged

Fix TSS2 creep issue, no need to send standstill request #2716

merged 3 commits into from
Dec 17, 2020

Conversation

briskspirit
Copy link
Contributor

@briskspirit briskspirit commented Dec 8, 2020

TSS2 vehicles don't need for standstill request to be sent. If we send it PCM will go from status 8 to status 11 upon full stop(that where issue is from as we remove standstill request as soon as status != 8). Status 11 is a 3 seconds timer after which PCM goes into state 7 - standstill and asks to press resume or accelerator. After PCM is entered state 7 - standstill_req = False will not switch it back to cruise (8).

Was tested on Corolla TSS2 and Corolla Hybrid TSS2

Associated discussions: #2508 , #1270 , #2473

@briskspirit
Copy link
Contributor Author

Route : f66032c2b5aa18ac 2020-12-08--08-35-47
Car: 2021 Corolla TSS2
BRAKING_STOP_RATE = 0.1 (That caused most notable creep issue)

no_need_for_standstill

@adeebshihadeh adeebshihadeh added this to the 0.8.1 milestone Dec 10, 2020
@briskspirit
Copy link
Contributor Author

Changed set to look in from TSS2_CAR to NO_STOP_TIMER_CAR as it is more appropriate for that fix and related to timer

@briskspirit
Copy link
Contributor Author

Will also add that this fix as of now was tested on: Corolla, CorollaH, Rav4H, HighlanderH.

@adeebshihadeh
Copy link
Contributor

LGTM, tested on our corolla.

@adeebshihadeh adeebshihadeh merged commit d93f07f into commaai:master Dec 17, 2020
sshane pushed a commit to sshane/openpilot that referenced this pull request Dec 31, 2020
* Fix TSS2 creep issue, no need to send standstill request

* Forgot to add import

* Changed set to look in from TSS2_CAR to NO_STOP_TIMER_CAR
# Conflicts:
#	selfdrive/car/toyota/carcontroller.py
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.

2 participants