def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument('node_name', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') parser.add_argument('transition', help='The lifecycle transition')
def add_arguments(self, parser, cli_name): add_arguments(parser) argument = parser.add_argument('node_name', help='Node name to request information') argument.completer = NodeNameCompleter() parser.add_argument( '--include-hidden', action='store_true', help='Display hidden topics, services, and actions as well')
def add_controller_mgr_parsers(parser): """Parser arguments to get controller manager node name, defaults to /controller_manager.""" arg = parser.add_argument( '-c', '--controller-manager', help='Name of the controller manager ROS node', default='/controller_manager', required=False) arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument( '--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well')
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument( 'node_name', nargs='?', help='Name of the ROS node. ' 'If no name is provided, then get the state for all nodes.') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well')
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument('node_name', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') arg = parser.add_argument('parameter_name', help='Name of the parameter') arg.completer = ParameterNameCompleter() parser.add_argument('value', help='Value of the parameter')
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument('node_name', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') parser.add_argument('parameter_file', help='Parameter file') parser.add_argument( '--no-use-wildcard', action='store_true', help="Do not load parameters in the '/**' namespace into the node")
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument('node_name', nargs='?', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') parser.add_argument( '--param-prefixes', nargs='+', default=[], help='Only list parameters with the provided prefixes')
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument('node_name', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument('--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') parser.add_argument( '--output-dir', default='.', help='The absolute path were to save the generated file') parser.add_argument( '--print', action='store_true', help='Print generated file in terminal rather than saving a file.')
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) arg = parser.add_argument( 'node_name', nargs='?', help='Name of the ROS node') arg.completer = NodeNameCompleter( include_hidden_nodes_key='include_hidden_nodes') parser.add_argument( '--filter', nargs=1, help=( 'Only parameters matching the regex expression will be showed.' ' Supports `re` regex syntax.')) parser.add_argument( '--include-hidden-nodes', action='store_true', help='Consider hidden nodes as well') parser.add_argument( '--param-prefixes', nargs='+', default=[], help='Only list parameters with the provided prefixes') parser.add_argument( '--param-type', action='store_true', help='Print parameter types with parameter names')
def add_arguments(self, parser, cli_name): add_arguments(parser) argument = parser.add_argument('node_name', help='Node name to request information') argument.completer = NodeNameCompleter()