openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Mazda: 2022 CX5 OEM Front Camera Sensor Failure Error

Open kravatch opened this issue 3 years ago • 11 comments

Describe the bug

When driving with OP active, front camera sensor error shows up on the OEM instrument cluster

similar error to https://vf.vin/static/uploads/images/sr2/mazda/2022/02/18/2018-mazda-cx-5-jm3kfbdm5j0335098-img-13.jpg

Error goes away with disengage/rengage OP

No errors seen on C3 unit and self drive does not disengage and does not seem affected

Which car does this affect?

2022 CX5 Signature

Provide a route where the issue occurs

1bf23ce7dee4e6fc|2022-08-22--19-28-34 1bf23ce7dee4e6fc|2022-08-22--19-20-26

openpilot version

0.8.15 release3

Additional info

No response

kravatch avatar Aug 23 '22 00:08 kravatch

  • Does this only show while engaged?
  • Does it stay on once it appears?
  • Does it appear instantly after engaging?
  • How consistently does this happen? Every engagement?

@Jafaral do you know anything about this?

adeebshihadeh avatar Aug 23 '22 00:08 adeebshihadeh

  • Does this only show while engaged? yes
  • Does it stay on once it appears? I believe so. I left it on for about 30 seconds after the warning triggered before I disengage OP which clears it
  • Does it appear instantly after engaging? no, it does take some time, if the error happens (it does not always happen)
  • How consistently does this happen? Every engagement? not every engagement, but it does correlate with more complicated actions (slow to stop and s-turning)

kravatch avatar Aug 23 '22 01:08 kravatch

Would help if I can view CAN data @adeebshihadeh

Jafaral avatar Aug 23 '22 01:08 Jafaral

@kravatch are you running stock OP? or one of my branches? if you are running stock OP, can you switch and try mazda-0.8.15 ?

Jafaral avatar Aug 23 '22 04:08 Jafaral

I am running stock 0.8.15

To clarify earlier behavior, the error does go away on its own, but does come back pretty consistently so long as self-drive was active

Unfortunately today my c3 unit started experiencing fan failures on the unit itself and it overheated and reset 2 times. I suspect that may be related to the camera failure. I am still within the 30 day purchase window and will be pursuing a hardware RMA

kravatch avatar Aug 23 '22 22:08 kravatch

Unfortunately today my c3 unit started experiencing fan failures on the unit itself and it overheated and reset 2 times. I suspect that may be related to the camera failure. I am still within the 30 day purchase window and will be pursuing a hardware RMA

The fan malfunction is software. We're pushing out 0.8.16 this week to address it. You can run the release3-staging branch to fix it for now. https://github.com/commaai/openpilot/pull/25509

adeebshihadeh avatar Aug 23 '22 22:08 adeebshihadeh

@Jafaral I did just try the mazda-0.8.15 branch but the camera issue persisted and I also faced a "cannot steer under 0 mph" error (though it did self drive just fine)

drive record results: 1bf23ce7dee4e6fc|2022-08-23--19-24-00

I also needed to patch in my FW values IE https://github.com/commaai/openpilot/pull/25423

I will pursue the 0.8.16 and report back

kravatch avatar Aug 23 '22 23:08 kravatch

@kravatch , can you please send me a drive with camera issue? You can dm me on discord.

Jafaral avatar Aug 23 '22 23:08 Jafaral

I think i have narrowed the camera issue down to low(er) speed only

I suspect it may be an interaction with the OEM TJA in the signature trim which kicks in below 40 MPH

I have not been scientific in my experiments, but above that speed does seem to be around when I stop seeing this

kravatch avatar Aug 27 '22 13:08 kravatch

I did discover new signals in your car, working to see if can fix the issue for you:

image

This also might be related to : #24881 , to steer from zero without delay in cars with no stock TJA enabled.

Jafaral avatar Aug 30 '22 04:08 Jafaral

I was able to hop back onto master and I no longer get camera warnings and TJA works as expected

not sure which commit addressed this in master, but it does seem fixed

kravatch avatar Oct 04 '22 01:10 kravatch

@kravatch going to close since you report this is no longer an issue on master. Please let me know if that's not the case!

sshane avatar Jan 17 '23 21:01 sshane

I'm getting this same issue but on a 2024 Signature now. I'm on master-ci from yesterday.

DouglasSherk avatar Nov 17 '23 04:11 DouglasSherk