Skip to content

Commit

Permalink
added fix to package.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
EirikKolas committed Oct 9, 2023
1 parent 87d6d49 commit 5a090b8
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- ros2
workflow_dispatch:

pull_request:
branches:
- ros2
Expand Down
38 changes: 38 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: '3.8'
services:

freya-lidar:
container_name: ouster-lidar-ros
build:
context: .
dockerfile: Dockerfile

# network_mode: host
environment:
- DISPLAY = :0
entrypoint: ["bash", "-c", "set -e \
&& source ./install/setup.bash \
&& ros2 launch ouster_ros sensor.launch.xml \
sensor_hostname:=os1-122037000366.local \
lidar_port:=30011
", "ros-entrypoint"]
ports:
- 30011:30011

test-lidar:
container_name: ouster-lidar-ros
build:
context: .
dockerfile: Dockerfile

# network_mode: host
ports:
- 1001:1001
environment:
- DISPLAY = :0
entrypoint: ["bash", "-c", "set -e \
&& source ./install/setup.bash \
&& ros2 launch ouster_ros sensor.launch.xml \
sensor_hostname:=os1-12207000043.local \
lidar_port:=1001
", "ros-entrypoint"]
1 change: 1 addition & 0 deletions ouster-ros/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<depend>pcl_ros</depend>
<depend>pcl_conversions</depend>
<depend>std_srvs</depend>
<depend>libglfw3-dev</depend>

<build_depend>libjsoncpp-dev</build_depend>
<build_depend>eigen</build_depend>
Expand Down

0 comments on commit 5a090b8

Please sign in to comment.