update safety replay after openpilot_tools rename

This commit is contained in:
Adeeb Shihadeh 2019-06-24 14:04:46 -07:00
parent e2d781380a
commit 71877bcfd7
3 changed files with 9 additions and 8 deletions

View File

@ -7,13 +7,14 @@ RUN pip install -r requirements.txt
COPY tests/safety_replay/install_capnp.sh install_capnp.sh
RUN ./install_capnp.sh
RUN git clone https://github.com/commaai/openpilot.git || true
RUN mkdir /openpilot
WORKDIR /openpilot
RUN git checkout 1e8098c140d924adb70167a216837fbf61d85f29
RUN rm -rf /openpilot/panda
RUN git clone https://github.com/commaai/cereal.git || true
WORKDIR /openpilot/cereal
RUN git checkout f7043fde062cbfd49ec90af669901a9caba52de9
COPY . /openpilot/panda
WORKDIR /openpilot/panda/tests/safety_replay
RUN git clone https://github.com/commaai/openpilot-tools.git openpilot_tools || true
WORKDIR openpilot_tools
RUN git checkout 3df301e5783d7dc37cf3b079e96ad07cd4f2d0c3
RUN git clone https://github.com/commaai/openpilot-tools.git tools || true
WORKDIR tools
RUN git checkout b6461274d684915f39dc45efc5292ea890698da9

View File

@ -6,7 +6,7 @@ import panda.tests.safety.libpandasafety_py as libpandasafety_py
from panda.tests.safety_replay.helpers import is_steering_msg, get_steer_torque, \
set_desired_torque_last, package_can_msg, \
init_segment, safety_modes
from openpilot_tools.lib.logreader import LogReader
from tools.lib.logreader import LogReader
# replay a drive to check for safety violations
def replay_drive(lr, safety_mode, param):

View File

@ -5,7 +5,7 @@ import requests
from helpers import safety_modes
from replay_drive import replay_drive
from openpilot_tools.lib.logreader import LogReader
from tools.lib.logreader import LogReader
BASE_URL = "https://commadataci.blob.core.windows.net/openpilotci/"