docs: add clarification on set_rates rotation directions

This commit is contained in:
Oleg Kalachev
2020-12-05 04:27:44 +03:00
parent b71e802a2e
commit c3cbc305c3
2 changed files with 4 additions and 0 deletions

View File

@@ -295,6 +295,8 @@ Parameters:
* `thrust` — throttle level, ranges from 0 (no throttle, propellers are stopped) to 1 (full throttle).
* `auto_arm` switch the drone to `OFFBOARD` and arm automatically (**the drone will take off**);
The positive direction of `yaw_rate` rotation (when viewed from the top) is counterclockwise,`pitch_rate` rotation is forward, `roll_rate` rotation is to the left.
### land
Switch the drone to landing [mode](modes.md) (`AUTO.LAND` or similar).

View File

@@ -295,6 +295,8 @@ set_velocity(vx=0.4, vy=0.0, vz=0, yaw=float('nan'), yaw_rate=0.4, frame_id='bod
* `thrust` уровень газа от 0 (нет газа, пропеллеры остановлены) до 1 (полный газ).
* `auto_arm` перевести коптер в `OFFBOARD` и заармить автоматически (**коптер взлетит**);
Положительное направление вращения `yaw_rate` (при виде сверху) против часовой, `pitch_rate` вперед, `roll_rate` влево.
### land
Перевести коптер в [режим](modes.md) посадки (`AUTO.LAND` или аналогичный).