feature/multi-robots-types #12
|
@ -13,6 +13,7 @@ services:
|
|||
# QT_QPA_PLATFORM: "${QT_QPA_PLATFORM:-xcb}"
|
||||
XDG_RUNTIME_DIR: "${XDG_RUNTIME_DIR}"
|
||||
ROS_MASTER_URI: "http://ros-master:11311"
|
||||
PYTHONASYNCIODEBUG: "1"
|
||||
|
||||
volumes:
|
||||
# X11 socket
|
||||
|
|
|
@ -342,11 +342,13 @@ class Spirimu(Robot):
|
|||
cwd=f"/ardupilot_gazebo/models/{DRONE_MODEL}",
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
timeout=1,
|
||||
)
|
||||
ros2_gz_create_proc = subprocess.Popen(
|
||||
ROS2_CMD.split(),
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
timeout=1,
|
||||
)
|
||||
out, err = ros2_gz_create_proc.communicate(timeout=15)
|
||||
ros2_gz_create_proc.kill()
|
||||
|
|
Loading…
Reference in New Issue