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

Method count

dronekit/__init__.py:2722–2728  ·  view source on GitHub ↗

Return number of waypoints. :return: The number of waypoints in the sequence.

(self)

Source from the content-addressed store, hash-verified

2720
2721 @property
2722 def count(self):
2723 '''
2724 Return number of waypoints.
2725
2726 :return: The number of waypoints in the sequence.
2727 '''
2728 return max(self._vehicle._wploader.count() - 1, 0)
2729
2730 @property
2731 def next(self):

Callers

nothing calls this directly

Calls 1

countMethod · 0.45

Tested by

no test coverage detected