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

Method vehicle

examples/drone_delivery/drone_delivery.py:215–216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

213 @cherrypy.expose
214 @cherrypy.tools.json_out()
215 def vehicle(self):
216 return dict(position=self.drone.get_location())
217
218 @cherrypy.expose
219 def track(self, lat=None, lon=None):

Callers

nothing calls this directly

Calls 1

get_locationMethod · 0.80

Tested by

no test coverage detected