rossvcclient
Connect to ROS service server
Description
Use rossvcclient
or ros.ServiceClient
to
create a service client object over ROS network. This service client uses a persistent
connection to send requests to, and receive responses from, a ROS service server. The
connection persists until the service client is deleted or the service server becomes
unavailable.
Use the ros.ServiceClient
syntax when connecting to a specific ROS
node.
Note
In a future release, ROS Toolbox will use message structures instead of objects for ROS messages.
To use message structures now, set the "DataFormat"
name-value
argument to "struct"
. For more information, see ROS Message Structures.
Creation
Syntax
Description
creates a service client with the given client
= rossvcclient(servicename
,servicetype
)ServiceName
that connects to a service serve of type ServiceType
.
This command syntax prevents the current MATLAB® program from running until it can connect to the service
server.
provides additional options specified by one or more
client
= rossvcclient(servicename
,servicetype
,Name,Value)Name,Value
pair arguments.
[
returns a new service request message in client
,reqmsg
]
= rossvcclient(___)reqmsg
, using
any of the arguments from previous syntaxes. The message type of
reqmsg
is determined by the service that
client
is connected to. The message is initialized
with default values. You can also create the request message using rosmessage
.
[___]
= rossvcclient(___,"DataFormat","struct")
uses message structures instead of objects. For more information, see ROS Message Structures.
[___]
= rossvcclient(___,"IsPersistent","true")
determines that the service client is persistent.
client = ros.ServiceClient(
creates a service client that connects to a service server. The client gets
its service type from the server. The service client attaches to the
node
,name
)ros.Node
object handle,
node
.
client = ros.ServiceClient(
creates a service client that connects to a service server with the given
service name node
,name
,type
)name
, and type, type
.
The service client attaches to the ros.Node
object
handle, node
.
client = ros.ServiceClient(
specifies a timeout period in seconds for the client to connect the service
server.node
, name
,"Timeout",timeout
)
[___]
= ros.ServiceClient(___,"DataFormat","struct")
uses message structures instead of objects. For more information, see ROS Message Structures.
Properties
This property is read-only.
Name of the service, specified as a string scalar or character vector.
Example: "/gazebo/get_model_state"
This property is read-only.
Type of service, specified as a string scalar or character vector.
Example: "gazebo_msgs/GetModelState"
Message format, specified as "object"
or
"struct"
. You must set this property on creation
using the name-value input. For more information, see ROS Message Structures.
Option to determine if the service connection is persistent, specified as
a numeric or logical 1
(true
) or
0
(false
).
With a persistent connection, a client always stays connected to a service. The connection persists until the service client gets deleted or the service server becomes unavailable. Persistent connections significantly improve performance for repeated requests, however, they also make the client more fragile to service failures when the connection is lost.
In case of non-persistent connection, a client normally does a lookup and reconnects to a service each time. This connection is slower but potentially allows a client to connect to a different node each time it does a service call, assuming that the lookup return a different node.
Data Types: logical
Object Functions
rosmessage | Create ROS messages |
call | Call ROS or ROS 2 service server and receive a response |
isServerAvailable | Determine if ROS or ROS 2 service server is available |
waitForServer | Wait for ROS or ROS 2 service server to start |
Examples
Connect to a ROS network.
rosinit
Launching ROS Core... Status before launching ros core :0 result before launching ros core: 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571705 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571707 pts/3 S+ 0:00 grep -E ros|python Done in 0.50876 seconds. * Inside getProcessPID function * Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 Status before getting PID :0 Result before getting PID : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571730 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571732 pts/3 S+ 0:00 grep -E ros|python Result: 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 Status: 0 PID obtained: 571710 Status after getting PID :0 Result after getting PID : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571737 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571739 pts/3 S+ 0:00 grep -E ros|python * Exiting getProcessPID function * Status after launching ros core :0 result after launching ros core: 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571740 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571742 pts/3 S+ 0:00 grep -E ros|python Status before deleting node :0 Result before deleting node : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571743 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 597 -1 -mvmOutputPipe -1 609 571758 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571760 pts/3 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571764 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571766 pts/3 S+ 0:00 grep -E ros|python Initializing ROS master on http://172.20.144.70:52835. Initializing global node /matlab_global_node_24859 with NodeURI http://dcc959649glnxa64:37427/ and MasterURI http://localhost:52835.
Set up a service server. Use structures for the ROS message data format.
server = rossvcserver('/test', 'std_srvs/Empty', @exampleHelperROSEmptyCallback,... 'DataFormat','struct'); client = rossvcclient('/test','DataFormat','struct');
Check whether the service server is available. If it is, wait for the service client to connect to the server.
if(isServerAvailable(client)) [connectionStatus,connectionStatustext] = waitForServer(client) end
connectionStatus = logical
1
connectionStatustext = 'success'
Call service server with default message.
response = call(client)
response = struct with fields:
MessageType: 'std_srvs/EmptyResponse'
If the call
function above fails, it results in an error. Instead of an error, if you would prefer to react to a call failure using conditionals, return the status
and statustext
outputs from the call function. The status
output indicates if the call succeeded, while statustext
provides additional information.
numCallFailures = 0; [response,status,statustext] = call(client,"Timeout",3); if ~status numCallFailures = numCallFailues + 1; fprintf("Call failure number %d. Error cause: %s\n",numCallFailures,statustext) else disp(response) end
MessageType: 'std_srvs/EmptyResponse'
Shut down the ROS network.
rosshutdown
Shutting down global node /matlab_global_node_24859 with NodeURI http://dcc959649glnxa64:37427/ and MasterURI http://localhost:52835. Status before deleting node :0 Result before deleting node : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571767 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 597 -1 -mvmOutputPipe -1 609 571811 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571813 pts/3 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571818 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571820 pts/3 S+ 0:00 grep -E ros|python Shutting down ROS master on http://172.20.144.70:52835. Status before deleting core :0 Result before deleting core : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571710 pts/3 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1596510/tp7ae2b024_15d5_467a_9010_85ca063d2592/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 52835 -w 3 571722 pts/3 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 52835 -w 3 571821 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571823 pts/3 S+ 0:00 grep -E ros|python * Inside killProcessByPID function * PID of core to be killed: 571710 Status after Child Process Killed: 0 Result after Child Process Killed: Status after deleting core :0 Result after deleting core : 887 ? Ssl 17:13 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1157 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 568896 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568926 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1596510 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568927 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.1b2cf5d6e3975ccf240066d07cb1ec5c MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 568960 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook1.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 570388 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros2server -mvmInputPipe 599 -1 -mvmOutputPipe -1 607 571828 pts/3 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 571830 pts/3 S+ 0:00 grep -E ros|python * Exiting killProcessByPID function *
Create a ROS service serve by creating a ServiceServer
object and use ServiceClient
objects to request information over the network. The callback function used by the server takes a string, reverses it, and returns the reversed string.
Start the ROS master and node.
master = ros.Core;
Launching ROS Core... Status before launching ros core :0 result before launching ros core: 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592472 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592474 pts/1 S+ 0:00 grep -E ros|python Done in 0.50866 seconds. * Inside getProcessPID function * Process Name: /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 Status before getting PID :0 Result before getting PID : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592497 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592499 pts/1 S+ 0:00 grep -E ros|python Result: 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 Status: 0 PID obtained: 592477 Status after getting PID :0 Result after getting PID : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592504 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592506 pts/1 S+ 0:00 grep -E ros|python * Exiting getProcessPID function * Status after launching ros core :0 result after launching ros core: 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592507 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592509 pts/1 S+ 0:00 grep -E ros|python Status before deleting node :0 Result before deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592510 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 611 592525 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592527 pts/1 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592531 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592533 pts/1 S+ 0:00 grep -E ros|python
node = ros.Node('/test');
Create a service server. This server expects a string as a request and responds with a string based on the callback. Use structures for the ROS message data format.
server = ros.ServiceServer(node,'/data/string',... 'roseus/StringString','DataFormat','struct');
Status before deleting node :0 Result before deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592403 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 614 -1 -mvmOutputPipe -1 680 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592534 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 611 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592565 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592567 pts/1 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592534 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 611 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592571 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592573 pts/1 S+ 0:00 grep -E ros|python
Create a callback function. This function takes an input string as the Str
property of req
and returns it as the Str
property of resp
. The function definition is shown here, but is defined below the example. req
is a ROS message you create using rosmessage
.
function [resp] = flipString(~,req,resp) % FLIPSTRING Reverses the order of a string in REQ and returns it in RESP. resp.Str = fliplr(req.Str); end
Assign the callback function for incoming service calls.
server.NewRequestFcn = @flipString;
Create a service client and connect to the service server. Use structures for the ROS message data format.
Create a request message based on the client.
client = ros.ServiceClient(node,'/data/string','DataFormat','struct'); request = rosmessage(client); request.Str = 'hello world';
Send a service request and wait for a response. Specify that the service waits 3 seconds for a response.
response = call(client,request,'Timeout',3)
response = struct with fields:
MessageType: 'roseus/StringStringResponse'
Str: 'dlrow olleh'
The response is a flipped string from the request message.
Clear the service client, service server, and ROS node. Shut down the ROS master.
clear('client', 'server', 'node')
Status before deleting node :0 Result before deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592534 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 611 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592598 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592600 pts/1 S+ 0:00 grep -E ros|python Status after deleting node :0 Result after deleting node : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592605 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592607 pts/1 S+ 0:00 grep -E ros|python
clear('master')
Status before deleting core :0 Result before deleting core : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592477 pts/1 S 0:00 bash /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/mlroscpp/util/+ros/+internal/runroscmd.sh /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1 /tmp/Bdoc25a_2974004_1612961/tp76489d33_c43b_421a_9893_075192c7603a/ros1/glnxa64/venv /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/bin/glnxa64 rosmaster --core -p 58678 -w 3 592489 pts/1 Sl 0:00 python3 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/sys/ros1/glnxa64/ros1/bin/rosmaster --core -p 58678 -w 3 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592608 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592610 pts/1 S+ 0:00 grep -E ros|python * Inside killProcessByPID function * PID of core to be killed: 592477 Status after Child Process Killed: 0 Result after Child Process Killed: Status after deleting core :0 Result after deleting core : 900 ? Ssl 16:40 /usr/bin/python3 /usr/bin/mta-sts-daemon --config /etc/mta-sts-daemon.yml 1136 ? Ssl 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal 591014 ? Ss 0:00 /bin/sh /usr/bin/xvfb-run -a -s -screen 0 1280x1024x24 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591044 ? S 0:00 /bin/sh -c export TMPDIR=/tmp/Bdoc25a_2974004_1612961 COMPONENT=examples/ros ; cd /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/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/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591045 ? S 0:00 sh ../../tools/build_using_mlpath/mlenv --use-scoped-paths 1 --scoped-cppms-file /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1/scoped_cppms_modules.txt --scoped-cppms-envvar MW_SCOPED_CPPMICROSERVICES_MODULES --tag bml --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --paths /mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MATLAB_LOG_DIR=/mathworks/devel/bat/Bdoc25a/logs/2974004/build.glnxa64.2974004.r000/examples/ros/build.glnxa64.2974004.r000.bml.4e7882bfc8781eed27e6f33ef7e5adb1 MAKEFLAGS= DISPLAY=:0 MESA_BACK_BUFFER=Pixmap perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 591078 ? S 0:00 perl ../../tools/build_using_matlab/mlrun --verbose --runnable /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab --display mwtools.liveCodeToDocbook ../../derived/glnxa64/examples/ros/mlx_to_docbook8.txt ../../derived/glnxa64/examples/ros examples/ros ../../help/examples/ros/glnxa64 //mathworks/hub/3rdparty/R2021a/6299939/glnxa64/pngquant 1 592550 ? Sl 0:00 /mathworks/devel/bat/filer/batfs2566-0/Bdoc25a.2974004/build/runnable/matlab/toolbox/ros/bin/glnxa64/libmwros1server -mvmInputPipe 596 -1 -mvmOutputPipe -1 666 592615 pts/1 S+ 0:00 /bin/bash -c ps ax | grep -E 'ros|python' 592617 pts/1 S+ 0:00 grep -E ros|python * Exiting killProcessByPID function *
function [resp] = flipString(~,req,resp) % FLIPSTRING Reverses the order of a string in REQ and returns it in RESP. resp.Str = fliplr(req.Str); end
Limitations
MATLAB Compiler™ software do not support ROS custom messages and the
rosgenmsg
function.
Extended Capabilities
Usage notes and limitations:
Supported only for
struct
messages.ServiceType
property must be specified.Callback functions must be assigned at the time of
rossvcclient
object creation, and cannot be changed during run-time.For
ros.ServiceClient
,node
input argument must be empty.Supported only for the Build Type,
Executable
.Usage in MATLAB Function block is not supported.
Version History
Introduced in R2019bIn a future release, you must specify the ServiceType
property during the client creation.
In a future release, Timeout
name-value pair argument will be
removed for rossvcclient
. Use waitForServer
instead to specify a timeout and obtain the connection
status of the client to the service server.
You can now create messages as structures with fields matching the message object properties. Using structures typically improves performance of creating, updating, and using ROS messages, but message fields are no longer validated when set. Message types and corresponding field values from the structures are validated when sent across the network.
To use ROS messages as structures, use the "DataFormat"
name-value
argument when creating your publishers, subscribers, or other ROS objects. Any messages
generated from these objects will utilize structures.
pub = rospublisher("/scan","sensor_msgs/LaserScan","DataFormat","struct") msg = rosmessage(pub)
You can also create messages as structures directly, but make sure to specify the data
format as "struct"
for the publisher, subscriber, or other ROS objects as
well. ROS objects still use message objects by default.
msg = rosmessage("/scan","sensor_msgs/LaserScan","DataFormat","struct") ... pub = rospublisher("/scan","sensor_msgs/LaserScan","DataFormat","struct")
In a future release, ROS messages will use structures by default and ROS message objects will be removed.
For more information, see Improve Performance of ROS Using Message Structures.
See Also
rosservice
| rossvcserver
| call
| isServerAvailable
| waitForServer
| rosmessage
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: .
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)