Classes | |
| class | FlightDataDisplay |
Functions | |
| def | flight_data_mode (drone, args) |
| def | flight_data_recording (args) |
| def | flightDataHandler (event, sender, data) |
| def | handleFileReceived (event, sender, data) |
| def | main () |
| def | palm_land (drone, speed) |
| def | status_print (text) |
| def | take_picture (drone, speed) |
| def | toggle_recording (drone, speed) |
| def | toggle_zoom (drone, speed) |
| def | update_hud (hud, drone, flight_data) |
| def | videoFrameHandler (event, sender, data) |
Variables | |
| dictionary | controls |
| string | date_fmt = '%Y-%m-%d_%H%M%S' |
| font = None | |
| list | hud |
| prev_flight_data = None | |
| video_player = None | |
| video_recorder = None | |
| wid = None | |
tellopy sample using keyboard and video player Requires mplayer to record/save video. Controls: - tab to lift off - WASD to move the drone - space/shift to ascend/descent slowly - Q/E to yaw slowly - arrow keys to ascend, descend, or yaw quickly - backspace to land, or P to palm-land - enter to take a picture - R to start recording video, R again to stop recording (video and photos will be saved to a timestamped file in ~/Pictures/) - Z to toggle camera zoom state (zoomed-in widescreen or high FOV 4:3)
| def tellopy.examples.keyboard_and_video.flight_data_mode | ( | drone, | |
| args | |||
| ) |
Definition at line 141 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.flight_data_recording | ( | args | ) |
Definition at line 144 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.flightDataHandler | ( | event, | |
| sender, | |||
| data | |||
| ) |
Definition at line 177 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.handleFileReceived | ( | event, | |
| sender, | |||
| data | |||
| ) |
Definition at line 206 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.main | ( | ) |
Definition at line 216 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.palm_land | ( | drone, | |
| speed | |||
| ) |
Definition at line 74 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.status_print | ( | text | ) |
Definition at line 165 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.take_picture | ( | drone, | |
| speed | |||
| ) |
Definition at line 69 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.toggle_recording | ( | drone, | |
| speed | |||
| ) |
Definition at line 43 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.toggle_zoom | ( | drone, | |
| speed | |||
| ) |
Definition at line 79 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.update_hud | ( | hud, | |
| drone, | |||
| flight_data | |||
| ) |
Definition at line 147 of file keyboard_and_video.py.
| def tellopy.examples.keyboard_and_video.videoFrameHandler | ( | event, | |
| sender, | |||
| data | |||
| ) |
Definition at line 184 of file keyboard_and_video.py.
| dictionary tellopy.examples.keyboard_and_video.controls |
Definition at line 93 of file keyboard_and_video.py.
| string tellopy.examples.keyboard_and_video.date_fmt = '%Y-%m-%d_%H%M%S' |
Definition at line 41 of file keyboard_and_video.py.
| tellopy.examples.keyboard_and_video.font = None |
Definition at line 39 of file keyboard_and_video.py.
| list tellopy.examples.keyboard_and_video.hud |
Definition at line 168 of file keyboard_and_video.py.
| tellopy.examples.keyboard_and_video.prev_flight_data = None |
Definition at line 36 of file keyboard_and_video.py.
| tellopy.examples.keyboard_and_video.video_player = None |
Definition at line 37 of file keyboard_and_video.py.
| tellopy.examples.keyboard_and_video.video_recorder = None |
Definition at line 38 of file keyboard_and_video.py.
| tellopy.examples.keyboard_and_video.wid = None |
Definition at line 40 of file keyboard_and_video.py.