File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM osrf/ros2:bouncy -ros-core
1
+ FROM ros:crystal -ros-base-bionic
2
2
3
3
MAINTAINER Lander Usategui <lander@aliasrobotics.com>
4
4
5
5
# install ros2 packages
6
6
RUN apt-get update && apt-get install -y \
7
- ros-bouncy-ros-base \
8
7
python3-colcon-common-extensions \
9
8
&& rm -rf /var/lib/apt/lists/*
10
9
11
10
COPY scenario2-local /root/ros2_ws/src/scenario2
12
11
13
12
RUN /bin/bash -c "cd /root/ros2_ws/ \
14
- && source /opt/ros/bouncy /setup.bash \
15
- && colcon build --merge-install --install-base /opt/ros/bouncy --packages-select scenario2 --cmake-args -DBUILD_TESTING=OFF \
13
+ && source /opt/ros/crystal /setup.bash \
14
+ && colcon build --merge-install --install-base /opt/ros/crystal --packages-select scenario2 --cmake-args -DBUILD_TESTING=OFF \
16
15
&& cd && rm -r /root/ros2_ws"
17
16
18
17
RUN rm -rf /etc/update-motd.d/* && rm -rf /etc/legal && sed -i 's/\# force_color_prompt=yes/force_color_prompt=yes/' /root/.bashrc
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- source /opt/ros/bouncy /setup.bash
3
+ source /opt/ros/crystal /setup.bash
4
4
5
5
echo " *************************************************************"
6
6
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if(NOT CMAKE_CXX_STANDARD)
7
7
endif ()
8
8
9
9
if (CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
10
- add_compile_options (-Wall -Wextra -Wpedantic )
10
+ add_compile_options (-Wall -Wextra -Wpedantic -Wunused-parameter )
11
11
endif ()
12
12
13
13
find_package (ament_cmake REQUIRED )
You can’t perform that action at this time.
0 commit comments