forked from ouster-lidar/ouster-ros
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
87d6d49
commit 5a090b8
Showing
3 changed files
with
41 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ on: | |
push: | ||
branches: | ||
- ros2 | ||
workflow_dispatch: | ||
|
||
pull_request: | ||
branches: | ||
- ros2 | ||
|
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,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"] |
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