mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 14:48:54 +08:00
New Crowdin translations - uk (#24828)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
co-authored by
Crowdin Bot
parent
a8618691f0
commit
d04d6af696
@@ -35,23 +35,31 @@ ARGS ./build/px4_sitl_default/bin/px4 [-i <instance>]
|
||||
[Multiple vehicles with ROS 2](../ros2/multi_vehicle.md) are possible.
|
||||
|
||||
- First follow the installation instructions for [Gazebo](../sim_gazebo_gz/index.md).
|
||||
|
||||
- Then configure your system for [ROS 2 / PX4 operations](../ros2/user_guide.md#installation-setup).
|
||||
|
||||
- В різних терміналах вручну запустіть симуляцію декількох рухомих засобів.
|
||||
Цей приклад відтворює 2 квадрокоптери X500 та літак з фіксованим крилом aFPX:
|
||||
This example spawns 2 X500 Quadrotors and aFPX fixed-wing.
|
||||
|
||||
```sh
|
||||
PX4_SYS_AUTOSTART=4001 PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 1
|
||||
```
|
||||
:::info
|
||||
Note that in the first terminal you **do not** specify standalone mode. The first terminal will start the gz-server and the other two
|
||||
instances will connect to it.
|
||||
**Terminal 1**
|
||||
:::
|
||||
|
||||
```sh
|
||||
PX4_SYS_AUTOSTART=4001 PX4_GZ_MODEL_POSE="0,1" PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 2
|
||||
```
|
||||
```sh
|
||||
PX4_SYS_AUTOSTART=4001 PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 1
|
||||
```
|
||||
|
||||
```sh
|
||||
PX4_SYS_AUTOSTART=4003 PX4_GZ_MODEL_POSE="0,2" PX4_SIM_MODEL=gz_rc_cessna ./build/px4_sitl_default/bin/px4 -i 3
|
||||
```
|
||||
**Terminal 2**
|
||||
|
||||
```sh
|
||||
PX4_GZ_STANDALONE=1 PX4_SYS_AUTOSTART=4001 PX4_GZ_MODEL_POSE="0,1" PX4_SIM_MODEL=gz_x500 ./build/px4_sitl_default/bin/px4 -i 2
|
||||
```
|
||||
|
||||
**Terminal 3**
|
||||
|
||||
```sh
|
||||
PX4_GZ_STANDALONE=1 PX4_SYS_AUTOSTART=4003 PX4_GZ_MODEL_POSE="0,2" PX4_SIM_MODEL=gz_rc_cessna ./build/px4_sitl_default/bin/px4 -i 3
|
||||
```
|
||||
|
||||
- Запустіть агента:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user