docs: angle to horizon

This commit is contained in:
Oleg Kalachev
2018-04-12 18:38:34 +03:00
parent d9e0c94797
commit 462e7d6ffe

View File

@@ -57,6 +57,16 @@ while True:
---
Рассчет общего угла коптера к горизонту:
```python
telem = get_telemetry()
angle_to_horizon = math.atan(math.hypot(math.tan(telem.pitch), math.tan(telem.roll)))
```
---
Запуск полётной программы с пульта:
```python