Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prefix openpilot imports #1593

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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