mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-14 08:23:59 +08:00
27 lines
1.1 KiB
Python
27 lines
1.1 KiB
Python
"""Stock CAN-FD Honda caller, C++ negotiation, and native TX lifecycle."""
|
|
from opendbc.car.honda.values import CAR
|
|
from openpilot.starpilot.aol.tests.test_honda_recovery_lifecycle import TestHondaCurrentCaller as CurrentCaller
|
|
|
|
class TestHondaCanfdCaller(CurrentCaller):
|
|
def test_canfd_0_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.HONDA_CRV_6G, word=16)
|
|
|
|
def test_canfd_1_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.HONDA_PILOT_4G, word=16)
|
|
|
|
def test_canfd_2_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.HONDA_PASSPORT_4G, word=16)
|
|
|
|
def test_canfd_3_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.ACURA_MDX_4G_MMR, word=16)
|
|
|
|
def test_canfd_4_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.ACURA_TLX_2G_MMR, word=16)
|
|
|
|
|
|
def test_canfd_alternate_brake_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.HONDA_CRV_6G, word=17, alternate_brake=True)
|
|
|
|
def test_accord_mvl_eps_reverse_recovery(self):
|
|
self.run_current_caller(candidate=CAR.HONDA_ACCORD_11G, word=80)
|