movingpandas.Trajectory.add_angular_difference#

Trajectory.add_angular_difference(overwrite=False, name='angular_difference')#

Add angular difference to the trajectory’s DataFrame.

Angular difference is calculated as the absolute smaller angle between direction for points along the trajectory. Values are [0, 180.0]