remove ros1 docker services
This commit is contained in:
parent
76810ecc46
commit
7acee12640
|
@ -79,28 +79,6 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
||||||
mavros:
|
|
||||||
#This service bridges our mavlink-based robot-coprosessor into ROS
|
|
||||||
#In this example it connects to a simulated coprocessor.
|
|
||||||
image: git.spirirobotics.com/spiri/services-ros1-mavros:master
|
|
||||||
command: roslaunch mavros px4.launch fcu_url:="udp://:14555@mavproxy:14550" tgt_system:="1"
|
|
||||||
environment:
|
|
||||||
- "ROS_MASTER_URI=http://ros-master:11311"
|
|
||||||
depends_on:
|
|
||||||
ros-master:
|
|
||||||
condition: service_healthy
|
|
||||||
mavproxy:
|
|
||||||
condition: service_started
|
|
||||||
restart: always
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
# cpus: '0.01'
|
|
||||||
memory: 200M
|
|
||||||
ulimits:
|
|
||||||
nofile:
|
|
||||||
soft: 1024
|
|
||||||
hard: 524288
|
|
||||||
mavros2:
|
mavros2:
|
||||||
container_name: mavros2-$DRONE_SYS_ID
|
container_name: mavros2-$DRONE_SYS_ID
|
||||||
image: git.spirirobotics.com/spiri/services-ros2-mavros:main
|
image: git.spirirobotics.com/spiri/services-ros2-mavros:main
|
||||||
|
@ -126,23 +104,3 @@ services:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 1024
|
soft: 1024
|
||||||
hard: 524288
|
hard: 524288
|
||||||
|
|
||||||
ros-master:
|
|
||||||
image: git.spirirobotics.com/spiri/services-ros1-core:main
|
|
||||||
command: stdbuf -o L roscore
|
|
||||||
environment:
|
|
||||||
- "ROS_MASTER_URI=http://localhost:11311"
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "127.0.0.1:11311:11311"
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: 1G
|
|
||||||
# Madness, setting a low ulimit here fixes memory leaks
|
|
||||||
# https://answers.ros.org/question/336963/rosout-high-memory-usage/
|
|
||||||
ulimits:
|
|
||||||
nofile:
|
|
||||||
soft: 1024
|
|
||||||
hard: 524288
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue