pysted.temporal.Polygon.add_node

Polygon.add_node(node, pos='tail')

Methods that implements adding a node to the current nodes.

We copy the speed and acc of next node

Parameters:
  • node – A (y, x) coordinates of the node to add

  • pos – (Optional) Where to add the node. Should be in {“tail”, “head”}