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

Method command

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

Source from the content-addressed store, hash-verified

187 return self.get_template('track')
188
189 def command(self, current_coords):
190 self.options = self.get_options()
191 self.options['current_url'] = '/command'
192 self.options['current_coords'] = current_coords
193 return self.get_template('command')
194
195 def get_template(self, file_name):
196 template = self.environment.get_template(file_name + '.html')

Callers 1

commandMethod · 0.45

Calls 2

get_optionsMethod · 0.95
get_templateMethod · 0.95

Tested by

no test coverage detected