Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(ru): add solution for HTTP/2 network errors on px4-autopilot clone #509

Merged
merged 6 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/en/simulation_native.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ ln -s ~/PX4-Autopilot/mavlink ~/catkin_ws/src/

> **Hint** You may use more recent PX4 version, but there would be more risk of something would not be working.

<!-- -->

> **Note** If clone fails with network error (`fatal: fetch-pack: invalid index-pack output`), set HTTP version 1.1 using `git config --global http.version HTTP/1.1` command (don't forget to return it back after clone using `git config --global http.version HTTP/2`). Alternative solution is cloning the repository and submodules through SSH using `git config --global url."[email protected]:".insteadOf https://github.com/` command (requires setting up valid SSH key in GitHub profile settings).

## Install PX4 prerequisites

PX4 comes with its own script for dependency installation. We may as well leverage it:
Expand Down
4 changes: 4 additions & 0 deletions docs/ru/simulation_native.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ ln -s ~/PX4-Autopilot/mavlink ~/catkin_ws/src/

> **Hint** Вы можете использовать более позднюю версию PX4 с большим риском, что что-то не заработает.

<!-- -->

> **Note** Если процесс клонирования завершится с ошибкой сети (`fatal: fetch-pack: invalid index-pack output`), используйте версию HTTP 1.1 `git config --global http.version HTTP/1.1` (после клонирования верните 2 версию командой `git config --global http.version HTTP/2`). Альтернативным решением будет принудительное клонирование репозитория и субмодулей через SSH командой `git config --global url."[email protected]:".insteadOf https://github.com/` (требует генерации и установки SSH ключа в настройках профиля GitHub).

## Установка зависимостей PX4

PX4 имеет свой собственный скрипт для установки зависимостей. Воспользуемся им:
Expand Down
Loading