Change Subaru safety test to use generated dbc (#575)

* Change Subaru test to use generated dbc

* update openpilot pinned commit
master
martinl 2020-07-23 23:06:11 +03:00 committed by GitHub
parent 52583dc289
commit c55e84bf56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ RUN cd /tmp && \
RUN cd /tmp && \
git clone https://github.com/commaai/openpilot.git tmppilot || true && \
cd /tmp/tmppilot && \
git pull && git checkout fab939eebc7fcf67dbbb52f9352ba67c41598746 && \
git pull && git checkout a086f52881f4a1f0d20486e7fa089a843d5d8b34 && \
git submodule update --init cereal opendbc && \
mkdir /tmp/openpilot && \
cp -pR SConstruct tools/ selfdrive/ common/ cereal/ opendbc/ /tmp/openpilot && \

View File

@ -32,7 +32,7 @@ class TestSubaruSafety(common.PandaSafetyTest):
FWD_BUS_LOOKUP = {0: 2, 2: 0}
def setUp(self):
self.packer = CANPackerPanda("subaru_global_2017")
self.packer = CANPackerPanda("subaru_global_2017_generated")
self.safety = libpandasafety_py.libpandasafety
self.safety.set_safety_hooks(Panda.SAFETY_SUBARU, 0)
self.safety.init_tests()