-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* separate branch for humble * humble dockerfile update * galactic dockerfile update * foxy dockerfile * Galactic dockerfile (#167) * separate branch for humble * humble dockerfile update * update readme * galactic dockerfile update * updated dockerfile and workflow * formatting * typo * update versions * typo * try different naming scheme * add required ros distro * typo * latest to 22.04 * separate clang format * different argument format * update lint version * update setup ros as well * lint cmakelists * update workflow * remove gcc10 from dockerfile * Revert "remove gcc10 from dockerfile" This reverts commit ca4d011. * remove gcc10 in dockerfile * Humble dockerfile (#166) * humble dockerfile update * update readme * updated dockerfile and workflow * formatting * typo * update versions * typo * try different naming scheme * add required ros distro * typo * latest to 22.04 * separate clang format * different argument format * update lint version * update setup ros as well * lint cmakelists * update workflow * remove gcc10 in dockerfile * use env variables for distro * update readme * changing platform syntax * remove platform var * syntax change again * syntax again * reword * reword * minor typo * add colcon sequential arg * rewording * change platform * minor arg change * cmakelists format * minor typo
- Loading branch information
Showing
24 changed files
with
720 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export ZSH="$HOME/.oh-my-zsh" | ||
|
||
ZSH_THEME="robbyrussell" | ||
|
||
plugins=(git) | ||
|
||
source $ZSH/oh-my-zsh.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ARG ROS_DISTRO=humble | ||
FROM ros:${ROS_DISTRO}-ros-base | ||
ARG USE_RVIZ | ||
ARG BUILD_SEQUENTIAL=0 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends software-properties-common git libusb-1.0-0-dev wget zsh python3-colcon-common-extensions | ||
|
||
ENV DEBIAN_FRONTEND=dialog | ||
RUN sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" | ||
|
||
ENV WS=/ws | ||
RUN mkdir -p $WS/src | ||
COPY ./ .$WS/src/depthai_ros | ||
RUN cd .$WS/ && rosdep install --from-paths src --ignore-src -y | ||
RUN if [ "$BUILD_SEQUENTIAL" = "1" ] ; then cd .$WS/ && . /opt/ros/${ROS_DISTRO}/setup.sh && colcon build --executor sequential --cmake-args -DCMAKE_BUILD_TYPE=Release ; else cd .$WS/ && . /opt/ros/${ROS_DISTRO}/setup.sh && colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release; fi | ||
RUN if [ "$USE_RVIZ" = "1" ] ; then echo "RVIZ ENABLED" && sudo apt install -y ros-${ROS_DISTRO}-rviz2 ros-${ROS_DISTRO}-rviz-imu-plugin ; else echo "RVIZ NOT ENABLED"; fi | ||
RUN echo "if [ -f ${WS}/install/setup.zsh ]; then source ${WS}/install/setup.zsh; fi" >> $HOME/.zshrc | ||
RUN echo 'eval "$(register-python-argcomplete3 ros2)"' >> $HOME/.zshrc | ||
RUN echo 'eval "$(register-python-argcomplete3 colcon)"' >> $HOME/.zshrc | ||
RUN echo "if [ -f ${WS}/install/setup.bash ]; then source ${WS}/install/setup.bash; fi" >> $HOME/.bashrc | ||
ENTRYPOINT [ "/ws/src/depthai_ros/entrypoint.sh" ] | ||
CMD ["zsh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.