Calculate 2D Euclidean distance between two positions

calculate_2d_dist(target_x, target_z, ref_x = 0, ref_z = 0)

Arguments

target_x

Vector of target x positions

target_z

Vector of target y positions

ref_x

Vector of reference x positions (default: origin)

ref_z

Vector of reference y positions (default: origin)