MCPcopy Index your code
hub / github.com/dronekit/dronekit-python / stop_threads

Method stop_threads

dronekit/mavlink.py:116–122  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114class MAVConnection(object):
115
116 def stop_threads(self):
117 if self.mavlink_thread_in is not None:
118 self.mavlink_thread_in.join()
119 self.mavlink_thread_in = None
120 if self.mavlink_thread_out is not None:
121 self.mavlink_thread_out.join()
122 self.mavlink_thread_out = None
123
124 def __init__(self, ip, baud=115200, target_system=0, source_system=255, use_native=False):
125 if ip.startswith("udpin:"):

Callers 2

onexitMethod · 0.95
closeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected