Main Content
get
Description
returns paramValue
= get(paramObj
,paramName
)paramValue
, that contains the value of the specified parameter
paramName
in the ROS 2 node associated with the parameter object,
paramObj
. If it fails to return the parameter value, this syntax
displays an error.
[
returns a paramValue
,status
] = get(paramObj
,paramName
)status
indicating whether the function was able to
successfully return the parameter value. If it fails to return the parameter value, this
syntax returns the paramValue
as an empty double
,
and the status
as false
without displaying an
error.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b