openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Toyota TSS2: Double Brake when Approaching Stopped Vehicle

Open C0mpl3t3N00b opened this issue 6 years ago • 11 comments

Describe the bug

With OpenPilot enabled, when approaching a stopped car at a traffic light or heavy traffic situation, OpenPilot will slow to a stop behind the stopped car, but will then release the brakes and move forward slightly and stop again. This is with the lead car not moving at all.

How to reproduce or log data

Approaching a stopped vehicle will exhibit this behavior about 50% of the time.

Expected behavior

When approaching a stopped car, OpenPilot should slow to a stop at an appropriate distance from the lead car and only move forward if the lead car moves forward.

Device/Version information (please complete the following information):

  • Device: Comma Two
  • Dongle ID: bdad50b8a1f9fa8e|2020-11-01--16-47-58--5
  • Route: bdad50b8a1f9fa8e|2020-11-01--16-47-58--5
  • Timestamp: https://my.comma.ai/cabana/?route=bdad50b8a1f9fa8e%7C2020-11-01--16-47-58&exp=1635827347&sig=huumgNlfxiHDVminmiuY9uGtn%2FL3BO%2FrcSWvX5BBpg4%3D&max=18&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2Fbdad50b8a1f9fa8e%2F6cd92beecc597e5fb5f53b068f0c3f7a_2020-11-01--16-47-58
  • Version: master-ci
  • Car make/model: 2020 Rav4 Hybrid LE

Additional context

C0mpl3t3N00b avatar Nov 02 '20 04:11 C0mpl3t3N00b

Can this be because humans sometimes do this to and the model learned it from data?

kozuch avatar Nov 08 '20 08:11 kozuch

No, longitudinal policy is not learnt.

ghost avatar Nov 08 '20 13:11 ghost

This is old news, has been an issue since at least 0.5. This is why they are working on E2E long control.

zorrobyte avatar Nov 08 '20 18:11 zorrobyte

I get this as well 0.7.10:RAV4(MY21) but it looks like it will touch the vehicle rather then stopping again.

ie. Slows to a stop at correct distance behind stopped car, then releases brake and very slowly creeps up to vehicle. I've waited to see whether it wills top again, I've let it get within about 30cm but still didn't stop, so I then manually hit the brakes. Happened 3 times, maybe 1 in 20 stops.

timgudex avatar Nov 09 '20 03:11 timgudex

Your case seems related to https://github.com/commaai/openpilot/issues/1270.

Does this PR fix it? Also let me know if stops are too rough now, then we need to come up with a different solution. https://github.com/commaai/openpilot/pull/2508

pd0wm avatar Nov 09 '20 13:11 pd0wm

have exactly the same issue with my 2020 rav4 hybrid. There is one thing I noticed might be related. When the openpilot stops the car, the power flow display still shows the power flowing from the battery to the wheels. If I stop the car by holding on to the brake, there is no power flow what so ever.

yufeng66 avatar Nov 09 '20 19:11 yufeng66

have exactly the same issue with my 2020 rav4 hybrid. There is one thing I noticed might be related. When the openpilot stops the car, the power flow display still shows the power flowing from the battery to the wheels. If I stop the car by holding on to the brake, there is no power flow what so ever.

Usually that's due to the SnG hack

cydia2020 avatar Nov 09 '20 23:11 cydia2020

Exhibited same issue again on new Torch-Model:

bdad50b8a1f9fa8e|2020-11-14--12-08-53--2

C0mpl3t3N00b avatar Nov 15 '20 01:11 C0mpl3t3N00b

Have this issue at every stop with my 2020 rav4 hybrid xle.
Sometimes it creeps a bit too, after that initial double brake (stop, sudden creep to stop again, then creep more). More often than not it's fine and doesn't but the double braking seems possibly like a sketchy thing, if it were to brake hard then do that in some close call situation/s.

RightTrash avatar Nov 27 '20 16:11 RightTrash

Is this still an issue after merging #2716?

adeebshihadeh avatar Dec 17 '20 23:12 adeebshihadeh

Is this still an issue after merging #2716?

2020 RAV4H here, had the issue before version 0.8.1 but not since. I believe it is fixed.

mattbsea avatar Jan 05 '21 00:01 mattbsea