Skip to content

Commit

Permalink
Update for Humble (space-ros#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jeronimo <[email protected]>

Signed-off-by: Michael Jeronimo <[email protected]>
  • Loading branch information
Michael Jeronimo authored Sep 1, 2022
1 parent b4b1d90 commit c35fd68
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion demo_spaceros/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ ARG DEBIAN_FRONTEND=noninteractive

# Define a few key variables
ARG SPACEROS_DEMO_DIR=${SRC_DIR}/spaceros_demo
ARG ROSDISTRO=rolling
ENV IGNITION_VERSION fortress

# Get rosinstall_generator
Expand Down
1 change: 1 addition & 0 deletions demo_spaceros/excluded-pkgs.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
fastrtps
fastcdr
generate_parameter_library
rmw_fastrtps_cpp
rmw_fastrtps_dynamic_cpp
rmw_fastrtps_shared_cpp
Expand Down
2 changes: 1 addition & 1 deletion moveit2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN sudo vcs import src < moveit2.repos
RUN sudo chown -R ${USERNAME}:${USERNAME} ${MOVEIT2_DIR}

# Install system dependencies
RUN rosdep install --from-paths ../spaceros/src src --ignore-src --rosdistro rolling -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers rmw_connextdds ros_testing rmw_connextdds rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp composition demo_nodes_py lifecycle rosidl_typesupport_fastrtps_cpp rosidl_typesupport_fastrtps_c ikos diagnostic_aggregator diagnostic_updater joy qt_gui rqt_gui rqt_gui_py"
RUN rosdep install --from-paths ../spaceros/src src --ignore-src --rosdistro ${ROSDISTRO} -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers rmw_connextdds ros_testing rmw_connextdds rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp composition demo_nodes_py lifecycle rosidl_typesupport_fastrtps_cpp rosidl_typesupport_fastrtps_c ikos diagnostic_aggregator diagnostic_updater joy qt_gui rqt_gui rqt_gui_py"

# Apply a patch to octomap_msgs to work around a build issue
COPY --chown=${USERNAME}:${USERNAME} octomap_fix.diff ./src/octomap_msgs
Expand Down
5 changes: 3 additions & 2 deletions spaceros/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ LABEL org.label-schema.vcs-ref=${VCS_REF}
# Disable prompting during package installation
ARG DEBIAN_FRONTEND=noninteractive

# Define the username and key locations
# Define the username and key variables
ENV USERNAME spaceros-user
ENV SRC_DIR=/home/${USERNAME}/src
ENV SPACEROS_DIR=${SRC_DIR}/spaceros
ARG IKOS_DIR=${SRC_DIR}/ikos
ARG REPOS_FILE_URL="https://raw.githubusercontent.com/space-ros/space-ros/main/ros2.repos"
ENV ROSDISTRO=humble

# https://github.com/NVIDIA/cuda-repo-management/issues/1
# Use new GPG keys for nvidia apt repositories that have not yet propagated to base images.
Expand Down Expand Up @@ -116,7 +117,7 @@ RUN vcs import src < ros2.repos
# Install system dependencies
RUN sudo rosdep init && \
rosdep update && \
rosdep install --from-paths src --ignore-src --rosdistro rolling -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers rmw_connextdds ros_testing rmw_connextdds rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp composition demo_nodes_py lifecycle rosidl_typesupport_fastrtps_cpp rosidl_typesupport_fastrtps_c ikos"
rosdep install --from-paths src --ignore-src --rosdistro ${ROSDISTRO} -y --skip-keys "console_bridge fastcdr fastrtps rti-connext-dds-5.3.1 urdfdom_headers rmw_connextdds ros_testing rmw_connextdds rmw_fastrtps_cpp rmw_fastrtps_dynamic_cpp composition demo_nodes_py lifecycle rosidl_typesupport_fastrtps_cpp rosidl_typesupport_fastrtps_c ikos"

# Build the Space ROS source code
RUN colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
Expand Down

0 comments on commit c35fd68

Please sign in to comment.