Core
Create ROS Core
Description
The ROS Core encompasses many key components and nodes that are essential for
the ROS network. You must have exactly one ROS core running in the ROS network for nodes
to communicate. Using this class allows the creation of a ROS core in MATLAB®. Once the core is created, you can connect to it by calling rosinit or ros.Node.
Creation
Description
core = ros.Core returns a Core
object and starts a ROS core in MATLAB. This ROS core has a default port of 11311.
MATLAB allows the creation of only one core on any given port and
displays an error if another core is detected on the same port.
core = ros.Core( starts a
ROS core at the specified port, port)port.
Properties
This property is read-only.
Network port at which the ROS master is listening, returned as a scalar.
This property is read-only.
The URI on which the ROS master can be
reached, returned as a character vector. The
MasterURI is constructed
based on the host name of your computer. If your host name is not valid, the
IP address of your first network interface is used.
Examples
Create a ROS core on localhost and port 12000.
core = ros.Core(12000)
Launching ROS Core... Status before launching ros core :0 result before launching ros core: 891 ? Ssl 10:52 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1174 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 312947 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312977 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312991 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 313042 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 314626 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603 315091 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 315093 pts/0 S+ 0:00 grep -E ros|python Done in 0.49186 seconds. * Inside getProcessPID function * Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 12000 -w 3 Status before getting PID :0 Result before getting PID : 891 ? Rsl 10:52 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1174 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 312947 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312977 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312991 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 313042 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 314626 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603 315096 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25b_3168145_246662/tpfd67e44c_10ab_4db2_afff_009b47906e65/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 12000 -w 3 315108 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 12000 -w 3 315116 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 315118 pts/0 S+ 0:00 grep -E ros|python Result: 315096 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25b_3168145_246662/tpfd67e44c_10ab_4db2_afff_009b47906e65/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 12000 -w 3 Status: 0 PID obtained: 315096 Status after getting PID :0 Result after getting PID : 891 ? Ssl 10:52 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1174 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 312947 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312977 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312991 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 313042 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 314626 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603 315096 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25b_3168145_246662/tpfd67e44c_10ab_4db2_afff_009b47906e65/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 12000 -w 3 315108 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 12000 -w 3 315123 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 315125 pts/0 S+ 0:00 grep -E ros|python * Exiting getProcessPID function * Status after launching ros core :0 result after launching ros core: 891 ? Ssl 10:52 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1174 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 312947 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312977 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25b_3168145_246662 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/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/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 312991 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25b/logs/3168145/build.glnxa64.3168145.r009/examples/ros/build.glnxa64.3168145.r009.bml.e755ebeb090542afd4ae92ad7e709ce4 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 313042 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook2.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 314626 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 603 315096 pts/0 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25b_3168145_246662/tpfd67e44c_10ab_4db2_afff_009b47906e65/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 12000 -w 3 315108 pts/0 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25b.3168145/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 12000 -w 3 315126 pts/0 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 315128 pts/0 S+ 0:00 grep -E ros|python
core =
Core with properties:
Port: 12000
MasterURI: 'http://172.23.81.150:12000'
Clear the ROS core to shut down the ROS network.
clear('core')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.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- 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)