Skip to content

Commit

Permalink
Add python matplotlib to dockerfiles. This is so we can use logging s…
Browse files Browse the repository at this point in the history
…cripts if we want to debug stuff while out in the field. Need to install, now cause we won't have internet out there.
  • Loading branch information
ClayJay3 committed Jan 5, 2025
1 parent bd7c71b commit b02e0a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile_Jammy
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y bat \

# Install Required Python Packages and link python3 executable to python.
RUN ln -s /usr/bin/python3 /usr/bin/python && \
python -m pip install numpy opencv-python pyopengl
python -m pip install numpy opencv-python pyopengl matplotlib

# Set Timezone
RUN echo "${TZ}" > /etc/localtime && \
Expand Down
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile_JetPack
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
RUN apt-get update && apt-get install --no-install-recommends -y bat \
bash-completion fish git-lfs

# Install Required Python Packages and link python3 executable to python.
RUN ln -s /usr/bin/python3 /usr/bin/python && \
python -m pip install numpy opencv-python pyopengl matplotlib

# This symbolic link is needed to use the streaming features on Jetson inside a container
RUN ln -sf /usr/lib/aarch64-linux-gnu/tegra/libv4l2.so.0 /usr/lib/aarch64-linux-gnu/libv4l2.so

Expand Down
1 change: 1 addition & 0 deletions data/Custom_Dictionaries/Autonomy-Dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ MAKEFLAGS
MAPANGLE
MAPRANGE
marsrover
matplotlib
matx
Memcheck
MERICA
Expand Down

0 comments on commit b02e0a4

Please sign in to comment.