feature/multiple-compose #10
|
@ -1,5 +1,5 @@
|
|||
FROM git.spirirobotics.com/spiri/services-ros2-mavros:main
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get --yes install ros-${ROS_DISTRO}-ros-gz-bridge
|
||||
RUN apt-get --yes install ros-${ROS_DISTRO}-ros-gz-bridge ros-${ROS_DISTRO}-compressed-image-transport ros-${ROS_DISTRO}-rmw-cyclonedds-cpp
|
||||
|
||||
|
|
|
@ -5,4 +5,6 @@ services:
|
|||
network_mode: host
|
||||
# image: git.spirirobotics.com/spiri/services-ros2-mavros:main
|
||||
build: ./
|
||||
command: ros2 run ros_gz_bridge parameter_bridge /world/${WORLD_NAME}/model/${ROBOT_NAME}/link/pitch_link/sensor/camera/image@sensor_msgs/msg/Image@gz.msgs.Image
|
||||
environment:
|
||||
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
||||
command: ros2 run ros_gz_image image_bridge /world/${WORLD_NAME}/model/${ROBOT_NAME}/link/pitch_link/sensor/camera/image
|
Loading…
Reference in New Issue