This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build support for the conversor for ros1 and ros2. Add Dockerfile…
…s to verify the build
- Loading branch information
Showing
8 changed files
with
203 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Dockerfile.* | ||
README.md |
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,17 @@ | ||
FROM ros:humble | ||
RUN mkdir -p /ws/src | ||
WORKDIR /ws | ||
RUN apt-get update -qq && apt-get install -qqy python3-osrf-pycommon git software-properties-common | ||
|
||
RUN add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable && apt-get update -qq | ||
|
||
# build and get deps here to help with caching | ||
RUN git clone https://github.com/Fields2Cover/Fields2Cover.git src/fields2cover --branch main | ||
RUN rosdep install -r --ignore-src -y --from-paths . | ||
RUN bash -c 'source /opt/ros/*/setup.bash && colcon build' | ||
|
||
# now build the rest | ||
COPY . src/fields2cover_ros/. | ||
RUN rosdep install -r --ignore-src -y --from-paths . | ||
RUN bash -c 'source /opt/ros/*/setup.bash && colcon build' | ||
|
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,17 @@ | ||
FROM ros:noetic | ||
RUN mkdir -p /ws/src | ||
WORKDIR /ws | ||
RUN apt-get update -qq && apt-get install -qqy python3-catkin-tools python3-osrf-pycommon git software-properties-common | ||
|
||
RUN add-apt-repository -y ppa:ubuntugis/ppa && apt-get update -qq | ||
|
||
# build and get deps here to help with caching | ||
RUN git clone https://github.com/Fields2Cover/Fields2Cover.git src/fields2cover --branch main | ||
RUN rosdep install -r --ignore-src -y --from-paths . | ||
RUN bash -c 'source /opt/ros/*/setup.bash && catkin build -j$(nproc) --verbose' | ||
|
||
# now build the rest | ||
COPY . src/fields2cover_ros/. | ||
RUN rosdep install -r --ignore-src -y --from-paths src | ||
RUN bash -c 'source devel/setup.bash && catkin build -j$(nproc) --verbose' | ||
|
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
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