-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from osrf/ardent_support
[ROS2]Ardent support
- Loading branch information
Showing
20 changed files
with
343 additions
and
78 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
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,28 @@ | ||
all: help | ||
|
||
help: | ||
@echo "" | ||
@echo "-- Help Menu" | ||
@echo "" | ||
@echo " 1. make build - build all images" | ||
@echo " 2. make pull - pull all images" | ||
@echo " 3. make clean - remove all images" | ||
@echo "" | ||
|
||
build: | ||
@docker build --tag=osrf/ros2:ardent-core ardent-core/. | ||
@docker build --tag=osrf/ros2:ardent-basic ardent-basic/. | ||
@docker build --tag=osrf/ros2:ardent-full ardent-full/. | ||
@docker build --tag=osrf/ros2:ardent-ros1-bridge ardent-ros1-bridge/. | ||
|
||
pull: | ||
@docker pull osrf/ros2:ardent-core | ||
@docker pull osrf/ros2:ardent-basic | ||
@docker pull osrf/ros2:ardent-full | ||
@docker pull osrf/ros2:ardent-ros1-bridge | ||
|
||
clean: | ||
@docker rmi -f osrf/ros2:ardent-core | ||
@docker rmi -f osrf/ros2:ardent-basic | ||
@docker rmi -f osrf/ros2:ardent-full | ||
@docker rmi -f osrf/ros2:ardent-ros1-bridge |
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,40 @@ | ||
# This is an auto generated Dockerfile for ros2:ardent-basic | ||
# generated from docker_images/create_ros2_image.Dockerfile.em | ||
FROM osrf/ros2:ardent-core | ||
|
||
# install packages | ||
RUN apt-get update && apt-get install -q -y \ | ||
python3-pip \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# install python packages | ||
RUN pip3 install -U \ | ||
argcomplete | ||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-ardent-common-interfaces \ | ||
ros-ardent-composition \ | ||
ros-ardent-demo-nodes-cpp \ | ||
ros-ardent-demo-nodes-cpp-native \ | ||
ros-ardent-demo-nodes-py \ | ||
ros-ardent-examples* \ | ||
ros-ardent-launch \ | ||
ros-ardent-lifecycle \ | ||
ros-ardent-logging-demo \ | ||
ros-ardent-ros2msg \ | ||
ros-ardent-ros2node \ | ||
ros-ardent-ros2pkg \ | ||
ros-ardent-ros2run \ | ||
ros-ardent-ros2service \ | ||
ros-ardent-ros2srv \ | ||
ros-ardent-ros2topic \ | ||
ros-ardent-sros2 \ | ||
ros-ardent-tf2* \ | ||
ros-ardent-tlsf* \ | ||
ros-ardent-topic-monitor \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup entrypoint | ||
COPY ./ros2_entrypoint.sh / | ||
|
||
ENTRYPOINT ["/ros2_entrypoint.sh"] |
File renamed without changes.
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,6 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# setup ros2 environment | ||
source "/opt/ros/$ROS2_DISTRO/setup.bash" | ||
exec "$@" |
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,32 @@ | ||
# This is an auto generated Dockerfile for ros2:ardent-full | ||
# generated from docker_images/create_ros2_image.Dockerfile.em | ||
FROM osrf/ros2:ardent-basic | ||
|
||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-ardent-astra-camera \ | ||
ros-ardent-cartographer-ros \ | ||
ros-ardent-depthimage-to-laserscan \ | ||
ros-ardent-depthimage-to-pointcloud2 \ | ||
ros-ardent-dummy-map-server \ | ||
ros-ardent-dummy-robot-bringup \ | ||
ros-ardent-dummy-sensors \ | ||
ros-ardent-image-tools \ | ||
ros-ardent-intra-process-demo \ | ||
ros-ardent-joy \ | ||
ros-ardent-launch-testing \ | ||
ros-ardent-map-server \ | ||
ros-ardent-pcl-conversions \ | ||
ros-ardent-pendulum-control \ | ||
ros-ardent-robot-state-publisher \ | ||
ros-ardent-rosidl-default-generators \ | ||
ros-ardent-rviz2 \ | ||
ros-ardent-rviz-default-plugins \ | ||
ros-ardent-teleop-twist-joy \ | ||
ros-ardent-teleop-twist-keyboard \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup entrypoint | ||
COPY ./ros2_entrypoint.sh / | ||
|
||
ENTRYPOINT ["/ros2_entrypoint.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,6 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# setup ros2 environment | ||
source "/opt/ros/$ROS2_DISTRO/setup.bash" | ||
exec "$@" |
7 changes: 4 additions & 3 deletions
7
...ubuntu/xenial/r2b3-ros1-bridge/Dockerfile → ...untu/xenial/ardent-ros1-bridge/Dockerfile
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
File renamed without changes.
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,87 @@ | ||
%YAML 1.1 | ||
# ROS2 Dockerfile database | ||
--- | ||
images: | ||
@(ros2distro_name)-core: | ||
base_image: @(os_name):@(os_code_name) | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_core_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros2_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
packages: | ||
- python3-pip | ||
ros2_packages: | ||
- rclcpp | ||
- rclpy | ||
@(ros2distro_name)-basic: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-core | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros2_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
packages: | ||
- python3-pip | ||
pip3_install: | ||
- argcomplete | ||
ros2_packages: | ||
- common-interfaces | ||
- composition | ||
- demo-nodes-cpp | ||
- demo-nodes-cpp-native | ||
- demo-nodes-py | ||
- examples* | ||
- launch | ||
- lifecycle | ||
- logging-demo | ||
- ros2msg | ||
- ros2node | ||
- ros2pkg | ||
- ros2run | ||
- ros2service | ||
- ros2srv | ||
- ros2topic | ||
- sros2 | ||
- tf2* | ||
- tlsf* | ||
- topic-monitor | ||
@(ros2distro_name)-full: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-basic | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros2_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
ros2_packages: | ||
# - ament* | ||
- astra-camera | ||
- cartographer-ros | ||
- depthimage-to-laserscan | ||
- depthimage-to-pointcloud2 | ||
- dummy-map-server | ||
- dummy-robot-bringup | ||
- dummy-sensors | ||
- image-tools | ||
- intra-process-demo | ||
- joy | ||
- launch-testing | ||
- map-server | ||
- pcl-conversions | ||
- pendulum-control | ||
- robot-state-publisher | ||
- rosidl-default-generators | ||
- rviz2 | ||
- rviz-default-plugins | ||
- teleop-twist-joy | ||
- teleop-twist-keyboard | ||
@(ros2distro_name)-ros1-bridge: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-full | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros1_bridge_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
ros2_packages: | ||
- ros1-bridge | ||
- turtlebot2* |
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.