spiri-sdk/robots/spiri-mu/virtual_camera/docker-compose.yaml

18 lines
564 B
YAML
Raw Normal View History

2024-11-14 13:39:43 -04:00
x-spiri-sdk-doc: |
Start a virtual camera that can be included in ros
x-spiri-sdk-default-args: --build
2024-11-14 13:39:43 -04:00
services:
front-gimbal:
2024-11-14 13:54:30 -04:00
ipc: host
network_mode: host
2024-11-14 13:39:43 -04:00
# image: git.spirirobotics.com/spiri/services-ros2-mavros:main
2024-11-15 12:52:27 -04:00
#Build the iamge, give it a name, don't try to pull the image
2024-11-14 13:39:43 -04:00
build: ./
2024-11-15 12:52:27 -04:00
image: spirisdk-virtual_camera
pull_policy: never
environment:
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
2024-11-15 12:52:27 -04:00
command: ros2 run ros_gz_image image_bridge /world/${WORLD_NAME}/model/${ROBOT_NAME}/link/pitch_link/sensor/camera/image