docs: add note about flying relative to a marker in the map

This commit is contained in:
Oleg Kalachev
2019-09-15 17:53:15 +03:00
parent e1a11bd70a
commit 45356b19a9
2 changed files with 14 additions and 0 deletions

View File

@@ -120,6 +120,13 @@ time.sleep(5)
navigate(2, 2, 2, speed=1, frame_id='aruco_map')
```
Starting from the [image](image.md) version 0.18, the drone also can fly relative to a marker in the map, even if it doesn't see it:
```python
# Fly to 1 meter above the marker 5
navigate(frame_id='aruco_5', x=0, y=0, z=1)
```
## Additional settings
If the drone's position is not stable when VPE is used, try increasing the *P* term in the velocity PID regulator: increase the `MPC_XY_VEL_P` and `MPC_Z_VEL_P` parameters.

View File

@@ -128,6 +128,13 @@ time.sleep(5)
navigate(2, 2, 2, speed=1, frame_id='aruco_map') # полет в координату 2:2, высота 3 метра
```
Начиная с версии [образа](image.md) 0.18, доступны также полеты относительно отдельного маркера в карте, даже если дрон его не видит:
```python
# Полет на высоту 1 м над маркером 5
navigate(frame_id='aruco_5', x=0, y=0, z=1)
```
## Дополнительные настройки
<!-- TODO: статья по пидам -->