2022 Ridgeline auto disengages for no reason.
Describe the bug
Openpilot disengages when car ahead SLIGHTLY slows down. If the car ahead brakes hard openpilot works fine.
What hardware does this issue affect?
comma two
Which car does this affect?
2022 Honda Ridgeline
Provide a route where the issue occurs
9df3afe7a752c468|2022-01-09--09-52-16
openpilot version
latest
Additional info
This happened 2 times in the route I've provided. It did it 2 more times yesterday.. please let me know if you need anything else.
*No pedal, 100% stock software and hardware.
Can you list which disengagements (with timestamp) in the route where unintended? There are 9 of them.
Can you list which disengagements (with timestamp) in the route where unintended? There are 9 of them
Sorry! Should have said that, the one at 10:27 am est on Sunday 9th is a great example of one. I would need to provide other routes for the other examples. Thank you for taking a look! I appreciate it!
It seems like the stock system is trying to AEB and takes over because it applies more braking that openpilot, which then forces a disengagement.
Are things better if you disable stock AEB before plugging in your device? Are there any sensitivity settings you can change?
Ah that would make sense.. although I know for sure there was no "Brake brake brake" warning on the screen, I wonder if AEB pre-pressurizes or something. I have noticed OTHER times where AEB does try to kick in, but it doesn't seem to do anything to openpilots control of the car and it keeps driving.
At work at the moment, and I'd think there should be a setting in there to disable it or make it less sensitive.. will check it out when I get back to the truck.. I guess the problem with that is that disabling it means that I lose that protection.
Either way, again, thank you for taking a look and will get to you back on if there are settings that can be adjusted.
Once we confirmed that AEB is actually the problem we can figure out a way to make it work together with openpilot. Requiring it to be disabled is not a solution.
Once we confirmed that AEB is actually the problem we can figure out a way to make it work together with openpilot. Requiring it to be disabled is not a solution.
Excellent, it will probably be a few days before I can really test it out, wont be on the road much till Friday.
Okay I got some fresh data for you. Long story short, even with Emergency Braking turned off it still shows the problem.
I have some examples of it working correctly and then in the same route it fails to work correctly twice.
This is the route: 9df3afe7a752c468 | 2022-01-17--12-01-25
At 12:04 it fails to stop the car, instead just disengaging.
At 12:09 it also fails to stop
around 12:13 it works as expected and slows the car down
at 12:19, it also works as expected, slows the car down, and almost stops the car, it disconnects open pilot at somewhere between 2 and 6 mph.
This was all with EAB turned completely off.
Let me know if I can do anything else to help? It's pretty much 50/50 on if the car stops like it should or if OP disengages.
The one thing I notice different now, is that with EAB turned off there's no red lines where it disconnects, does that mean there's no error? Even if it's still showing the problem.
Thanks for the info! It was showing the red lines as an indication that stock AEB was triggering/preparing, so not an error.
It seems like two fields in the BRAKE_COMMAND message that we set to zero for other Honda Nidec cars are not actually zero. Specifically:
SET_ME_X00is actually 8 on your carSET_ME_X00_2seems to go through different states based on braking
Can you record a drive in dashcam mode (turn off the openpilot toggle in settings) with some highway driving behind a car and some full stopping? Then I can try to figure out how SET_ME_X00_2 behaves. Maybe if we set that field correctly it won't disengage.
Will do! Will have some data for you by the end of the weekend! Thank you for your assistance. What is this X00_2 doing ?
Okay, I have some good data for you from this morning. The first Drive I did not have AEB on, on the 2nd one below I did.
During this drive: 9df3afe7a752c468|2022-01-22--10-17-29--0 At 10:27 I first encountered a car. at 10:29 and 10 seconds the car pulls off to the left of the road and makes a pretty quick stop, normally I would have intervened however I wanted to get some good data so I let the car do it on it's own, including the dash board screaming at me to hit the brake, but as far as I can tell AEB was disabled so it didn't do anything other than slow down because of the regular braking system.
The next drive to focus on is this one: 9df3afe7a752c468|2022-01-22--11-00-12--0 There will be a ton of data here, sometimes I have to hit the brakes manually, sometimes I let the car do it and it doesn't cut out till 12ish, even though it's supposed to give up on anything under 25.. at 11:07 and 50 seconds a car makes a left exit, which should also get some good data. During this stop I noticed a lot of clicking going on under the dash, near where you rest your left foot. This sounds like the car is doing something else vs when it's normally braking. This clicking is electronic and NOT the ABS building pressure. The reason I bring this up is because I have heard this clicking noise right before OP gives up in the past.. not sure if it has anything else to do with it, but it just seems like the car is "thinking" more about what it's doing in this kind of situation.
Either way that should be enough data to see what X00 2 is doing... I have to turn OP back on because the stock honda steering is just awful!!
Thanks for your help!
Any chance you see what's wrong ?
Thanks for the info! It was showing the red lines as an indication that stock AEB was triggering/preparing, so not an error.
It seems like two fields in the BRAKE_COMMAND message that we set to zero for other Honda Nidec cars are not actually zero. Specifically:
SET_ME_X00is actually 8 on your carSET_ME_X00_2seems to go through different states based on brakingCan you record a drive in dashcam mode (turn off the openpilot toggle in settings) with some highway driving behind a car and some full stopping? Then I can try to figure out how
SET_ME_X00_2behaves. Maybe if we set that field correctly it won't disengage.
quick update after looking at your drives a bit more. I think it's not related to SET_ME_X00_2.
Can you try uncommenting this line and trying again? This might be giving you false brake presse triggers causing a disengagement. https://github.com/commaai/openpilot/blob/master/selfdrive/car/honda/carstate.py#L293
quick update after looking at your drives a bit more. I think it's not related to
SET_ME_X00_2.Can you try uncommenting this line and trying again? This might be giving you false brake presse triggers causing a disengagement. https://github.com/commaai/openpilot/blob/master/selfdrive/car/honda/carstate.py#L293
Thank you for checking it out - can you send me a link to reinstall on the C2 with the modification of your recommendation? I'm not sure how to go about uncommenting a line and figuring out how to upload it to the C2.. (To me it looks like the commented line is just some writing....I've done some programming, but nothing complicated like this system :) )
Thank you !
This seems to be the original source of that line: https://github.com/commaai/openpilot/pull/475
Your brake pedal has a bit of noise, causing it to false trigger I think. After eye balling on of your drives, raising the threshold to 0.1 should be enough.
Installing using installer.comma.ai/commaai/pilot-brake-threshold should install the correct branch.

Awesome, thank you. I do remember seeing something about brake noise. Would getting honda to replace the pedal fix do anything or for some reason the honda brake controllers with nidac are no good?
Think your new 2022 model has just a bit more noise than the previous years. Increasing the threshold a little bit will probably solve your issues.
Thank you sir, I'll get it installed asap!
Think your new 2022 model has just a bit more noise than the previous years. Increasing the threshold a little bit will probably solve your issues.
First drive went great. Is there an acceptable build that has these modifications + works with a pedal?
As of today openpilot show support up to 2021 ridgeline. Are these mods included in a new build? Need to know before I buy. Thanks