mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-03-27 01:12:18 +08:00
New Crowdin translations - uk (#24548)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
@@ -105,7 +105,7 @@ In reality, this needs some empirical tuning since delays in the entire MoCap->P
|
||||
Приблизну оцінку затримки можна отримати з логів, перевіривши зсув між частотами IMU та EV.
|
||||
To enable logging of EV rates set bit 7 (Computer Vision and Avoidance) of [SDLOG_PROFILE](../advanced_config/parameter_reference.md#SDLOG_PROFILE).
|
||||
|
||||

|
||||

|
||||
|
||||
:::info
|
||||
A plot of external data vs. onboard estimate (as above) can be generated using [FlightPlot](../log/flight_log_analysis.md#flightplot) or similar flight analysis tools.
|
||||
|
||||
@@ -110,7 +110,7 @@ Follow _Source Installation_ instructions from [mavlink/mavros](https://github.c
|
||||
|
||||
- `PX4-Autopilot/src/modules/mavlink/mavlink/message_definitions/v1.0`
|
||||
- `workspace/src/mavlink/message_definitions/v1.0`
|
||||
are exactly the same.
|
||||
are exactly the same.
|
||||
|
||||
:::
|
||||
|
||||
|
||||
@@ -150,21 +150,21 @@ $ wstool init ~/catkin_ws/src
|
||||
|
||||
- Випущений реліз/стабільний
|
||||
|
||||
```sh
|
||||
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
```sh
|
||||
rosinstall_generator --upstream mavros | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
|
||||
- Найновіше джерело
|
||||
|
||||
```sh
|
||||
rosinstall_generator --upstream-development mavros | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
```sh
|
||||
rosinstall_generator --upstream-development mavros | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
|
||||
```sh
|
||||
# For fetching all the dependencies into your catkin_ws,
|
||||
# just add '--deps' to the above scripts, E.g.:
|
||||
# rosinstall_generator --upstream mavros --deps | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
```sh
|
||||
# For fetching all the dependencies into your catkin_ws,
|
||||
# just add '--deps' to the above scripts, E.g.:
|
||||
# rosinstall_generator --upstream mavros --deps | tee -a /tmp/mavros.rosinstall
|
||||
```
|
||||
|
||||
3. Create workspace & deps
|
||||
|
||||
|
||||
@@ -25,37 +25,37 @@ Other examples in Python can be found here: [integrationtests/python_src/px4_it/
|
||||
|
||||
1. Open the terminal and go to `~/catkin_ws/src` directory
|
||||
|
||||
```sh
|
||||
roscd # Should cd into ~/catkin_ws/devel
|
||||
cd ..
|
||||
cd src
|
||||
```
|
||||
```sh
|
||||
roscd # Should cd into ~/catkin_ws/devel
|
||||
cd ..
|
||||
cd src
|
||||
```
|
||||
|
||||
2. In the `~/catkin_ws/src` directory create a new package named `offboard_py` (in this case) with the `rospy` dependency:
|
||||
|
||||
```sh
|
||||
catkin_create_pkg offboard_py rospy
|
||||
```
|
||||
```sh
|
||||
catkin_create_pkg offboard_py rospy
|
||||
```
|
||||
|
||||
3. Build the new package in the `~/catkin_ws/` directory:
|
||||
|
||||
```sh
|
||||
cd .. # Assuming previous directory to be ~/catkin_ws/src
|
||||
catkin build
|
||||
source devel/setup.bash
|
||||
```
|
||||
```sh
|
||||
cd .. # Assuming previous directory to be ~/catkin_ws/src
|
||||
catkin build
|
||||
source devel/setup.bash
|
||||
```
|
||||
|
||||
4. Тепер ви можете мати можливість перейти до пакета, використовуючи:
|
||||
|
||||
```sh
|
||||
```
|
||||
```sh
|
||||
```
|
||||
|
||||
5. To store your Python files, create a new folder called `/scripts` on the package:
|
||||
|
||||
```sh
|
||||
mkdir scripts
|
||||
cd scripts
|
||||
```
|
||||
```sh
|
||||
mkdir scripts
|
||||
cd scripts
|
||||
```
|
||||
|
||||
## Код
|
||||
|
||||
|
||||
Reference in New Issue
Block a user