MCPcopy
hub / github.com/dronekit/dronekit-python / __setitem__

Method __setitem__

dronekit/__init__.py:2763–2765  ·  view source on GitHub ↗
(self, index, value)

Source from the content-addressed store, hash-verified

2761 raise TypeError('Invalid argument type.')
2762
2763 def __setitem__(self, index, value):
2764 self._vehicle._wploader.set(value, index + 1)
2765 self._vehicle._wpts_dirty = True
2766
2767
2768from dronekit.mavlink import MAVConnection

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected