rosinit
Connect to ROS network
Description
rosinit
starts the global ROS node with a default MATLAB® name and tries to connect to a ROS master
running on localhost
and port 11311
. If the
global ROS node cannot connect to the ROS master,
rosinit
also starts a ROS core in MATLAB, which consists of a ROS master, a ROS
parameter server, and a rosout logging node.
Note
The first time you connect to a ROS network, you must install and setup Python.
From R2020b to R2021b, install Python® 2.7.
From R2022a or later, install Python 3.9.
To check your Python version in MATLAB and configure it for use with ROS Toolbox, see ROS Toolbox System Requirements.
rosinit(
tries to connect to the ROS
master at the host name or IP address specified by
hostname
)hostname
. This syntax uses 11311
as the
default port number.
rosinit(
tries to connect to the ROS
master at the given resource identifier,
URI
)URI
, for example,
"http://192.168.1.1:11311"
.
rosinit(___,Name,Value)
provides additional options specified
by one or more Name,Value
pair arguments.
Using rosinit
is a prerequisite for most
ROS-related tasks in MATLAB because:
Communicating with a ROS network requires a ROS node connected to a ROS master.
By default, ROS functions in MATLAB operate on the global ROS node, or they operate on objects that depend on the global ROS node.
For example, after creating a global ROS node with rosinit
,
you can subscribe to a topic on the global ROS node. When another
node on the ROS network publishes messages on that topic, the global
ROS node receives the messages.
If a global ROS node already exists, then rosinit
restarts
the global ROS node based on the new set of arguments.
For more advanced ROS networks, connecting to multiple ROS nodes or
masters is possible using the Node
object.
Examples
rosinit
Launching ROS Core... Status before launching ros core :0 result before launching ros core: 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50010 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50012 pts/0 S+ 0:00 grep -E ros|python Done in 0.48074 seconds. * Inside getProcessPID function * Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 Status before getting PID :0 Result before getting PID : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50037 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50039 pts/0 S+ 0:00 grep -E ros|python Result: 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 Status: 0 PID obtained: 50015 Status after getting PID :0 Result after getting PID : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50044 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50046 pts/0 S+ 0:00 grep -E ros|python * Exiting getProcessPID function * Status after launching ros core :0 result after launching ros core: 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50047 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50049 pts/0 S+ 0:00 grep -E ros|python Status before deleting node :0 Result before deleting node : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50050 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 608 -1 -mvmOutputPipe -1 646 50065 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50067 pts/0 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50071 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50073 pts/0 S+ 0:00 grep -E ros|python Initializing ROS master on http://172.20.149.69:60278. Initializing global node /matlab_global_node_99396 with NodeURI http://dcc286938glnxa64:37779/ and MasterURI http://localhost:60278.
When you are finished, shut down the ROS network.
rosshutdown
Shutting down global node /matlab_global_node_99396 with NodeURI http://dcc286938glnxa64:37779/ and MasterURI http://localhost:60278. Status before deleting node :0 Result before deleting node : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50074 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 608 -1 -mvmOutputPipe -1 646 50090 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50092 pts/0 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50096 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50098 pts/0 S+ 0:00 grep -E ros|python Shutting down ROS master on http://172.20.149.69:60278. Status before deleting core :0 Result before deleting core : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50015 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2864802_2753801/tp9ec98cb4_4da7_4c9e_8615_93eef5bb7a0f/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 60278 -w 3 50029 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 60278 -w 3 50099 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50101 pts/0 S+ 0:00 grep -E ros|python * Inside killProcessByPID function * PID of core to be killed: 50015 Status after Child Process Killed: 0 Result after Child Process Killed: Status after deleting core :0 Result after deleting core : 888 ? Ssl 0:44 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1180 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 47795 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47825 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2864802_2753801 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/matlab/examples/ros ; //mathworks/hub/bat/common/bin/mw sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47827 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2864802/build.glnxa64.2864802.r001/examples/ros/build.glnxa64.2864802.r001.bml.8a0672ac9b49152569df99eed4417168 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 47862 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2864802/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook7.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 50106 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 50108 pts/0 S+ 0:00 grep -E ros|python * Exiting killProcessByPID function *
rosinit('192.168.17.128')
Initializing global node /matlab_global_node_57409 with NodeURI http://192.168.17.1:57782/
Shut down the ROS network when you are finished.
rosshutdown
Shutting down global node /matlab_global_node_57409 with NodeURI http://192.168.17.1:57782/
rosinit('192.168.17.128', 'NodeHost','192.168.17.1','NodeName','/test_node')
Initializing global node /test_node with NodeURI http://192.168.17.1:57633/
Shut down the ROS network when you are finished.
rosshutdown
Shutting down global node /test_node with NodeURI http://192.168.17.1:57633/
Input Arguments
Host name or IP address, specified as a string scalar or character vector.
Port number used to connect to the ROS master, specified as a numeric scalar.
URI for ROS master, specified as a string
scalar or character vector. Standard format for URIs is either
http://ipaddress:port
or
http://hostname:port
Name-Value Arguments
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN
, where Name
is
the argument name and Value
is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Before R2021a, use commas to separate each name and value, and enclose
Name
in quotes.
Example: "NodeHost","192.168.1.1"
Host name or IP address under which the node advertises itself to the ROS network, specified
as the comma-separated pair consisting of "NodeHost"
and a character vector.
Example: "comp-home"
Global node name, specified as the comma-separated pair consisting of
"NodeName"
and a character vector. The node that
is created through rosinit
is registered on the ROS
network with this name.
Example: "NodeName","/test_node"
Version History
Introduced in R2019b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)