Skip to content

Commit

Permalink
prefix openpilot imports (commaai#1593)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh authored Aug 21, 2023
1 parent 1d874be commit 57ec466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-instal
ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"

ENV PANDA_PATH=/tmp/openpilot/panda
ENV OPENPILOT_REF="80bbba14f74e57bbe90216dfd0a99f6f68d77ca2"
ENV OPENDBC_REF="5880fbbccf5a670631b51836f20e446de643795a"
ENV OPENPILOT_REF="5690386d8d731c9bebda536a5c71c890f6dfe98c"
ENV OPENDBC_REF="12dd7675c5ab2f49aedb813a79e6131b370b379f"

COPY requirements.txt /tmp/
RUN pyenv install 3.11.4 && \
Expand Down
4 changes: 2 additions & 2 deletions tests/safety_replay/replay_drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def replay_drive(lr, safety_mode, param, alternative_experience, segment=False):
return tx_controls_blocked == 0 and rx_invalid == 0 and not safety_tick_rx_invalid

if __name__ == "__main__":
from tools.lib.route import Route, SegmentName
from tools.lib.logreader import MultiLogIterator # pylint: disable=import-error
from openpilot.tools.lib.route import Route, SegmentName
from openpilot.tools.lib.logreader import MultiLogIterator # pylint: disable=import-error

parser = argparse.ArgumentParser(description="Replay CAN messages from a route or segment through a safety mode",
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
Expand Down

0 comments on commit 57ec466

Please sign in to comment.