Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion opendbc/car/mazda/carstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def update(self, can_parsers) -> structs.CarState:
ret.cruiseState.speed = cp.vl["CRZ_EVENTS"]["CRZ_SPEED"] * CV.KPH_TO_MS

# stock lkas should be on
# TODO: is this needed?
# LKAS requires detected lane lines; block engagement if none are present
ret.invalidLkasSetting = cp_cam.vl["CAM_LANEINFO"]["LANE_LINES"] == 0

if ret.cruiseState.enabled:
Expand Down