ROS Quickstart Guide (#13553)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Francesco Mattioli 2024-06-19 01:54:19 +02:00 committed by GitHub
parent 6bddeda34b
commit f22d2d9546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 397 additions and 19 deletions

View file

@ -60,7 +60,8 @@ This example shows a Google-style docstring. Note that both input and output `ty
```python
def example_function(arg1, arg2=4):
"""
This example shows a Google-style docstring. Note that both input and output `types` must always be enclosed by parentheses, i.e., `(bool)`.
This example shows a Google-style docstring. Note that both input and output `types` must always be enclosed by
parentheses, i.e., `(bool)`.
Args:
arg1 (int): The first argument.
@ -84,7 +85,8 @@ This example shows both a Google-style docstring and argument and return type hi
```python
def example_function(arg1: int, arg2: int = 4) -> bool:
"""
This example shows both a Google-style docstring and argument and return type hints, though both are not required; one can be used without the other.
This example shows both a Google-style docstring and argument and return type hints, though both are not required;
one can be used without the other.
Args:
arg1: The first argument.