From db111e6df77cfae81b4882f8c9eea70210b984fa Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Sun, 23 Aug 2020 22:41:38 +0930 Subject: [PATCH] Add default env for car and gpio requirements --- pycar/Dockerfile | 3 +++ pycar/requirements.txt | 2 ++ 2 files changed, 5 insertions(+) diff --git a/pycar/Dockerfile b/pycar/Dockerfile index 90e11c9..8c3f206 100644 --- a/pycar/Dockerfile +++ b/pycar/Dockerfile @@ -26,6 +26,9 @@ WORKDIR /app COPY ./src /app +ENV CAR_VEHICLE=CAR_MOCK +ENV CAR_LIDAR=LIDAR_MOCK + # We aren't listening, just connecting, so probs won't need this. # EXPOSE 1883 ENV PYTHONPATH=/app diff --git a/pycar/requirements.txt b/pycar/requirements.txt index 4938578..a0850b8 100644 --- a/pycar/requirements.txt +++ b/pycar/requirements.txt @@ -8,3 +8,5 @@ grpcio-tools rplidar breezyslam pyzmq +gpiozero +pigpio \ No newline at end of file