Skip to content

Commit

Permalink
feat: Add Docker release image
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-caspers committed Oct 14, 2024
1 parent 1330fa9 commit 2caaff7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2caaff7

Please sign in to comment.