From 9bf98d691e73ab4229a1241b7214aaed03c7124f Mon Sep 17 00:00:00 2001 From: Ethan Tran Date: Tue, 25 Apr 2023 19:57:14 -0400 Subject: [PATCH] Change mavros to not use host networking --- mavros.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mavros.yaml b/mavros.yaml index 27dac57..ae3506e 100644 --- a/mavros.yaml +++ b/mavros.yaml @@ -3,10 +3,8 @@ services: container_name: mavros image: ghcr.io/ncsuarc/mavros:latest restart: unless-stopped - network_mode: host - volumes: - - /dev/shm:/dev/shm - privileged: true + ports: + - 14551:14551 command: ros2 run mavros mavros_node --ros-args -p fcu_url:="udp://localhost:14551@" mavp2p: container_name: mavp2p