commaai / openpilot

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system in 275+ supported cars.
https://comma.ai/openpilot
MIT License
49.23k stars 8.97k forks source link

Hyundai Tucson L 2023(china) can error #30355

Closed 1okko closed 10 months ago

1okko commented 10 months ago

Describe the bug

After startup, openpilot prompts CAN ERROR and the car dashboard displays LKAS fault

Which car does this affect?

Hyundai Tucson L 2023(CHINA,1.5T 8AT )

Provide a route where the issue occurs

8ffe737851ca1b11|2023-11-01--01-26-25--0

openpilot version

0.9.4

Additional info

No response

1okko commented 10 months ago

微信图片_20231101094454 微信图片_20231101094445

sshane commented 10 months ago

Looks like you have the wrong harness, the messages exist on bus 2 (camera side):

image

Which harness did you buy? Can you take photos of your harness and post, or reference this? https://github.com/commaai/openpilot/wiki/Hyundai-Kia-Genesis

sshane commented 10 months ago

openpilot reports everything is fine with that route if we flip the buses in the logs, so I recommend trying to flip the CAN bus on the harness. There should be users in Discord to help with that, or you can view the wiring diagram for your harness in the above link. You just take certain wires out and flip them.

1okko commented 10 months ago

When I haven't connected to C3X yet, everything is normal, indicating that the wiring harness should be fine,The model I am using is Hyundai N

1okko commented 10 months ago

openpilot reports everything is fine with that route if we flip the buses in the logs, so I recommend trying to flip the CAN bus on the harness. There should be users in Discord to help with that, or you can view the wiring diagram for your harness in the above link. You just take certain wires out and flip them.

HOW to flip?

1okko commented 10 months ago

openpilot reports everything is fine with that route if we flip the buses in the logs, so I recommend trying to flip the CAN bus on the harness. There should be users in Discord to help with that, or you can view the wiring diagram for your harness in the above link. You just take certain wires out and flip them. fliped CAN2 AND CAN0 ,Problem solved,thank you

sunnyhaibin commented 10 months ago

openpilot reports everything is fine with that route if we flip the buses in the logs, so I recommend trying to flip the CAN bus on the harness. There should be users in Discord to help with that, or you can view the wiring diagram for your harness in the above link. You just take certain wires out and flip them.

HOW to flip?

Instructions can be found under Description -> harness type of this PR:

sshane commented 10 months ago

Great! Unfortunately we don't have any harness that is the opposite of this, @vanillagorillaa prefers not to add another variant just yet until we see more cars that require this harness. Feel free to check back in the future