mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
docs: angle to horizon
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user