Constructor
new NodeOptions(startParameterServicesopt, parameterOverridesopt, automaticallyDeclareParametersFromOverridesopt, startTypeDescriptionServiceopt)
Create a new instance with default property values.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
startParameterServices |
boolean |
<optional> |
true | |
parameterOverrides |
array |
<optional> |
[] | |
automaticallyDeclareParametersFromOverrides |
boolean |
<optional> |
false | |
startTypeDescriptionService |
boolean |
<optional> |
true |
- Source:
Members
automaticallyDeclareParametersFromOverrides
Get the automaticallyDeclareParametersFromOverrides.
- Source:
automaticallyDeclareParametersFromOverrides
Set automaticallyDeclareParametersFromOverrides.
- Source:
parameterOverrides
Get the parameterOverrides.
- Source:
parameterOverrides
Set the Parameters that will serve to override a node's default parameter settings.
Setting to null, reinitializes the parameterOverrides to an empty array.
- Source:
startParameterServices
Get the startParameterServices option.
Default value = true;
- Source:
startParameterServices
Set startParameterServices.
- Source:
startTypeDescriptionService
Get the startTypeDescriptionService option, only available for ROS2 > Humble.
Default value = true;
- Source:
startTypeDescriptionService
Set startTypeDescriptionService, only available for ROS2 > Humble
- Source:
(static) defaultOptions
Return an instance configured with default options.
- Source: