This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
32 additions
and
42 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
cd tmp/colcon_ws | ||
cd /tmp/colcon_ws | ||
. /opt/ros/humble/setup.sh | ||
. install/setup.sh | ||
ros2 launch viper viper-quad.py |
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 |
---|---|---|
@@ -1,32 +1,27 @@ | ||
FROM docker.io/arm64v8/ros:humble-ros-base | ||
|
||
WORKDIR /tmp | ||
RUN git clone https://github.com/gsl-lite/gsl-lite && cd gsl-lite | ||
RUN mkdir build && cd build | ||
RUN cmake .. && make -j8 | ||
RUN sudo make install | ||
|
||
RUN git clone https://github.com/catchorg/Catch2 && cd Catch2 | ||
RUN mkdir build && cd build | ||
RUN cmake .. && make -j8 | ||
RUN sudo make install | ||
RUN git clone https://github.com/gsl-lite/gsl-lite && cd gsl-lite && \ | ||
mkdir build && cd build && \ | ||
cmake .. && make -j8 && \ | ||
sudo make install | ||
|
||
RUN git clone https://github.com/fmtlib/fmt && cd fmt | ||
RUN mkdir build && cd build | ||
RUN cmake -DFMT_TEST=OFF .. | ||
RUN make -j8 | ||
RUN sudo make install | ||
RUN git clone https://github.com/catchorg/Catch2 && cd Catch2 && \ | ||
mkdir build && cd build && \ | ||
cmake .. && make -j8 && \ | ||
sudo make install | ||
|
||
RUN git clone https://github.com/mpusz/mp-units && cd mp-units | ||
RUN mkdir build && cd build | ||
RUN cmake -DMP_UNITS_AS_SYSTEM_HEADERS=ON -DMP_UNITS_BUILD_LA=OFF .. | ||
RUN make -j8 | ||
RUN sudo make install | ||
RUN git clone https://github.com/fmtlib/fmt && cd fmt && \ | ||
mkdir build && cd build && \ | ||
cmake -DFMT_TEST=OFF .. && \ | ||
make -j8 && \ | ||
sudo make install | ||
|
||
RUN mkdir -p /tmp/colcon_ws/src | ||
WORKDIR /tmp/colcon_ws/src | ||
RUN git clone --recursive https://github.com/107-systems/viper | ||
|
||
WORKDIR /tmp/colcon_ws | ||
RUN . /opt/ros/humble/setup.sh && \ | ||
colcon_ws build --symlink-install | ||
colcon build |