mirror of
https://github.com/bjoernellens1/ros2_bot_mini.git
synced 2024-11-22 21:43:51 +00:00
Compare commits
2 Commits
1865af75f4
...
82fe921df7
Author | SHA1 | Date | |
---|---|---|---|
82fe921df7 | |||
f1cbb41431 |
@ -2,7 +2,7 @@ version: "3.9"
|
|||||||
services:
|
services:
|
||||||
# Base image containing dependencies.
|
# Base image containing dependencies.
|
||||||
base:
|
base:
|
||||||
image: bot_mini:base
|
image: ghcr.io/bjoernellens1/ros2_bot_mini/bot_mini:base
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
@ -30,15 +30,27 @@ services:
|
|||||||
# Overlay image containing the example source code.
|
# Overlay image containing the example source code.
|
||||||
overlay:
|
overlay:
|
||||||
extends: base
|
extends: base
|
||||||
image: bot_mini:overlay
|
image: ghcr.io/bjoernellens1/ros2_bot_mini/bot_mini:overlay
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
target: overlay
|
target: overlay
|
||||||
|
|
||||||
|
|
||||||
|
# Robot State Publisher
|
||||||
|
robot_state_publisher:
|
||||||
|
extends: overlay
|
||||||
|
command: >
|
||||||
|
ros2 launch bot_mini_bringup rsp.launch.py
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
# Networking and IPC for ROS 2
|
||||||
|
network_mode: host
|
||||||
|
ipc: host
|
||||||
|
|
||||||
# Controller and teleop
|
# Controller and teleop
|
||||||
controller:
|
controller:
|
||||||
extends: overlay
|
extends: overlay
|
||||||
command: >
|
command: >
|
||||||
/controller_startup.sh
|
/controller_startup.sh
|
||||||
devices:
|
devices:
|
||||||
@ -53,6 +65,8 @@ services:
|
|||||||
ipc: host
|
ipc: host
|
||||||
# Needed to display graphical applications
|
# Needed to display graphical applications
|
||||||
privileged: true
|
privileged: true
|
||||||
|
depends_on:
|
||||||
|
- robot_state_publisher
|
||||||
|
|
||||||
# MicroRos Agent
|
# MicroRos Agent
|
||||||
microros_agent:
|
microros_agent:
|
||||||
@ -70,11 +84,24 @@ services:
|
|||||||
# Needed to display graphical applications
|
# Needed to display graphical applications
|
||||||
privileged: true
|
privileged: true
|
||||||
|
|
||||||
|
# sensors
|
||||||
|
sensors:
|
||||||
|
extends: overlay
|
||||||
|
command: >
|
||||||
|
ros2 launch bot_mini_bringup robot_lidar.launch.py
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
# Networking and IPC for ROS 2
|
||||||
|
network_mode: host
|
||||||
|
ipc: host
|
||||||
|
depends_on:
|
||||||
|
- robot_state_publisher
|
||||||
|
|
||||||
# Localization
|
# Localization
|
||||||
localization:
|
localization:
|
||||||
extends: overlay
|
extends: overlay
|
||||||
command: >
|
command: >
|
||||||
/localization_startup.sh
|
ros2 launch bot_mini_bringup robot_localization.launch.py
|
||||||
devices:
|
devices:
|
||||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||||
- /dev/ttyUSB1:/dev/ttyUSB1
|
- /dev/ttyUSB1:/dev/ttyUSB1
|
||||||
|
Loading…
Reference in New Issue
Block a user