Skip to content

Commit

Permalink
Merge pull request #44 from clubcapra/add-opi-real
Browse files Browse the repository at this point in the history
Cleaned up porting of OPIRecognition.
  • Loading branch information
IliTheButterfly authored Apr 7, 2024
2 parents 933308c + d3ea24a commit 3c1a3b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN groupadd --gid $USER_GID $USERNAME || true \
&& groupadd -g 107 input \
&& useradd -s /bin/bash --uid $USER_UID -g $USER_GID -G 107 -m $USERNAME \
&& apt-get update \
&& apt-get install -y sudo \
&& apt-get install -y sudo tesseract-ocr \
&& echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME

Expand Down Expand Up @@ -54,13 +54,18 @@ RUN chown $USER_UID:$USER_GID /workspace/$USERNAME

USER $USERNAME

# Copy to preload the ros packages
COPY ./ /workspace/$USERNAME/

# Install Tesseract

# Source the ROS setup file
RUN echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc

COPY --chown=$USERNAME ./ /workspace/$USERNAME

# Install ROS dependencies
# Rosdep update
RUN rosdep update


# Install ROS dependencies
RUN rosdep install --from-paths src --ignore-src --rosdistro humble -y
1 change: 0 additions & 1 deletion rove.repos
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ repositories:
type: git
url: https://github.com/clubcapra/ovis_ros2.git
version: master

0 comments on commit 3c1a3b5

Please sign in to comment.