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

Method track

examples/drone_delivery/drone_delivery.py:182–187  ·  view source on GitHub ↗
(self, current_coords)

Source from the content-addressed store, hash-verified

180 return self.get_template('index')
181
182 def track(self, current_coords):
183 self.options = self.get_options()
184 self.options['current_url'] = '/track'
185 self.options['current_coords'] = current_coords
186 self.options['json'] = simplejson.dumps(self.options)
187 return self.get_template('track')
188
189 def command(self, current_coords):
190 self.options = self.get_options()

Callers 1

trackMethod · 0.45

Calls 2

get_optionsMethod · 0.95
get_templateMethod · 0.95

Tested by

no test coverage detected