Classes | |
class | JoystickF310 |
class | JoystickPS3 |
class | JoystickPS4 |
class | JoystickPS4ALT |
class | JoystickTARANIS |
class | JoystickXONE |
Functions | |
def | draw_text (image, text, row) |
def | handle_input_event (drone, e) |
def | handler (event, sender, data, args) |
def | main () |
def | recv_thread (drone) |
def | update (old, new, max_delta=0.3) |
Variables | |
buttons = None | |
flight_data = None | |
log_data = None | |
new_image = None | |
float | pitch = 0.0 |
prev_flight_data = None | |
float | roll = 0.0 |
bool | run_recv_thread = True |
int | speed = 100 |
float | throttle = 0.0 |
float | yaw = 0.0 |
def tellopy.examples.joystick_and_video.draw_text | ( | image, | |
text, | |||
row | |||
) |
Definition at line 323 of file joystick_and_video.py.
def tellopy.examples.joystick_and_video.handle_input_event | ( | drone, | |
e | |||
) |
Definition at line 244 of file joystick_and_video.py.
def tellopy.examples.joystick_and_video.handler | ( | event, | |
sender, | |||
data, | |||
args | |||
) |
Definition at line 220 of file joystick_and_video.py.
def tellopy.examples.joystick_and_video.main | ( | ) |
Definition at line 375 of file joystick_and_video.py.
def tellopy.examples.joystick_and_video.recv_thread | ( | drone | ) |
Definition at line 339 of file joystick_and_video.py.
def tellopy.examples.joystick_and_video.update | ( | old, | |
new, | |||
max_delta = 0.3 |
|||
) |
Definition at line 236 of file joystick_and_video.py.
tellopy.examples.joystick_and_video.buttons = None |
Definition at line 213 of file joystick_and_video.py.
tellopy.examples.joystick_and_video.flight_data = None |
Definition at line 211 of file joystick_and_video.py.
tellopy.examples.joystick_and_video.log_data = None |
Definition at line 212 of file joystick_and_video.py.
tellopy.examples.joystick_and_video.new_image = None |
Definition at line 210 of file joystick_and_video.py.
float tellopy.examples.joystick_and_video.pitch = 0.0 |
Definition at line 217 of file joystick_and_video.py.
tellopy.examples.joystick_and_video.prev_flight_data = None |
Definition at line 208 of file joystick_and_video.py.
float tellopy.examples.joystick_and_video.roll = 0.0 |
Definition at line 218 of file joystick_and_video.py.
bool tellopy.examples.joystick_and_video.run_recv_thread = True |
Definition at line 209 of file joystick_and_video.py.
int tellopy.examples.joystick_and_video.speed = 100 |
Definition at line 214 of file joystick_and_video.py.
float tellopy.examples.joystick_and_video.throttle = 0.0 |
Definition at line 215 of file joystick_and_video.py.
float tellopy.examples.joystick_and_video.yaw = 0.0 |
Definition at line 216 of file joystick_and_video.py.