def add_arguments(self, parser, cli_name): add_arguments(parser) add_component_arguments(parser) parser.add_argument( '-c', '--container-node-name', default='standalone_container_' + uuid.uuid4().hex[:12], help='Name of the standalone container node to be run')
def add_arguments(self, parser, cli_name): add_arguments(parser) argument = parser.add_argument( 'package_name', nargs='?', default=None, help='Package name to look for registered components in') argument.completer = package_name_completer
def add_arguments(self, parser, cli_name): # noqa: D102 add_arguments(parser) parser.add_argument( '-a', '--all', action='store_true', help='Display all nodes even hidden ones') parser.add_argument( '-c', '--count-nodes', action='store_true', help='Only display the number of nodes discovered')
def add_arguments(self, parser, cli_name): add_arguments(parser) parser.add_argument( '-t', '--show-types', action='store_true', help='Additionally show the topic type') parser.add_argument( '-c', '--count-topics', action='store_true', help='Only display the number of topics discovered')
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_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( 'container_node_name', nargs='?', default=None, help='Name of the container node to list components from') argument.completer = container_node_name_completer parser.add_argument( '--containers-only', action='store_true', help='List found containers nodes only')
def add_arguments(self, parser, cli_name): add_arguments(parser) argument = parser.add_argument( 'container_node_name', help='Container node name to unload component from' ) argument.completer = container_node_name_completer add_component_arguments(parser) parser.add_argument( '-q', '--quiet', action='store_true', default=False, help='Only print component unique IDs and names' )
def add_arguments(self, parser, cli_name): add_arguments(parser) argument = parser.add_argument( 'container_node_name', help='Container node name to unload component from') argument.completer = container_node_name_completer argument = parser.add_argument( 'component_uid', type=int, nargs='+', help='Unique ID of the component to be unloaded')
def add_arguments(self, parser, cli_name): add_arguments(parser) parser.add_argument( '-t', '--show-types', action='store_true', help='Additionally show the service type') parser.add_argument( '-c', '--count-services', action='store_true', help='Only display the number of services discovered') parser.add_argument( '--include-hidden-services', action='store_true', help='Consider hidden services 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', 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): add_arguments(parser) argument = parser.add_argument( 'container_node_name', help='Container node name to unload component from' ) argument.completer = container_node_name_completer argument = parser.add_argument( 'component_uid', type=int, nargs='+', help='Unique ID of the component to be unloaded' ) parser.add_argument( '-q', '--quiet', action='store_true', default=False, help='Only print component unique IDs' )
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): add_arguments(parser) parser.add_argument('-t', '--show-types', action='store_true', help='Additionally show the topic type') parser.add_argument( '-c', '--count-topics', action='store_true', help='Only display the number of topics discovered') # duplicate the following argument from the command for visibility parser.add_argument('--include-hidden-topics', action='store_true', help='Consider hidden topics 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') 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): add_arguments(parser) argument = parser.add_argument( 'container_node_name', help='Container node name to load component into') argument.completer = container_node_name_completer argument = parser.add_argument( 'package_name', help='Name of the package where the component is to be found') argument.completer = package_with_components_name_completer argument = parser.add_argument( 'plugin_name', help='Type name of the component to be loaded') argument.completer = ComponentTypeNameCompleter( package_name_key='package_name') parser.add_argument('-n', '--node-name', default=None, help='Component node name') parser.add_argument('--node-namespace', default=None, help='Component node namespace') parser.add_argument('--log-level', default=None, help='Component node log level') parser.add_argument( '-r', '--remap-rule', action='append', default=None, dest='remap_rules', help="Component node remapping rules, in the 'from:=to' form") parser.add_argument( '-p', '--parameter', action='append', default=None, dest='parameters', help="Component node parameters, in the 'name:=value' form") parser.add_argument( '-e', '--extra-argument', action='append', default=None, dest='extra_arguments', help="Extra arguments for the container, in the 'name:=value' form" )
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): # noqa: D102 self._subparser = parser add_arguments(parser) parser.add_argument('-a', '--all', action='store_true', help='recording all topics') parser.add_argument('topics', nargs='*', help='topics to be recorded') parser.add_argument('-o', '--output', help='destination of the bagfile to create, \ defaults to a timestamped folder in the current directory') parser.add_argument( '-s', '--storage', default='sqlite3', help='storage identifier to be used, defaults to "sqlite3"') parser.add_argument( '-f', '--serialization-format', default='', help= 'rmw serialization format in which the messages are saved, defaults to the' ' rmw currently in use') parser.add_argument( '--no-discovery', action='store_true', help= 'disables topic auto discovery during recording: only topics present at ' 'startup will be recorded') parser.add_argument( '-p', '--polling-interval', default=100, help= 'time in ms to wait between querying available topics for recording. It has no ' 'effect if --no-discovery is enabled.')
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()
def add_arguments(self, parser, cli_name): add_arguments(parser) parser.add_argument( 'node_name', help='Node name to request information')