Add column with distance to stationary target
add_dist(df, ref_position)
Arguments
- df
A movement dataframe(must contain standard trajectory
columns, i.e. "pos_x", "pos_y", "pos_z").
- ref_position
Reference position, stored as a list
containing "pos_x", "pos_z" items.