mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
docs(i18n): PX4 guide translations (Crowdin) - ko (#28765)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
1 parent
2750a9bd27
commit
98fefd3beb
162 files changed
+2460
-1254
No files matched your search
@@ -189,6 +189,27 @@ You can also list all configuration targets using the command:
|
||||
make list_config_targets
|
||||
```
|
||||
|
||||
## Submodules
|
||||
|
||||
PX4 pulls a number of libraries (NuttX, MAVLink, and others) in as git submodules.
|
||||
Each build checks them once when it configures:
|
||||
|
||||
| Submodule state | Local build | CI (`CI=true`) |
|
||||
| ------------------------------------------------------------------------------------------ | ------------------------- | --------------------------------- |
|
||||
| At the commit PX4 records | Builds | Builds |
|
||||
| Missing | Fetched, then builds | Fetched, then builds |
|
||||
| At another commit (e.g. you changed it) | Warns, builds it as it is | Fails |
|
||||
|
||||
A submodule at another commit is never reset, so you can develop and test changes to a submodule (for example a NuttX upgrade) in place.
|
||||
The build warns about it every time, and you are responsible for keeping it in the state you want.
|
||||
To check out the commits PX4 records (for example after switching branches), run:
|
||||
|
||||
```sh
|
||||
git submodule sync --recursive && git submodule update --init --recursive
|
||||
```
|
||||
|
||||
Set `GIT_SUBMODULES_ARE_EVIL=1` to skip the check entirely and manage submodules yourself.
|
||||
|
||||
## 그래픽 IDE에서의 컴파일
|
||||
|
||||
[VSCode](../dev_setup/vscode.md) is the officially supported (and recommended) IDE for PX4 development.
|
||||
@@ -303,10 +324,10 @@ make list_config_targets
|
||||
|
||||
**VIEWER_MODEL_DEBUGGER_WORLD:**
|
||||
|
||||
- **VIEWER:** This is the simulator ("viewer") to launch and connect: `gz`, `gazebo`, `jmavsim`, `none` <!-- , ?airsim -->
|
||||
- **VIEWER:** This is the simulator ("viewer") to launch and connect: `gz`, `gazebo`, `none` <!-- , ?airsim -->
|
||||
|
||||
:::tip
|
||||
`none` can be used if you want to launch PX4 and wait for a simulator (jmavsim, Gazebo, Gazebo Classic, or some other simulator).
|
||||
`none` can be used if you want to launch PX4 and wait for a simulator (Gazebo, Gazebo Classic, or some other simulator).
|
||||
For example, `make px4_sitl none_iris` launches PX4 without a simulator (but with the iris airframe).
|
||||
|
||||
:::
|
||||
@@ -329,7 +350,7 @@ make list_config_targets
|
||||
- 두 개의 다른 설정 사이에 기본값을 지정하려는 경우에는, 세 개의 밑줄을 사용할 수 있습니다.
|
||||
For example, `gazebo-classic___gdb` is equivalent to `gazebo-classic_iris_gdb`.
|
||||
- You can use a `none` value for `VIEWER_MODEL_DEBUGGER` to start PX4 and wait for a simulator.
|
||||
For example start PX4 using `make px4_sitl_default none` and jMAVSim using `./Tools/simulation/jmavsim/jmavsim_run.sh -l`.
|
||||
For example start PX4 using `make px4_sitl_default none` and then start your simulator.
|
||||
|
||||
:::
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ See [Toolchain Installation](../dev_setup/dev_env.md) for information about the
|
||||
|
||||
The PX4-Autopilot repository provides a convenient script to set your Arch installation up for PX4 development: [Tools/setup/arch.sh](https://github.com/PX4/PX4-Autopilot/blob/main/Tools/setup/arch.sh). <!-- NEED px4_version -->
|
||||
|
||||
The script installs (by default) all tools to build PX4 for NuttX targets and run simulation with [JMAVSim](../sim_jmavsim/index.md).
|
||||
The script installs (by default) all tools to build PX4 for NuttX targets and run simulation with [SIH](../sim_sih/index.md).
|
||||
You can additionally install the [Gazebo Classic](../sim_gazebo_classic/index.md) simulator by specifying the command line argument: `--gazebo`.
|
||||
|
||||

|
||||
@@ -47,4 +47,4 @@ The instructions have been tested on [Manjaro](https://manjaro.org/) (Arch based
|
||||
|
||||
- `--no-nuttx`: Do not install the NuttX/Pixhawk toolchain (i.e. if only using simulation).
|
||||
|
||||
- `--no-sim-tools`: Do not install jMAVSim/Gazebo (i.e. if only targeting Pixhawk/NuttX targets)
|
||||
- `--no-sim-tools`: Do not install the simulation dependencies (i.e. if only targeting Pixhawk/NuttX targets)
|
||||
@@ -1,6 +1,6 @@
|
||||
# 우분투 개발 환경
|
||||
|
||||
The following instructions use a bash script to set up the PX4 development environment on the [Ubuntu Linux LTS](https://wiki.ubuntu.com/LTS) versions supported by PX4: Ubuntu 24.04 (Nimble Numbat) and Ubuntu 22.04 (Jammy Jellyfish).
|
||||
The following instructions use a bash script to set up the PX4 development environment on the [Ubuntu Linux LTS](https://ubuntu.com/about/release-cycle) versions supported by PX4: Ubuntu 24.04 (Nimble Numbat) and Ubuntu 22.04 (Jammy Jellyfish).
|
||||
|
||||
The environment includes:
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ To build for [other targets](../dev_setup/dev_env.md#supported-targets) you will
|
||||
|
||||
::: info
|
||||
The script installs from third-party Homebrew taps and marks them as trusted (`brew trust`) on Homebrew 6.0 and later, which refuses to load formulae from untrusted taps.
|
||||
With `--sim-tools` it will prompt for your password, since the XQuartz installer and the JDK link into `/Library/Java/JavaVirtualMachines` need `sudo`.
|
||||
With `--sim-tools` it will prompt for your password.
|
||||
|
||||
:::
|
||||
|
||||
@@ -88,6 +88,12 @@ To build for [other targets](../dev_setup/dev_env.md#supported-targets) you will
|
||||
|
||||
The `--sim-tools` flag installs Gazebo and the libraries PX4's simulation modules build against.
|
||||
|
||||
Gazebo does not come from Homebrew.
|
||||
The script installs it from a locked [conda-forge](https://conda-forge.org/) environment, using [pixi](https://pixi.sh), into `Tools/setup/macos/.pixi`.
|
||||
The lock file pins every package, so the install does not change when Homebrew updates its own Gazebo dependencies.
|
||||
The build and the `make px4_sitl gz_*` targets find it on their own, like the `.venv`.
|
||||
Activating `.venv` also puts it on your `PATH`, which you only need to run `gz` commands directly.
|
||||
|
||||
If you skipped `--sim-tools` during initial setup and want to add simulation later, re-run the setup script with the flag (it is safe to run repeatedly):
|
||||
|
||||
```sh
|
||||
@@ -111,7 +117,7 @@ arm-none-eabi-gcc --version
|
||||
cmake --version
|
||||
ninja --version
|
||||
|
||||
# Gazebo (if --sim-tools was used)
|
||||
# Gazebo (if --sim-tools was used, with .venv activated)
|
||||
gz sim --versions
|
||||
```
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ See [Toolchain Installation](../dev_setup/dev_env.md) for information about the
|
||||
PX4 빌드에 사용되어 집니다.
|
||||
|
||||
- Pixhawk와 기타 NuttX 기반 하드웨어
|
||||
- [jMAVSim Simulation](../sim_jmavsim/index.md)
|
||||
- jMAVSim simulation (removed from PX4, see the note in [Getting Started](#getting-started))
|
||||
|
||||
<a id="installation"></a>
|
||||
|
||||
@@ -73,6 +73,12 @@ The toolchain uses a specially configured console window (started by running the
|
||||
|
||||
4. For example, to run JMAVSim:
|
||||
|
||||
::: info
|
||||
jMAVSim has been removed from PX4, so this example only works with PX4 versions that still include it.
|
||||
Current PX4 uses [SIH](../sim_sih/index.md) with the [Hawkeye](../sim_hawkeye/index.md) visualizer instead.
|
||||
|
||||
:::
|
||||
|
||||
```sh
|
||||
# Navigate to PX4-Autopilot repo
|
||||
cd Firmware
|
||||
|
||||
@@ -13,7 +13,7 @@ Windows 개발자는 Linux를 게스트 운영 체제로 사용하는 가상 머
|
||||
가상 머신을 사용하는 것은 펌웨어 구축 환경을 설정과 테스트가 매우 편리하지만, 사용자는 다음 사항에 유의하여야 합니다.
|
||||
|
||||
1. 펌웨어 빌드는 Linux에서 빌드하는 것보다 조금 느립니다.
|
||||
2. The JMAVSim simulation, frame rate be much slower than on native Linux.
|
||||
2. Simulation frame rates will be much slower than on native Linux.
|
||||
경우에 따라서, 가상 머신 리소스 부족과 관련된 문제로 차량이 충돌할 수 있습니다.
|
||||
3. Gazebo와 ROS는 설치할 수 있지만, 사용할 수 없을 정도로 느립니다.
|
||||
|
||||
@@ -41,7 +41,7 @@ VMWare performance is acceptable for basic usage (building Firmware) but not for
|
||||
5. Enable 3D acceleration in the VM's settings: **VM > Settings > Hardware > Display > Accelerate 3D graphics**
|
||||
|
||||
::: info
|
||||
This option is required to properly run 3D simulation environments like jMAVSim and Gazebo Classic.
|
||||
This option is required to properly run 3D simulation environments like Gazebo and Gazebo Classic.
|
||||
가상 환경에 Linux를 설치하기 전에 이 작업을 수행하는 것이 좋습니다.
|
||||
|
||||
:::
|
||||
|
||||
@@ -140,7 +140,7 @@ GIT_COMMON_DIR=$(git rev-parse --path-format=absolute --git-common-dir)
|
||||
docker run --rm -it \
|
||||
-v "$SOURCE:$SOURCE" -v "$GIT_COMMON_DIR:$GIT_COMMON_DIR" -w "$SOURCE" \
|
||||
-e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory \
|
||||
-e "GIT_CONFIG_VALUE_0=$SOURCE" px4-dev-ros2:local bash
|
||||
-e "GIT_CONFIG_VALUE_0=*" px4-dev-ros2:local bash
|
||||
```
|
||||
|
||||
The same absolute mounts support both ordinary checkouts and git worktrees.
|
||||
@@ -196,6 +196,24 @@ Already installed Ubuntu/ROS Python versions are constrained during installation
|
||||
The SIH image does not acquire Gazebo or the NuttX toolchain.
|
||||
Installing the complete source-build toolset increases cold image-build time and size; existing native architecture and incremental cache boundaries remain in use.
|
||||
|
||||
## Testing A PX4 Checkout With ROS and Gazebo
|
||||
|
||||
The `ghcr.io/px4/px4-dev-ros2-gazebo` image extends `ghcr.io/px4/px4-dev-ros2` by calling `Tools/setup/ubuntu.sh --no-nuttx` and therefore installing Gz Harmonic.
|
||||
This allows to test PX4 changes in Gazebo.
|
||||
To build the image locally and the start the container to build PX4, run
|
||||
|
||||
```sh
|
||||
bash Tools/packaging/containers/prepare_context.sh
|
||||
ROS_DISTRO=jazzy docker buildx bake -f Tools/packaging/containers/docker-bake.hcl ros2-gazebo-dev \
|
||||
--set ros2-gazebo-dev.tags=px4-dev-ros2-gazebo:local --load
|
||||
SOURCE=$(pwd -P)
|
||||
GIT_COMMON_DIR=$(git rev-parse --path-format=absolute --git-common-dir)
|
||||
docker run --rm -it \
|
||||
-v "$SOURCE:$SOURCE" -v "$GIT_COMMON_DIR:$GIT_COMMON_DIR" -w "$SOURCE" \
|
||||
-e GIT_CONFIG_COUNT=1 -e GIT_CONFIG_KEY_0=safe.directory \
|
||||
-e "GIT_CONFIG_VALUE_0=*" px4-dev-ros2-gazebo:local bash
|
||||
```
|
||||
|
||||
## Container SBOMs
|
||||
|
||||
The publishing workflow enables BuildKit's standard SBOM attestations for both runtime and ROS images.
|
||||
|
||||
Reference in new issue
Block a user