docs: make markdownlint happy

This commit is contained in:
Oleg Kalachev
2019-05-13 06:27:56 +03:00
parent beca5f25e9
commit 9f4df86cae
25 changed files with 52 additions and 28 deletions

View File

@@ -274,6 +274,23 @@ set_mode(custom_mode='STABILIZED')
### # {#flip}
Флип:
Флип по крену:
TODO
```python
def flip():
start = get_telemetry() # memorize starting position
set_rates(roll_rate=5, thrust=0.2) # maximum roll rate
while True:
telem = get_telemetry()
if abs(telem.roll) > math.pi / 2:
break
set_position(x=start.x, y=start.y, z=start.z, yaw=start.yaw) # finish flip
print navigate(z=4, speed=1, auto_arm=True) # take off
rospy.sleep(10)
rospy.loginfo('flip')
flip()
```