diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2078812 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM ros:humble-ros-core@sha256:854e48183c14881767553657ca73602fe7bb5d7f265f744c5ea66ef88bb59955 +RUN mkdir /root/voraus-ros-bridge +COPY package.xml /root/voraus-ros-bridge/ +COPY ./install/voraus-ros-bridge/ /root/voraus-ros-bridge/install/ +COPY ./launch/* /root/voraus-ros-bridge/install/share/voraus-ros-bridge/ +COPY ./voraus_interfaces/install/voraus_interfaces/lib/* /opt/ros/humble/lib/ diff --git a/README.md b/README.md index 81ac091..0681789 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,14 @@ Enables `voraus.core` integration within the ROS framework. +## Quick Start + +The easiest way to use the voraus ros bridge is to start it via the provided docker compose file. + +`docker compose up` + +Note that you have to run this command from within the directory where the `compose.yaml` is located. + ## Development This repository provides a dev container to streamline the development process. diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..5fe377b --- /dev/null +++ b/compose.yaml @@ -0,0 +1,7 @@ +services: + voraus_ros_bridge: + image: voraus-ros-bridge:0.1.0 + command: ros2 launch voraus-ros-bridge voraus-ros-bridge.launch.py + environment: + - AMENT_PREFIX_PATH=/root/voraus-ros-bridge/install:/opt/ros/humble + - ROS_NAMESPACE=robot1