File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 28
28
- name : Install pip
29
29
run : sudo apt-get install -y python3-pip
30
30
31
+ - name : Check style
32
+ run : |
33
+ python3 -m pip install pycodestyle
34
+ export PATH=$PATH:$HOME/.local/bin
35
+ pycodestyle examples/*
36
+
31
37
- name : Install prerequisites
32
38
run : |
33
39
python3 -m pip install -r requirements.txt -r requirements-dev.txt -r requirements-docs.txt
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ async def run():
28
28
asyncio .ensure_future (observe_camera_mode (drone ))
29
29
asyncio .ensure_future (observe_possible_setting_options (drone ))
30
30
31
- while ( True ) :
31
+ while True :
32
32
entered_input = await ainput (usage_str )
33
33
34
34
if (entered_input == "p" ):
Original file line number Diff line number Diff line change 7
7
async def run ():
8
8
# Init the drone
9
9
drone = System ()
10
- await drone .connect ()
10
+ await drone .connect (system_address = "udp://:14540" )
11
11
12
12
# Start the tasks
13
13
asyncio .ensure_future (print_battery (drone ))
You can’t perform that action at this time.
0 commit comments