2024-11-14 13:39:43 -04:00
|
|
|
|
2024-11-24 13:14:57 -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
|
2024-11-14 19:15:12 -04:00
|
|
|
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
|