docs: add link to selfcheck utility to programming article

This commit is contained in:
Oleg Kalachev
2021-04-13 10:58:20 +03:00
parent 200c5dea57
commit f825901a19
2 changed files with 18 additions and 2 deletions

View File

@@ -34,7 +34,15 @@ Read more in the [GPS connection](gps.md) article.
> **Info** For studying Python programming language, see [tutorial](https://www.learnpython.org/en/Welcome).
After you've configured your positioning system, you can start writing programs for autonomous flights. Use the [SSH connection to the Raspberry Pi](ssh.md) to run your scripts. In order to run a Python script use the `python` command:
After you've configured your positioning system, you can start writing programs for autonomous flights. Use the [SSH connection to the Raspberry Pi](ssh.md) to run your scripts.
Before the first flight it's recommended to check the Clover's configuration with [selfcheck.py utility](selfcheck.md):
```bash
rosrun clover selfcheck.py
```
In order to run a Python script use the `python` command:
```bash
python flight.py

View File

@@ -34,7 +34,15 @@
> **Info** Для изучения языка программирования Python вы можете обратиться к [самоучителю](https://pythonworld.ru/samouchitel-python).
После настройки системы позиционирования становится возможным написание скриптов для автономных полетов. Для выполнения скриптов [подключитесь в Raspberry Pi по SSH](ssh.md). Для того, чтобы запустить Python-скрипт, используйте команду `python`:
После настройки системы позиционирования становится возможным написание скриптов для автономных полетов. Для выполнения скриптов [подключитесь в Raspberry Pi по SSH](ssh.md).
Перед первым полетом рекомендуется проверить конфигурацию Клевера при помощи [утилиты selfcheck.py](selfcheck.md):
```bash
rosrun clover selfcheck.py
```
Для того, чтобы запустить Python-скрипт, используйте команду `python`:
```bash
python flight.py