commaai / commaai/opendbc

Mazda: Direct sunlight causes OEM camera to disable LKAS

Open
#1,151 10 comments 0 reactions 0 assignees View on GitHub
bug car mazda
Dominant language
Python
Stars
3.4k
Forks
2.3k
Avg merge
2d 8h
Merged PRs (30d)
39

Description

### Describe the bug

When driving in direct sunlight, the Mazda factory LKAS system temporarily gets disabled. When this happens, this causes OpenPilot to malfunction. Is it possible to block these messages when the factory LKAS system decides to disable itself due to sunlight? When the sunlight goes away, the factory LKAS system resumes functionality and OpenPilot works again.

The posted route should be roughly when this error occurs. Unfortunately, I'm unable to see when the OpenPilot error occurs in Comma Connect UI.

### Which car does this affect?

Mazda CX-5 2022

### Provide a route where the issue occurs

706d8117176562da/2024-02-21--07-59-03/8

### openpilot version

0.9.5-release

### Additional info

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing route 706d8117176562da/2024-02-21--07-59-03/8 for the reported Mazda CX-5 2022 behavior and compare it with the openpilot 0.9.5-release context. Determine which factory LKAS messages coincide with the sunlight-related disablement; done means OpenPilot remains functional while the factory system is temporarily disabled and recovers when it resumes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.